glTF: exporting node-level attributes

   645   0   0
User Avatar
Member
325 posts
Joined: July 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 - Oct. 26, 2023 12:49:51
I liked the Mustang
  • Quick Links