ac6d0d892e
* feat(viewer-lib): Added visible bounds for mesh batches * feat(viewer-lib): Single visible scene box implementation and renderer level. Updated some internals related to use the visible box instead of the whole box. ExplodeExtension and default zooming to extents now uses the visible box * Updates regarding batches and visible range management and reporting - Added stardard functions for All and None batch update ranges for visibility - Fixed an issue with mesh batch where draw ranges where not reshuffled when there was onyl a single hidden draw group - Fixed an issue with instanced mesh batch where hidden groups were not properly handled all the time - Line batch now holds a range visibility map and can now properly report if the entire batch is visible or not. Still no per object visibility reporting as it's less feasible with the current line batch rendering approach but posssible if really required * feat(viewer-lib): Text batches now also report visible ranges unitarily * chore(viewer-lib): Fixed compiler error
The Speckle Viewer
Documentation
Complete documentation here Migration guide here
Examples
You can find readily available examples in the documentation here
Development
- run
yarnin the repo root to install and link all required dependencies. - run
yarn devin the viewer package (here) to start a dev build with automatic code refresing of the viewer code. - run
yarn devin the viewer-sandbox package to start the viewer sandbox.
Feedback
We would love to hear your feedback in this forum thread.
Community
If in trouble, the Speckle Community hangs out on the forum. Do join and introduce yourself! We're happy to help.
License
Unless otherwise described, the code in this repository is licensed under the Apache-2.0 License. If you have any questions, don't hesitate to get in touch with us via email.