mkkellogg / GaussianSplats3D

Three.js-based implementation of 3D Gaussian splatting
MIT License
1.09k stars 134 forks source link

Dynamic scene transform. #220

Closed wakufactory closed 1 month ago

wakufactory commented 1 month ago

This wonderful library is giving me a lot of ideas.

I can add multiple splats with addSplatScenes, but is it possible to dynamically set the transform of each scene afterwards? I tried getting the scene with getSplatScene and changing the transform, but the scene did not change. Do I need to update anything?

mkkellogg commented 1 month ago

You will need to set the dynamicScene parameter for the Viewer constructor to true for starters. You can check out the dynamic scenes example for guidance: https://github.com/mkkellogg/GaussianSplats3D/blob/main/demo/dynamic_scenes.html

wakufactory commented 1 month ago

Thank you for your reply. I overlooked the demo.