Repository navigation
Minor release of @thatopen/components and @thatopen/components-front, on @thatopen/fragments 3.6. Existing APIs and default behaviour are unchanged.
New in components-front (opt-in)
- Adaptive resolution:
renderer.adaptiveResolution,adaptiveTargetFps,adaptiveMinScale,adaptiveMaxScalelower the postproduction resolution to hold a frame rate. renderer.movingResolution(WebGPU): a lower resolution while the camera moves.renderer.cssSize: render at CSS pixels instead of the native drawing-buffer resolution (off by default, as before).- WebGPU pipeline cache and smoother pipeline compilation.
- Outline pass: constant-cost outline ring, optional reduced-resolution layer (
resolutionScale), local clipping planes in the outline mask.
Fixes
- Outlines no longer land on other items' triangles when fragments packs a tile's visible runs into one draw call.
- The pixel ratio was applied twice to the composer; cast-shadow borders no longer draw as pen edges.
- The Outliner requests a frame in manual mode and follows view updates.
The PostproductionRenderer example now runs the deferred pipeline with the Color Pen Shadows style, with the composer / deferred switch, the deferred controls and a ghost (x-ray) button.