RixPatterns
|
Introduction
The code for the pattern node presented here is based on the answer given by
Dan Kripac on the Pixar forum to the question,
"Can refraction rays be distinguished from reflection rays?". The simple scene shown in figure 1
demonstrates the effect of using the resultRGB of the CutrColorByRayType pattern node as the
input of the diffuseColor of an instance of PxrSurface assigned to the sphere - figure 2.
The
Instructions on compiling the plugin can be found here, |
© 2002- Malcolm Kesson. All rights reserved.