Unable to read splatsData of a Gaussian splatting mesh imported by ImportMeshAsync

Hello again!

I’m trying to load and access Gaussian splatting mesh data, following Importing Gaussian splat files as base64 string.

In this PG I’m loading two splat files: One from GaussianSplattingMesh constructor, other from ImportMeshAsync. Babylon.js Playground

The one with constructor reads data in splatsData, the one from ImportMeshAsync reads null. I am currently using ImportMeshAsync because I’m able to import base64 data with it.

Thank you so much! :folded_hands:

You must use the global ImportMeshAsync method and not SceneLoader.ImportMeshAsync, because you can pass options to the former:

https://playground.babylonjs.com/#R1YNOU#3

2 Likes

Thank you!

It seems passing base64 to global ImportMeshAsync gives an error, but I worked around it by just creating a file and passing that instead.

Much appreciated :folded_hands: