mkkellogg / GaussianSplats3D

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

Dropin-viewer rotation #217

Closed wakufactory closed 1 month ago

wakufactory commented 2 months ago

When using Dropin-viewer, if rotate the viewer's parent three.js object, it will display the object's front side inside out. If move the viewpoint, it will return to normal. Is there a solution?

The video is here. https://twitter.com/wakufactory/status/1784771134933897594

mkkellogg commented 2 months ago

Thanks for the heads up on this, it looks like it's due to a small bug in my viewer. Currently the viewer decides when it should sort splats based on camera movement, but it doesn't check for scene movement :) As a work-around, whenever the viewer's parent moves you can call:

dropInViewer.viewer.updateSplatSort(true);