RfM Reyes
|
IntroductionThis tutorial provides sample code that demonstrates how a custom Reyes hypershade utility node that can receive inputs from either a RIS pattern node or another Reyes utility node. For simplicity the output of the node is a float - input "A" added to "B".
Name Mangling
If "A" is connected to a RIS pattern node the value it receives can only be obtained by
providing it's name to the RSL Surface "renderman/pattern_ris_combine/shaders/RMSDisplacement1_rfm" "reference float cutrCombine1_A" ["PxrWorley1:resultF"]
However, if "A" is connected to a Reyes utility node "A" is not "mangled".
|
Listing 1 (cutrCombine.h)
|
© 2002- Malcolm Kesson. All rights reserved.