Releases: cognitedata/reveal
Releases Β· cognitedata/reveal
1.5.4
This version of Reveal depends on ThreeJS r125. Your application should match
the version used to ensure compatibility.
π Bug fixes and enhancements
- fix: apply update to near/far planes every frame to avoid clipping geometry when moving camera near object (#1466) β 16f299c
- chore: bump threejs to v125 (#1464) β e1c1ae1
See installation documentation for
details about installing Reveal.
1.5.3
@cognite/[email protected]
π Bug fixes and enhancements
- regression issue for loading geometry introduced in version 1.5.1
@cognite/[email protected]
@cognite/[email protected]
Reveal 1.5.0 brings a bunch of performance improvements to reduce geometry loaded for complex 3D models and increase rendering performance.
π Features
- feat: allow providing geometryFilter in "model space" (#1416) β 35c4128
- feat: introduce DebugCameraTool for visualising the camera frustum for debugging (#1390) β 7540fa5
π Bug fixes and enhancements
- improvement: iteratively load sectors and cull them towards already loaded geometry before loading (#1411) β 9ef5c28
- improvement: batch drawing of instanced meshes across sectors to reduce draw calls (#1412) β 1138867
- improvement: replace CTM LRU cache with slim most frequently used cache to save memory (#1407) β 14a3df4
- improvement: don't update treeIndex<>nodeId maps every time a sector is loaded to avoid allocation hot path (#1408) β c3dce9f
- improvement: clamp and smooth edges to reduce effect when far away from the model (#1404)
- improvement: add option to disable outline effect (#1404) β 5f63094
- improvement: use tighter bounding boxes/spheres for certain primitives to improve culling during rendering (#1402) β 62a09d0
- improvement: mark discarded sectors as hidden to avoid traversal (#1401) β 7c83965
- improvement: avoid calling updateMatrixWorld for entire scene graph each frame [REV-129] (#1399) β 645a763
- fix: bug causing sector bounds not to be placed correctly (#1403) β 4dc780a
π Documentation
@cognite/[email protected]
Version 1.4 adds improved visualization quality and tools for creating exploded views and HTML overlays.
π Features
- add SSAO shading to render pipeline to give visualization shadows (#1372) β 9cafbe9
- add edge detection visualization to improve visual quality (#1359) β 0b79250
- add ExplodedViewTool for creating "exploded view" of equipment (#1381) β 99506a0
- add HtmlOverlayTool utility to manage HTML overlays in Cognite3dViewer (#1362) β d9e2b66
- add support for removing already loaded models (#1355) β 5f4c920
π Bug fixes and enhancements
- simplify installation of parser-worker (#1369) β 4180550
- you don't need to use
revealEnv.publicPath
anymore ifapps-cdn.cognitedata.com
is whitelisted in your CSP
- you don't need to use
- convert geometry filters to model/threejs space before applying them and remove them when model is removed (#1377) β 5583af1
- fix Z-fighting for low-detail geometry (#1374) β fd3f0cf
Cognite3DModel.mapFromCdfToModelCoordinates
andmapPositionFromModelToCdfCoordinates
correctly returns transformed coordinates (#1361) β f1f27f6- fix neverending rerendering of point cloud models (#1356) β 0cc1832
- print error message for parser-worker version mismatch (#1346) β f97a9d0
- avoid triggering identical loadingStateChanged events (#1345) β e17cb23
- fix broken rendering for certain primitives (#1363) β ff5a3de
- update camera position/target immediately when animation duration is zero (#1348) β d5a0c0b
- reduce garbage collection during mesh parsing (#1349) β a2563be
- update camera position/target immediatly when animation duration is zero (#1348) β d5a0c0b
π Documentation
@cognite/[email protected]
π Revert feature from 1.3.0
- Revert "feat: add support for removing models from Cognite3DViewer [REV-70] (#1327)" - cdcf0e3
This feature caused an issue with excessive data loading when repeatedly moving the camera.
π Features
- add an event Cognite3DViewer.on('sceneRendered') for monitoring when render frames occurs [REV-75] (#1339) - f476ab4
π Bug fixes and enhancements
fix: remove unnecessary type import to avoid compile err in ts3.7 projects (#1338) - 5140f51
@cognite/[email protected]
π Features
- add support for picking of point clouds (#1303) β 2c72ab1
- add support for removing models from Cognite3DViewer [REV-70] (#1327) β d46064f
- allow developers to override anti-aliasing mode and enable multisampling with WebGL2 (#1312) β 8ea9558
- add the ability to override the render target (#1313) β 1911341
π Bug fixes and enhancements
- issue causing ghosted geometry being "stuck" after hiding nodes [REV-68] (#1328) β ae682e2
- fitCameraToModel now uses K-means clustering for determining bounds of CAD models (#1324) β dbcaced
- bug causing assertion when root sector is missing F3D geometry [REV-69] (#1323) β 7baa724
- bug causing viewer to become blurry when resized (#1310) β e5c0fc3
π Documentation
β οΈ Other notes:
- minimum required version of ThreeJS is now 0.123.0
- if you use self-hosted @cognite/reveal-parser-worker it must be updated to 1.1 version
- this version requires TypeScript 3.8 or higher