Skip to content

Releases: cognitedata/reveal

1.5.4

26 May 12:29
Compare
Choose a tag to compare

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

10 May 13:25
Compare
Choose a tag to compare

🐞 Bug fixes and enhancements

  • bug causing sectors to never load after a network failure [REV-152] (#1454) (#1458) – 0550f80

@cognite/[email protected]

26 Apr 13:53
Compare
Choose a tag to compare

🐞 Bug fixes and enhancements

  • regression issue for loading geometry introduced in version 1.5.1

@cognite/[email protected]

23 Apr 09:22
Compare
Choose a tag to compare

🐞 Bug fixes and enhancements

  • issue causing missing geometry when sectors was loaded from cache [REV-150] (#1439) – 3c4de37

@cognite/[email protected]

09 Apr 14:03
Compare
Choose a tag to compare

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

  • doc: fix broken HTML overlay example (#1410) – ecd9940
  • doc: make overlay example slightly more interesting (#1394) – be41f95
  • doc: document how to combine two models and align coordinate systems [REV-133] (#1406) – ffa18e1

@cognite/[email protected]

12 Mar 11:29
Compare
Choose a tag to compare

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 if apps-cdn.cognitedata.com is whitelisted in your CSP
  • 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 and mapPositionFromModelToCdfCoordinates 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

  • deprecate Cognite3DModel.deselectNode (#1347) – ae6c097

@cognite/[email protected]

06 Jan 16:11
Compare
Choose a tag to compare

πŸ’€ 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]

05 Jan 12:27
Compare
Choose a tag to compare

πŸš€ 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:

image

@cognite/[email protected]

17 Nov 14:59
Compare
Choose a tag to compare

🐞 Bug fixes and enhancements

  • support for picking on touch devices (#1307) – 65e08b2

@cognite/[email protected]

12 Nov 14:01
Compare
Choose a tag to compare

🐞 Bug fixes and enhancements

  • allow file:// to be location.origin when load worker (#1305) – d8f7b53
  • fix off by one error when determining numeric range for all nodes (#1304) – 0e61316