Nodes not attached still defined ?

Nodes not attached still defined ?

maxtarpini
Collaborator Collaborator
297 Views
1 Reply
Message 1 of 2

Nodes not attached still defined ?

maxtarpini
Collaborator
Collaborator

It looks that even nodes not attached to the Arnold Shader slot are still exported and being defined in an ass file (not only those exported manually but also those used by c4dtoa IPR etc.) .. doing so it will trigger their init and update sections even if they are not eventually used.

 

I see two problems here :

- (pluging) they should not be translated at all.

- (core) they should not be init/updated if not used.

 

Fix at least one 😉

 

initupdate_nodes.png

0 Likes
Accepted solutions (1)
298 Views
1 Reply
Reply (1)
Message 2 of 2

peter_horvath
Autodesk
Autodesk
Accepted solution

A material is exported as a whole, including all shaders, no matter if they are connected to a root port or not. It was a design choice at the early stage of the plugin. You can argue, why exporting shaders which are not actually used, but on the other hand they are part of the scene eventually, so it's not that crazy.


// Peter Horvath
// C4DtoA developer
0 Likes