Is it possible to save glb with object hierarchy?

   2037   4   2
User Avatar
Member
22 posts
Joined: March 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
54 posts
Joined: June 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: March 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 - Feb. 27, 2023 11:00:44

Attachments:
mesh_names.jpg (186.4 KB)

https://vimeo.com/jon3de [vimeo.com]
User Avatar
Member
570 posts
Joined: Aug. 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 - Feb. 27, 2023 14:09:59
User Avatar
Member
373 posts
Joined: June 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 - Dec. 22, 2023 00:37:16
  • Quick Links