Files
speckle-server/packages/viewer
Alexandru Popovici 4aef572a44 Multi Viewer (#1518)
* Fixed an issue with HDRIs not generating proper PMREMs over multiple viewer instances

* WIP on makign the world tree multiple instanced

* The WorldTree is no longer static. Each viewer has it's own instance and it hands it over to whoever needs it.

* Fixed an issue with filtering and the new non-static tree. Also removed the 'root' key from the NodeData structure since it's not needed

* Added an guard when building batches for situations where all render views have invalid geometries. This generally means there is somethign wrong with the stream itself

* multi-viewer css fixes

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2023-04-21 13:12:15 +03:00
..
2023-04-21 13:12:15 +03:00

The Speckle Viewer

Twitter Follow Community forum users website docs npm version

Disclaimer

We're working to stabilize the 2.0 API, and until then there will be breaking changes.

Development

You can debug and test the viewer is through the viewer-sandbox package. Some simple steps to get going:

  • 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.

API

The Viewer's API is documented here.

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.