print vex node is not working inside material shader builder

   4666   2   2
User Avatar
Member
5 posts
Joined: March 2011
Offline
Is this a known but? We are using 11.0.692. This continues to work fine in our old style material networks.

For example, I take a distribution “Wood” material, add the print node and turn it on, but nothing shows up in my console.
User Avatar
Member
5 posts
Joined: March 2011
Offline
FYI: others might be interested in the response I got from support:
Hi Kay,



This is because our new materials are multi-context (ie, displacement shader, surface shader, etc, all in one) so print vop doesn't know in what context you are evaluating.

This is what you need to do to get it working:

- add a Null VOP

- pipe one of the input wires to Surface_Output VOP through the Null VOP (so that the input node goes into the Null VOP and the Null VOP goes into the Output VOP)

- connect the Print Vop node to the second input of the Null VOP I made a quick example with the Wood material…

Cheers,



Silvina

Attachments:
PrintVop.hip (608.6 KB)

User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
Very handy to know. I will be putting that on my Wiki for future reference

Rob
Gone fishing
  • Quick Links