@procore/bim-webviewer-sdk 5.0.0-beta002 → 5.0.0-bling

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,10 +7,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Added
11
+
12
+ - `Isolate` in the Context Menu is now enabled when multiple objects are selected.
13
+
14
+ ### Removed
15
+
16
+ - [Internal][undocumented breaking change] Removed `enableVertexArrayObject` option.
17
+
10
18
  ### Changed
11
19
 
12
20
  - Decreased load time, especially for larger models, by optimizing the way we construct object bounding boxes.
13
- - [Internal] Upgraded ThreeJS from 0.111.0 to 0.143.0, which involved an extensive refactoring of the ShortestDistance function.
21
+ - Eliminate "space junk" when zooming to global view
22
+ - This change only occurs in some situations depending on whether a `bcfCamera` option was provided. More specifically:
23
+ - When a home viewpoint is defined (i.e. a `bcfCamera` option is passed)
24
+ - The model is loaded with the camera at the home viewpoint
25
+ - Clicking the Home button zooms to the home viewpoint
26
+ - `ProcoreBim.camera.zoomToGlobal()` zooms to the refined global bounding box, which is calculated the first time and cached in JS memory for the remainder of the browser session (i.e. it is lost on page reload).
27
+ - When a home viewpoint is NOT defined (i.e. no `bcfCamera` option is passed)
28
+ - The model loads with the camera with the refined global bounding box in view. The refined global bounding box is calculated here, adding to the load time of the model, and then cached in JS memory for the remainder of the browser session (i.e. it is lost on page reload).
29
+ - Clicking the Home button zooms to have the refined global bounding box in view. The refined global bounding box will be cached from when the model was opened.
30
+ - `ProcoreBim.camera.zoomToGlobal()` zooms to the refined global bounding box, which will be cached from when the model was opened.
31
+ - Performance Note: the execution time for eliminating space junk scales with the number of meshnodes in the model. Mostly this cost is incurred at load time, but will be incurred the first time `ProcoreBim.camera.zoomToGlobal()` is called if a `bcfCamera` option was provided.
32
+ - [Internal] Adds stats-js to the dev environment to report on FPS, Frame Duration, Memory Usage.
33
+ - [Internal] Always use Vertex Array Objects.
34
+ - The three.js upgrade made it difficult to continue supporting the non VAO code-path so we are now always using them.
35
+ - [Internal] Refactors Meshnode and Mesh
36
+ - Removes the Procore.propertyIdMap, Procore.meshMap and Procore.meshnodeAttach from ProcoreRenderer;
37
+ - Switches scene graph implementation from bvhtree to kdtree.
38
+ - Improves mouse control:
39
+ - Eliminates the drift when clicking and dragging on the default tool;
40
+ - Improves handling of the mouse leaving the browser and coming back in, by terminating the interaction.
41
+
42
+ ### Fixed
43
+
44
+ - Proper error handling and propagation when any one of the model's binaries exceeds 2GB-1byte in size.
45
+
46
+ ### Added
47
+ - [Internal] Add WebAssembly support.
48
+ - [Internal] Add BVH tree support in WebAssembly.
14
49
 
15
50
  ## [5.0.0] - 2022-08-08
16
51