mkkellogg / GaussianSplats3D

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

Making three.js work with gaussian splats #360

Open abrahamezzeddine opened 3 weeks ago

abrahamezzeddine commented 3 weeks ago

Hello,

I am wondering if there is any plan to integrate three.js mesh objects with splats? I am very eager to draw some objects with different opacities to the three.js mesh objects, but it is not really working. At least, if I place with 50% three.js box in front of a splat, I would like to see 50% of the splats behind the box.

Is there a way to solve this? :) Thanks for your great work!

mkkellogg commented 1 week ago

It's not really possibly to correctly render translucent three.js objects along with splats, because all the splats are rendered in one draw call, and there's therefore no way to order their rendering relative to the three.js objects. It will unfortunately only correctly work opaque three.js objects.