GitHub - pmndrs/gltfjsx: 🎮 Turns GLTFs into JSX components
A small command-line tool that turns GLTF assets into declarative and re-usable react-three-fiber JSX components. They're dumped wholesale into the scene which prevents re-use Contents can only be found by traversal which is cumbersome and slow Changes are made by mutation, which alters the source data and, again, prevents re-use Making contents conditional or adding/removing nodes is hard Gltfjsx creates a virtual, nested graph of all the objects and materials inside your asset.
https://github.com/pmndrs/gltfjsx