How to use AddGaussianSplattingStreamPart?

Hi,

I’m trying to create a “GaussianSplattingCompoundMesh” composed of a .sog file and a streamed SOG file (lod-meta.json).
I found the “AddGaussianSplattingStreamPart” function, but I can’t get it to work.

Could someone help me?

Thanks in advance.

cc @Cedric

Hi @Gaetan , streamed SOG are independant of compounds. It’s not possible to mix them for technical reasons. It’s either a compound of GS or a streamed one.

Thanks @Cedric.
So, if I understand correctly, it’s impossible to combine two streamed SOG files into a single Gaussian Splatting Mesh to avoid opacity overlapping issues.

yes, indeed. you can merge gaussian splat, statically, with splat-transform so it won’t have transparency sorting issue…but it will be static :slight_smile:

Still, I thought that feature allowed for that : https://doc.babylonjs.com/typedoc/functions/\_babylonjs_loaders.AddGaussianSplattingStreamPart .

“Adds a PlayCanvas-style SOG LOD stream as a part of a compound Gaussian Splatting mesh, so the streamed splats are depth-sorted and rendered in ONE pass together with the compound’s other (static) parts.”

I’ll fix the doc.

My bad, recent development made this feature happen. PG example here : https://playground.babylonjs.com/#418POI#21

Oh ! Thanks a lot !!!