Reveal comes with ThreeJS embedded so you do not have this as a dependency in your project. If you still want to have it as a direct dependency, it must match the version used by Reveal (r140). You can also use three.js version exported by Reveal as import { THREE } from '@cognite/reveal.
🚀 Features
- feat: new point cloud picking using GPU to improve precision and performance (#2193)
- feat: new render pipeline system that enables working with transparent custom objects and when depth testing is not enabled (such as gizmos) (#1982)
- feat: migrate to new pointcloud library, enabling adaptive point size (#2114)
- feat: added support for clicked button data for Cognite3DViewer.on('click',...) method (#2045)
🐞 Bug fixes and enhancements
-
fix: metrics tracing for GeomapTool (#2225)
-
fix: device pixel ratio exposing rendering artifacts (#2214)
-
fix: change equality check of visiblity shader attribute to a less check (#2176)
-
fix: add a force override overload for updating the camera state to allow setCameraState to work when controls are disabled (#2197)
-
fix: use null, not undefined, as default blend options (#2170)
-
fix: render AxisViewTool as transparent to ensure its rendered on top of transparent custom objects (#2171)
-
fix: clearing wrong render target (#2166)
-
fix: typo in unpackSectorVisibility() causing weight to only depend x position (#2127)
-
fix: Memory leaks on disposal of Cognite3DViewer (#2139)
-
fix: Removed metrics for CameraManager and CustomDataSource (#2131)
-
improvement: Make typescript strict (#2163)
-
improvement: remove unused 'headers' for custom data sources and update docs (#2164)
-
improvement: disable SSAO and MSAA on mobile devices (#2128)
-
improvement: avoid creating a huge render target for picking, 1x1 is enough (#2115)
-
chore: refactor CadNode and related into proper package (#2173)
-
chore: avoid duplicated "Viewer artifact download" step in CI (#2106)
📖 Documentation
- doc: add documentation and example for setting background image for Reveal using CSS/HTML element (#2224)
See installation documentation for details about installing Reveal.