Gaussian splat flickering when size is small

Hi,

We are facing a problem with gaussian splat files scanned at real sizes (10-20cm), as they have a lot of flickering when rendered within Babylon. If we scale them x10, then the flickering disappears, but we need to have them at correct sizes. As a side note, they render correctly in SuperSplat at reduced sizes.

I was able to reproduce the issue in the playground, scaling down an existing gs demo file.

Here you can see the flickering (model scaled down to 0.1):slight_smile: https://playground.babylonjs.com/#45KYTJ#129

And here the flickering is not noticeable:

Here I’m also attaching videos of the issue:

And without fhe flickering:

Is there a way to reduce this flickering with small sized GS models?

Thanks

1 Like

Adding @Cedric to the thread but bear with us as he is in vacation at the moment so he ll be back to it next week

1 Like

Hi @Danim

I think the problem is in the splat sorting. There is a float manipulation so it make it possible to sort depth and index with the same uint64 value.

Let me try if I can find a quick solution.

3 Likes

Thanks @Cedric for the fix! It’s working fine here https://playground.babylonjs.com/?snapshot=refs/pull/18054/merge#45KYTJ#129

1 Like

I’ve found some weirdness with camera view direction that’s being used for sort triggering. PR not ready yet. I’ll try to fix it asap.

2 Likes