Why is instanceof false After GaussianSplattingMesh is cloned?
The GaussianSplattingMesh
inherits from Mesh
class.
Having a look at the source code, I can see that indeed, it does not override the clone method resulting in returning a Mesh
instance. While for example the GreadedLine does override, returning the right class.
Maybe it’s like so for some reasons… Let’s wait for the official devs to have a look
I think @Cedric was the last dev to work on splats clone in this PR
please be patient as @Cedric is out on vacation
A Gaussian Splatting mesh can not be instanced like a classic mesh. The main reason is because of sorting each splat individually (back to front) with a webworker. So, many datas need to be duplicated and adapted for each clone. I have no doubt this will be changed in the future with webGPU. But until then …