I would like to create some gltfs to use in web-xr like examples here:https://immersive-web.github.io/webxr-samples/
but I can't seem to save them correctly - is there guidance on what the gltfs need? Or how they should be created to work?
I'm missing something, if I take the space.gltf file that is used in the examples - namely at: https://github.com/immersive-web/webxr-samples/tree/main/media/gltf/space load and save it like in the python script below)
from pygltflib import GLTF2gltf = GLTF2().load(filename)gltf.save()and set that output, I get an error on loading. Specifically in the web console I get:Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'scene.nodes')
so obviously I am not making the gltfs properly (even known gltfs) so if anyone has any experience that would be helpful!
The end goal would be to load up a model (gltf/glb or something else) and have some interactivity. But I would settle just to load a model for now.
Thanks!
I was Expecting a model to be loaded properly.