Skip to content
Compare
Choose a tag to compare
@larsmoa larsmoa released this 06 Oct 21:07
· 2930 commits to master since this release

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.