Files
speckle-server/packages/viewer
Alexandru Popovici ac6d0d892e Support for visible bounds (#5466)
* 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
2025-10-07 09:46:53 +03:00
..
2025-10-07 09:46:53 +03:00
2024-06-12 14:38:02 +03:00
2024-10-19 08:31:50 +02:00

The Speckle Viewer

Twitter Follow Community forum users website docs npm version

Documentation

Complete documentation here Migration guide here

Examples

You can find readily available examples in the documentation here

Development

  • run yarn in the repo root to install and link all required dependencies.
  • run yarn dev in the viewer package (here) to start a dev build with automatic code refresing of the viewer code.
  • run yarn dev in 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.