This release adds a configurable pulse interaction effect, expands interaction and drawing-tool settings, and improves the reliability and performance of drawing and transformation tools. It also includes rendering compatibility fixes following the three.js update, more reliable environment-map loading, HTTP-client modernization, SDK updates, and CI workflow improvements introduced since 3.20.0.
Interaction Effects
- Added the
pulseinteraction effect for hover, selection, dragging, and transformation interactions. - Added pulse effect configuration for color, intensity, and pulse speed.
- Improved the pulse effect's color handling and mapped its intensity to opacity for a more natural visual result.
- Added an interaction-pulse example project.
Interaction Parameters / Drawing Tools
- Added
presentation("widget"or"toolbar") to interaction and drawing-tool settings. - Added
activeMode: "alwaysActive"to interaction and drawing-tool settings. - Added
autoClearto automatically reset an interaction or drawing parameter after computation. - Fixed conversion and validation of drawing-tool settings (SS-9969), including restriction settings.
- Improved Drawing Tools performance, particularly for geometry-state, history, text visualization, controls, and interaction processing (SS-9863).
Transformation Tools
- Fixed transformation tools in specific object and hierarchy configurations (SS-9905).
- Fixed
MATRIX_CHANGEDevent transformation output for transformed objects, preserving the established event-data format (SS-9905).
Rendering
- Restored expected material appearance after the three.js update, including legacy PBR compatibility behavior.
- Fixed sheen coloring after the three.js update.
- Fixed an environment-map loading race condition (SS-9942).
Dependencies / Networking
- Removed Axios and migrated Viewer HTTP requests to the internal HTTP client (SS-9942).
- Updated
@shapediver/sdk.geometry-api-sdk-v2, including ArrayBuffer download support.
CI / Release Workflow
- Added a preview workflow for the full test suite and refined the full-test workflow for additional branches.
- Updated development, staging, and release workflow handling and related deployment-test automation.
Documentation
- Updated public API documentation and generated external TypeDoc symbol links.
Full Changelog: https://github.com/shapediver/Viewer/compare/viewer@3.20.0...viewer@3.21.0