larsmoa
released this
08 Apr 06:26
·
2598 commits
to master
since this release
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 (r138). You can also use three.js version exported by Reveal as import { THREE } from '@cognite/reveal.
🚀 Features
- feat: add support for new GLTF-based geometry format for CAD models (#1665)
- feat: add support for prioritized nodes to scheduler a hint on priority of geometry to load (#1696)
- feat: create camera manager interface that will allow users to provide their own CameraManager (#1852)
- feat: simplify CAD model budget by only controlling "renderCost" (#1761)
- feat: add continuous loading option for geometry streaming (#1765)
- feat: add support for minDiagonalLength sector metadata (#1733)
- feat: add draco mesh decoding support for GLB parser (#1855)
- feat: add a sector download scheduler to properly throttle sector downloads (#1797)
- feat: new sector culler for the v9 file format sector tree (#1629)
- feat: add support for locally hosted point cloud models to Cognite3dViewer (#1962)
- feat: replace gltf sector parser with custom made parser (#1685)
- feat: add point cloud classification UI to examples (#1959)
🐞 Bug fixes and enhancements
- fix: primitives not rendering correctly on iOS (#1861)
- fix: Memory leaking issues when model is removed from the scene (#2025)
- fix: Setting default node appearance to ghosted hides "default"-rendered geometry (#1764)
- fix: cancel and throw error when adding incompatible models (#2042)
- fix: make nuts look flat (#2024)
- fix: pointcloud classification visibility (#2022)
- fix: let threejs update shared uniforms (#2031)
- fix: sector loader example not handling bounds update / rename (#1902)
- fix: v8 culling (#2029)
- fix: updated geo-three to fix texture format type change in threejs (#1898)
- fix: cache result compute bounds of most geometry to force deterministic results (#1890)
- fix: highlighted nodes being ghosted (#1889)
- fix: incorrect usage of device pixel ratio (#1874)
- fix: near/far camera plane hiding some peripheral geometry (#1857)
- fix: Zooming to points not on the model was too fast in zoomToCursor mode (#1831)
- fix: trigger sector load on assigning priority [REV-295] (#1809)
- fix: remove-batch needs to update until end of defrag buffer (#1805)
- fix: dont trigger 'not loading' whenever camera moves as we not support loading while camera moves (#1789)
- fix: fix nothing being loaded after regaining connection (#1793)
- fix: certain models cause computer crashes (#1798)
- fix: expose and fix an issue causing prioritizedLoadingHint to have no effect (#1774)
- fix: msaa hides geometry (#1760)
- fix: tree index attribute not set properly for triangle meshes (#1737)
- fix: problem causing low-detail sectors not to get high priority and sectors with no geometry to be loaded (#1692)
- improvement: cleanup imports and exports (#1949)
- improvement: move point clouds stuff into its own module (#1942)
- improvement: Update Materials to RawShaderMaterials (#1900)
- improvement: factor out cad-model module (#1901)
- improvement: use newer geometrybounds (#1858)
- improvement: defer download of web workers until needed (#1845)
- improvement: better suggested camera config (#1833)
- improvement: update Cognite SDK version to 7.0.0 (#1787)
- improvement: Remove gl_FragDepthEXT check from shader for webgl2 (#1796)
- improvement: collect metrics for what model versions are loaded (#1786)
- improvement: Shader upgrade to ES300 (#1776)
- improvement: assignStyledNodeCollection now also handles update (#1756)
- refac: Cleanup shaders (#1882)
- refac: use matrix4 attribute instead of column vectors (#1691)
📖 Documentation
- docs: point cloud rendering issue in docs (#2023)
- docs: docs reveal version for 2.x and controls modes example (#2021)
- docs: Added documentation for camera manager together with a few fixes (#1955)
- docs: change examples to not use same app ID as docs (#1834)
See installation documentation for details about installing Reveal.