Releases: cognitedata/reveal
Releases · cognitedata/reveal
@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
@cognite/[email protected]
@cognite/[email protected]
@cognite/[email protected]
@cognite/[email protected]
🚀 Features
- expose CAD budget in Cognite3dViewer to allow controlling model budget. (#1293) – 98397e5
- add draw calls to budget to limit number of draw calls of geometry to loaded (#1268) – 338c730
- add Cognite3dViewer.cameraControlsEnabled to allow disabling navigation (#1224) – b03c9e6
- add function to CognitePointCloudModel for setting the visibility filter of a given point class (#1165) – 6343e73
🐞 Bug fixes and enhancements
- improve performance of all node styling functions in Cognite3DModel (#1186) – a3a4331
- update ThreeJS to 0.122.0 (#1285) – 92e9bcb
- make matcap texture grayscale and increase fixed lighting a bit to avoid red-ish hue (#1251) – e26abf3
- disable antialiasing as it has no effect when using offscreen rendering (#1211) – 475ffb4
- bug causing WebGL context held by GPU culler not to be disposed on dispose() (#1167) – 4733f3b
- don't call decrecated function THREE.Scene.dispose (#1173) – 7723d3c
- CognitePointCloudModel.getClasses return type (#1175) – ca51501
- bug causing Cognite3DViewer.setBackgroundColor to cause flickering (#1158) – de48adf
- bug causing custom 3d objects always to be rendered in front of ghosted objects (#1141) – 529fa32
- export PotreePointSizeType enum (#1154) – 9a62822
- avoid direct dependency on sdk; loose three.js peer dependency version (#1152) – 62cc6fe
- ignore keyboard events if canvas is not focused (#50) – e308ea2
- improve error message when model is incompatible (#1145) – 56866ca
- apply proper unit scaling of models to make all models to be in metric units (#1266) – b8d53b4
- prioritize loading sectors in the center of the screen (#1276) – c75226f
- limit the camera movement for large models (#1294) – 8397d60
📖 Documentation
- add documentation with example for clipping planes (#1219) – adaac84
- document restriction about transparency for custom 3D objects (#1229) – a01aaca
- update migration guide based on migrating Maintain (#1089) – c3a498b
- document issue with "non-standard" depth testing (#1225) – 9fb30f0
- note about missing support of textures (#1203) – 8971a57
- add pointcloud examples (#1184) – c78f351
- improve CognitePointCloudModel doc (#1135) – 5fb606e
- note on textured models not being supported (#1156) – 5e31c05
- add section about common issues in migration (#1148) – f464ee4
- document deprecated onComplete callback (#1144) – 64e7e24
@cognite/[email protected]
🚀 Features
- add Cognite3DModel.setAllNodeColors (#1132) – 4d0154c
- add CognitePointCloudModel.pointSize and pointShape (#1134) – 26a5355
- add a FXAA anti-aliasing pass (#1119) – 31b6037
- add support for local transformation override (#992) – 55dfe26
- add support for ghost mode to make a CAD model appear translucent (#1075) – f34efe0
- enable changing CAD and point cloud model transform runtime (#1077) – 417639c
🐞 Bug fixes and enhancements
📖 Documentation
@cognite/[email protected]
This is a rewrite of @cognite/3d-viewer to support:
- point cloud models support in Cognite3DViewer
- model data streaming which allows loading of even huge models quickly without long waiting
For more details check out our documentation.