Skip to content

Releases: cognitedata/reveal

@cognite/[email protected]

03 Feb 12:26
81c1f77
Compare
Choose a tag to compare

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 (r133). You can also use three.js version exported by Reveal as import { THREE } from '@cognite/reveal.

πŸš€ Features

  • feat: new camera manager class for better controls customisation and configuration

🐞 Bug fixes and enhancements

  • fix: proper handling of fast 'clicks' and movement of the mouse at the same time
  • fix: refresh authentication token when necessary
  • fix: focus lost when clicked outside canvas
  • fix: composite overlays was not removed when calling clear() or dispose()
  • fix: error when saving viewer state
  • fix: ViewState can now be built from a raw JSON blob
  • fix: wrong behaviour when stacking node styling collections
  • fix: typing in Cognite3DModel removeModel

πŸ“– Documentation

  • doc: miscellaneous documentation issues causing older version of the doc to not display / run correctly

@cognite/[email protected]

21 Jan 16:11
Compare
Choose a tag to compare
Pre-release

Warning: This is an alpha version of Reveal 3.0. To fully utilize the improvements, it's necessary to enable new features for the respective Cognite Data Fusion project hosting the 3D models that is visualized. Expect things to break.

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 (r136). You can also use Three.js version exported by Reveal as import { THREE } from '@cognite/reveal'.

