Hi,

I want to try to export a shading tree to an external shading
language. To do so, I need to traverse the shading tree and translate
all nodes into shading language commands.

I thought it could be useful to start with the leaf nodes and go up
level by level until I read the shading engine. Does anyone know if
there is an easy way to get only the leaf nodes of a shading tree?

Of course I can do it the other way, starting from the shading engine
and go down by analyzing the connected attributes. I'm still unsure
what is the better way.

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to