Skip to content

v3.6.0

Latest

Choose a tag to compare

@agviegas agviegas released this 22 Oct 19:21

Minor release. Existing APIs and default behaviour are unchanged.

New

  • Ghost (x-ray) items: model.setGhostItems(localIds, invert?), model.unsetGhostItems(localIds) and model.clearGhost() draw items as a see-through dithered veil (with invert, everything except them), in WebGL and WebGPU. The deferred renderer of @thatopen/components-front leaves ghosted surfaces out of its ambient occlusion. FragmentsModels.setGhostOpacity(alpha) sets the veil. It is installed on a model the first time it ghosts, so apps that never use it draw exactly as before.
  • model.getItemIdsByLocalIds(localIds).