mkkellogg / GaussianSplats3D

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

Splat meshes dont occlude other objects in same scene as DropInViewer #222

Closed IsaacBerman closed 9 hours ago

IsaacBerman commented 1 month ago

Is there a way to have splats render in front of other objects in the same scene as DropInViewer. I've attempted to change renderOrder to 0 and this doesn't seem to help. Any guidance would be appreciated, thanks.

mkkellogg commented 1 month ago

Sorry for the late response, are the objects you want to occlude transparent? If so, then setting their renderOrder properties to something less than the instance of DropInViewer should work. When you say you set the renderOrder to 0, did you mean for the DropInViewer or for the objects you're trying to occlude? Objects with a higher render order get rendered after objects with a lower render order.

mkkellogg commented 9 hours ago

Closing this for now, let me know if you need further assistance with this issue.