glTF: exporting node-level attributes

   647   0   0
User Avatar
Member
325 posts
Joined: 7月 2005
Offline
Hey guys,

glTF has the notion of nodes, basically objects are tagged as nodes with a set of standard attributes like "name" and "(transform)matrix", e.g.:


	"nodes":[
		{
			"children":[1,2
			],
			"name":"Root"
		},
		{
			"matrix":[1,0,0,0,0,1,0,0,0,0,1,0,0.333000004,0,0,1
			],
			"name":"pighead",
			"mesh":0
		},
...

Is there a way to export a custom node-level attribute in Houdini?
For instance I would like to export object's mass or velocity as a node attribute in glTF.
Of course I could write it as a mesh attribute, but I wonder if there's another way.


Thanks,
Vlad
Edited by madjestic - 2023年10月26日 12:49:51
I liked the Mustang
  • Quick Links