Gaussian Splatting update transform before render

Hey @Cedric our Gaussian Splatting master!

I recently faced a problem: when animating position, rotation or whatever transform property of a gaussian splatting mesh before the scene is rendered then it disappears: https://playground.babylonjs.com/#OE54M5#24

On line 37, if you replace onBeforeRenderObservable by onAfterRenderObservable the mesh is drawn as expected.

Or is it by design due to the usage of the worker to compute splat stuff?
I posted here in bugs section because I found no entry in the doc for this.

Thanks a lot for your help :heart:

Edit: found something else. calling setEnabled(false); on a GaussianSplattingPartProxyMesh has no effect. Is it planned to be supported?

Cedric is on vacation so please be patient :smiley:

I’ll not blame him, he earned those :joy:

This is an interesting bug indeed ! I’ll fo a fix asap!

OMG and you fixed both!! Thanks a lot @Cedric :heart: