Looking for some help on a workflow I don't know if gltfjsx supports #244
Unanswered
Archimagus
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
OK, so this is a few parts, any help on any of it would be greatly appreciated. I
I have on the order of 50 models, and they all share a common material library. I am preloading the materials and don't want to have the textures packed into each glb file. I've been using the (.gltf+.bin+textures) format, but gltfjsx only seems to output a .glb file.
Second, I'd really like to use the Transform capability to instance meshes where possible, and combine where possible, But I need to keep several parts separate, although combining within those parts is good. Think, a house, where the roof is removable at run time. I don't want it to combine the roof and walls even though they share a material.
One thing I was trying, and hoping it might work, is to add all the models to the same blender file before exporting to gltf, so that gltfjsx could easily recognize and instance across different models, But then much like the roofs above, I'd need to keep each house group from being merged, but still combine within groups, and instance across them.
Sorry I know this is kind of a lot.
Im pretty flexibile about how I get there, but the requirements are firm, "Roofs" need to be able to come off, Individual models need to be able to move separately, and we can't redownload the textures with each model.
Thanks so much for any ideas.
Beta Was this translation helpful? Give feedback.
All reactions