Is it possible to export the scene as a whole to glTF? I’m able to get the glb
data for every object using api.current?.scene.get(undefined, 'CommPlugin_1')
, but then I have to merge these into one glTF file. THREE.js has a GLTFExporter
plugin (three.js docs) but this needs access to the THREE.Scene
instance. This would be ideal because this export would resemble the scene as shown in the viewer the best (including textures etc.). Is it possible to get access to the more low level THREE.Scene
instance? Or is there another way of exporting?
Background: we’re trying to display the scene in a iOS Quicklook AR view. This needs a USDZ
file, which is best converted from glTF
or glb
.
Thanks!