THREE glTFExporter export no camera

Hi everybody,

I make a little web 3D app with threejs, and i want to export my threejs scene in GLTF, so GLTFExporter seems great…

But GLTFExporter don’t export any camera, despite what the documentation indicates…

Is that normal ? How to do ? I already try to set onlyVisible to false and i see no other options for that.

Thanks for your help

The camera must be part of your scene graph. Have you ensured that?

Can you please share your entire code that shows what you are doing? If possible as a live example.

Fabulous !!
You are right, i was absolutely sure that i added my cameras to my scene… But no, i haven’t !!

I feel so stupid :slight_smile: It works perfectly now, solved.

Thanks a lot !

1 Like