pmndrs / gltfjsx

🎮 Turns GLTFs into JSX components
https://gltf.pmnd.rs
MIT License
4.5k stars 293 forks source link

How to convert jsx back to glft ? #61

Closed bhaskarSingh closed 3 years ago

bhaskarSingh commented 3 years ago

I have modified my gltf file converted to jsx and now want to convert it back to gltf? How can I do it ?

drcmda commented 3 years ago

the gltf lives along the jsx tree, it is never changed or touched in any way. and you still need it to be present when you load it. all that gltfjsx does is extract some data from it to build a virtual graph or tree.

bhaskarSingh commented 3 years ago

Ah! Got it.