πŸš€ Features

  • feat: add a sector download scheduler to properly throttle sector downloads (#1797)

🐞 Bug fixes and enhancements

  • fix: clipping planes working properly with primitives that have RawShaderMaterial (#1799)
  • fix: certain models cause computer crashes (#1798)
  • 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: Overridden unit test WebGL1 shader console error (#1790)
  • improvement: collect metrics for what model versions are loaded (#1786)
  • improvement: track sector loading errors in MixPanel (#1791)

πŸ“– Documentation

  • doc: add section for version 3.0 (#1792)

See installation documentation for details about installing Reveal.

@cognite/[email protected]

21 Jan 22:44
daf76e8
Compare
Choose a tag to compare
Pre-release

Warning: This is an alpha version of Reveal 3.0. To fully utilize the improvements, it's necessary to enable new features for the respective Cognite Data Fusion project hosting the 3D models that is visualized. Expect things to break.

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 (r136). You can also use Three.js version exported by Reveal as import { THREE } from '@cognite/reveal'.

πŸš€ Features

  • feat: add continuous loading option for geometry streaming (#1765)
  • feat: prioritized nodes (#1696)
  • feat: new sector culler for the v9 file format sector tree (#1629)
  • feat: add support for GLTF in the streaming pipeline (#1665)
  • feat: add UI to example for styling nodes (#1762)
  • feat: adds support for minDiagonalLength sector metadata (#1733)
  • feat: New camera manager class for better controls customisation and configuration (#1680)
  • feat: camera controls update with click target change (#1635)

🐞 Bug fixes and enhancements

  • improvement: assignStyledNodeCollection now also handles update (#1756)
  • improvement: shader are upgraded to ES300 (#1776)
  • improvement: simplify CAD model budget by only controlling "renderCost" (#1761)
  • improvement: replace GLTF sector parser with custom made parser (#1685)
  • improvement: transfer buffers from parser web worker to main thread instead of copying geometry data (#1720)
  • refactor: use matrix4 attribute instead of column vectors (#1691)
  • fix: error when trackError() was called with undefined error from CadManager (#1780)
  • fix: wrong model ID was sent to byids request (#1773)
  • fix: problem causing low-detail sectors not to get high priority and sectors with no geometry to be loaded (#1692)
  • fix: camera controls zoomToCursor mode was behaving wrong when zoomed on new target very slowly (#1747)
  • fix: Make viewer state fields into real Vector3s (#1775)
  • fix: composite overlays was not removed when calling clear() or dispose() (#1768)
  • fix: focus lost when clicked outside canvas (#1763)
  • fix: refresh authentication token when necessary (#1748)
  • fix: proper handling of fast 'clicks' and movement of the mouse at the same time (#1732)
  • fix: too little geometry was culled during load when a geometry filter was active (#1722)
  • chore: change eslint 'header' rule to allow 2021 and 2022 copyright notice (#1751)

πŸ“– Documentation

  • doc: revive v1 documentation due to wrong threejs import (#1731)
  • doc: ensure all doc examples in 2.x work properly (#1721)

See installation documentation for details about installing Reveal.

@cognite/[email protected]

01 Dec 12:44
Compare
Choose a tag to compare

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 (r133). You can also use three.js version exported by Reveal as import { THREE } from '@cognite/reveal.

πŸ“– Documentation

  • Fix a few bugs in the documentation examples.

@cognite/[email protected]

24 Nov 19:28
Compare
Choose a tag to compare

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 (r133). You can also use three.js version exported by Reveal as import { THREE } from '@cognite/reveal.

🐞 Bug fixes and enhancements

  • improvement: apply all node style changes within same 'tick' at the same time (#1715)

πŸ“– Documentation

  • doc: adjust TimelineTool example (#1716)

See installation documentation for details about installing Reveal.

@cognite/[email protected]

23 Nov 10:25
Compare
Choose a tag to compare

Reveal 2.2 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 (r133). You can also use three.js version exported by Reveal as import { THREE } from '@cognite/reveal.

πŸš€ Features

  • feat: Add Timeline Tool to apply a node style to different node for Model construction progression (#1636)
  • feat: add support for automatic clustering of overlapping overlays to HtmlOverlayTool (#1706)
  • feat: add HtmlOverlayTool.elements for listing all elements (#1697)
  • feat: add Cognite3dModel.updateStyledNodeCollection() and styledNodeCollections (#1688)
  • feat: allow placing the loading indicator in any corner and control opacity (#1682)
  • feat: add DataSource and the ability to change to custom data sources (#1633)

🐞 Bug fixes and enhancements

  • improvement: better shading for ghosted geometry and better render performance (#1677)
  • improvement: replace noise texture in SSAO with noise function (#1664)
  • fix: bug that 'locked' the camera after 720 degrees rotation (#1653)
  • fix: bug causing changes to custom objects not to cause matrix to be updated (#1702)
  • fix: correct worldToNormalizedCoordinates to handle pixel ratio properly (#1700
  • fix: allow users to turn off metrics logging (#1705)
  • fix: correct SSAO blur pass (#1681)
  • refac: improve handling of node appearance in shaders (#1709)
  • chore: add devcontainer setup (#1704)

πŸ“– Documentation

  • doc: fix typo in HtmlOverlay doc example (#1701)

See installation documentation for details about installing Reveal.

@cognite/[email protected]

18 Oct 14:21
Compare
Choose a tag to compare

Reveal 2.1.2 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 (r133). You can also use three.js version exported by Reveal as import { THREE } from '@cognite/reveal.

🐞 Bug fixes and enhancements

  • fix: types not being bundled correctly

@cognite/[email protected]

06 Oct 21:07
Compare
Choose a tag to compare

Reveal 2.1 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 (r131). You can also use three.js version exported by Reveal as import { THREE } from '@cognite/reveal.

πŸš€ Features

  • feat: add Cognite3DModel.modelUnit and modelUnitToMetersFactor (#1619)
  • feat: add support for limiting loaded geometry by "render cost" (#1623)
  • feat: Add Geomap tool to support models to be placed on maps (#1582)

🐞 Bug fixes and enhancements

  • fix:handle non-determinant depth values after resizing when MSAA is enabled causing custom objects to be invisible (#1627)
  • fix: setting view state now unassigns previous styles instead of clearing them (#1630)
  • fix: when two models was loaded and one was ghosted the other model was invisible (#1620)
  • fix: UI overlays (e.g. axis cross) didn't rerender when viewer was resized (#1615)
  • fix: general cylinder bounding box being incorrectly computed (#1611)
  • fix: issue causing HtmlOverlayTool to misplace elements when 3D viewer was scaled on large screens (#1596)
  • fix: issue causing edges to "bleed through" custom objects (#1586)
  • fix: setting Cognite3DModel.visible has no effect (#1591)
  • improvement: optimize floatBitSubset shader (#1622)
  • improvement: point cloud budget is now shared between all loaded models and clipping planes are supported (#1570)
  • refac: use 'loglevel' package for logging (#1625)
  • refac: deprecate setSlicingPlanes and add setClippingPlanes (#1618)
  • refac: migrate viewer to yarn 2 workspaces (#1564)
  • chore: ci now properly fails on linting error (#1631)

πŸ“– Documentation

  • doc: SinglePropertyFilterNodeCollection is not experimental anymore (#1634)
  • doc: split release procedure to separate .md (#1641)
  • doc: fixed draggable clipping plane example
  • doc: add information on how to build for Macbook M1 (#1607)

Other

  • feat: allow filtering visible sectors using regex in DebugLoadedSectorsTool (#1614)
  • feat: create UI component for controlling CAD budget in examples (#1610)
  • feat: DebugLoadedSectorsTool now supports randomly coloring sectors (#1609)
  • feat: dynamically set CAD budget in example (#1606)
  • feat: enable locally hosted models in Migration example (#1595)

See installation documentation for details about installing Reveal.

@cognite/[email protected]

22 Sep 21:20
Compare
Choose a tag to compare

This is a new major version of Reveal. Reveal 2.0 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 (r128). You can also use three.js version exported by Reveal as import { THREE } from '@cognite/reveal.

πŸš€ Features

  • feat: save / restore viewer state (#1523)
  • feat: add Cognite3DModel.getAncestorsByTreeIndices and add example for highlight-on-click (#1538)
  • feat: repurpose Spinner to be Spinner+CogniteLogo which is always visible (#1553)
  • feat: add Cognite3DViewer.models to access currently added models (#1506)
  • feat: add more performant and flexible API for styling nodes (#1371)

🐞 Bug fixes and enhancements

  • fix: not able to load same model twice [REV-132] (#1555)
  • fix: bug causing Cognite3DModel.getModelBoundingBox() to throw for models with only two sectors (#1565)
  • fix: issue causing HtmlOverlayTool to misplace elements when 3D viewer was scaled on large screens (#1596)
  • fix: geometry filters will now only affect the model they are associated with (#1562)
  • fix: issue causing assertion error when removing CAD model while sectors are being loaded (#1561)
  • fix: add assert as a direct dependency to make sure it's available in client projects (#1544)
  • fix: remove @internal from Cognite3DViewerToolBase (#1531)
  • fix: bug causing black fade for cad models when resizing screen (#1504)
  • fix: issue with MSAA quality setting causing black screen (#1484)
  • improvement: introduce LOD rendering of torus geometries to improve quality of certain primitives (#1576)
  • improvement: upgrade @cognite/sdk to 5.x (#1568)
  • improvement: CTM cache will no longer trigger many requests for the same file (#1551)
  • improvement: replace pink and purple outline colors with green and red [REV-171] (#1541)
  • improvement: Cognite3DModel.getSubtreeIndices() now returns a range (#1525)
  • improvement: improve performance of applying styles by avoiding allocations of arrays (#1527)
  • refac: rename Cognite3DViewer.forceRerender() to requestRedraw() (#1594) (#1597)
  • refac: remove redundant call to clone() (#1546)
  • refac: make Cognite3DViewer.getIntersectionFromPixel async [REV-176] (#1540)
  • refac: remove Cognite3DModel.loadingHints (#1526)
  • refac: replace gl-matrix with ThreeJS (#1513)
  • refac: migrate @cognite/three-combo-controls source code to this code base (#1493)
  • chore: remove sdk-core from dev deps (#1502)

πŸ“– Documentation

  • doc: separate 1.x and 2.x section (#1552)
  • doc: improve getting started README.md (#1569)
  • doc: fix many uses of async/await that failed. Minor doc improvements (#1560)
  • doc: minor release procedure doc improvement (#1548)
  • doc: update to latest typedoc and Typescript 4.2 (#1507)

See installation documentation for details about installing Reveal.

@cognite/[email protected]

29 Jun 09:17
Compare
Choose a tag to compare
Pre-release

This is a beta release of the next major version of Reveal. Reveal 2.0 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 (r128). You can also use three.js version exported by Reveal as import { THREE } from '@cognite/reveal.

πŸš€ Features

  • feat: add Cognite3DModel.getAncestorsTreeIndices and add example for highlight-on-click (#1538)

🐞 Bug fixes and enhancements

  • fix: not able to load same model twice [REV-132] (#1555)
  • improvement: CTM cache will no longer trigger many requests for the same file (#1551)
  • improvement: loading spinner is now combined with the Cognite logo and shows Reveal version on hover (#1553)

πŸ“– Documentation

  • docs: allow classes and async/await in live examples (#1543)

See installation documentation for details about installing Reveal.