Is it possible to save glb with object hierarchy?

   1377   4   2
User Avatar
Member
22 posts
Joined: 3月 2014
Offline
While exporting a fbx I can create a objects hierarchy with a path attribute. Is this also possible with the gltf export Node?
Goal is to have separate objects later instead of one mesh like in in houdini.
https://vimeo.com/jon3de [vimeo.com]
User Avatar
Member
51 posts
Joined: 6月 2017
Offline
Possibly if you use a ROP GLTF node you could set Mesh Names Source to Attribute and then use path as the attribute? Unsure if this would work though.
Houdini TD, I focus on tools for procedural asset creation.

www.jaworenko.design
User Avatar
Member
22 posts
Joined: 3月 2014
Offline
Yes, thats what I´m trying to do. Unfortunately it does not work. In Blender e.g. its one piece of mesh. I noticed that the ropgltf says "name attribute has different values. No mesh name will be exported"
Edited by jon3de - 2023年2月27日 11:00:44

Attachments:
mesh_names.jpg (186.4 KB)

https://vimeo.com/jon3de [vimeo.com]
User Avatar
Member
452 posts
Joined: 8月 2014
Offline
I believe it's not possible with ROP GTLF Output SOP as it expects one unique namevalue, which is a real drawback of this operator if you ask me. You can however circumvent it by referencing SOP meshes into actual objects from Object Network, and then exporting them with GLTF ROP. It's not pretty, but I'm unaware of a different way of accomplishing this goal.
Edited by ajz3d - 2023年2月27日 14:09:59
User Avatar
Member
202 posts
Joined: 6月 2023
Offline
The GLTF support is truly terrible at this moment. Why can't it just use pathlike how FBX export works?

Yes, you can export from OBJ level if the meshes are all static. How about skeleton animations? Now you have to export your whole character as one big ass mesh...
Edited by kodra - 2023年12月22日 00:37:16
  • Quick Links