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 (r141). You can also use three.js version exported by Reveal as import { THREE } from '@cognite/reveal.
🐞 Bug fixes and enhancements
- fix: expose and fix bug causing getBoundingBoxByNodeId/TreeIndex not to modify out parameter (#2472)
- improvmenet: keyboard and mouse event handling in viewer (#2492)
- fix: point cloud picking precision issue (#2508)
- improvement: use 'high-performance' powerPreference to avoid non-discrete GPU being used on certain systems (#2512)
- fix: missing exports for data source (#2526)
- fix: remove flat modifier, while maintaining TreeIndex precision (#2536) (@Strepto Equinor)
- fix: do not blend in-front and back frame buffers when back objects have not been rendered (#2540)
- fix: visualization artifacts due to wrongfully handling cylinder clip planes (#2556)
- improvement: make CadModelUpdateHandler trigger sector loading immediately after the camera stops moving (#2573) (@eiriklegernaes Aize)
- Use vec2 instead of struct for packing TreeIndexes (#2585) (@Strepto Equinor)
- fix: general cylinder rendering when (#2620)
- fix: enable depth writing for in-front pass (#2621) (@eiriklegernaes Aize)
See installation documentation for details about installing Reveal.