The RenderMan Interface - Paul Bourke
The RenderMan Interface - Paul Bourke
The RenderMan Interface - Paul Bourke
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Name Type Storage Class Description<br />
Cs color varying Surface color<br />
Os color varying Surface opacity<br />
P point varying Surface position<br />
dPdu vector varying Derivitive of surface position along u<br />
dPdv vector varying Derivitive of surface position along v<br />
N normal varying Surface shading normal<br />
Ng normal varying Surface geometric normal<br />
u,v float varying Surface parameters<br />
du,dv float varying Change in surface parameters<br />
s,t float varying Surface texture coordinates<br />
L vector varying Incoming light ray direction*<br />
Cl color varying Incoming light ray color*<br />
Ol color varying Incoming light ray opacity*<br />
E point uniform Position of the eye<br />
I vector varying Incident ray direction<br />
ncomps float uniform Number of color components<br />
time float uniform Current shutter time<br />
dtime float uniform <strong>The</strong> amount of time covered by this shading<br />
sample.<br />
dPdtime vector varying How the surface position P is changing per<br />
unit time, as described by motion blur in the<br />
scene.<br />
Ci color varying Incident ray color<br />
Oi color varying Incident ray opacity<br />
* Available only inside illuminance statements.<br />
Table 12.1: Predefined Surface Shader Variables<br />
121