Files
speckle-server/packages/viewer
Alexandru Popovici 3476fb651a Viewer lib Material fixes (#2095)
* Fixed WBX-341

* Fixed WBX-342

* Fix for WBX-343. Unused materials no longer pile up in MeshBatch materials

* Unused materials no longer pile up in InstancedMeshBatch materials

* Moved material cleaning at the begining of draw groups flatening for both instanced and non instances batches. Added a cached material lookup table for both instanced and non instanced speckle meshes. This fixes the issues with setMaterial and material instances we were seeing when diffing

* Handled WBX-356 and WBX-357. Most important change here, is adding behavior for when a new draw groups is set which engulfs other existing draw groups. The previous lack of implementation for this particular case made filtering (for example) assign materials incorrectly

* Fix for WBX-358. Line batch materials were not setting their opacity

* WIP on fixing some issues with selection + coloring
2024-03-12 11:04:50 +02:00
..
2024-03-12 11:04:50 +02:00
2023-09-19 08:37:40 +01:00

The Speckle Viewer API 2.0

Twitter Follow Community forum users website docs npm version

Documentation

Quick Reference guide here Complete documentation coming soon

Examples

You can find readily available examples 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.