26.01.2015 Views

The RenderMan Interface - Paul Bourke

The RenderMan Interface - Paul Bourke

The RenderMan Interface - Paul Bourke

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Name Type Storage Class Description<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 />

I vector varying Incident ray direction<br />

E point uniform Position of the eye<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 />

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<br />

per unit time, as described by motion<br />

blur in the scene.<br />

P point varying Displaced surface position<br />

N normal varying Displaced surface shading normal<br />

Table 12.4: Predefined Displacement Shader Variables<br />

Name Type Storage Class Description<br />

P point varying Pixel raster position<br />

Ci color varying Pixel color<br />

Oi color varying Pixel opacity<br />

alpha float uniform Fractional pixel coverage<br />

ncomps float uniform Number of color components<br />

time float uniform Shutter open time.<br />

dtime float uniform <strong>The</strong> amount of time the shutter was open.<br />

Ci color varying Output pixel color<br />

Oi color varying Output pixel opacity<br />

Table 12.5: Predefined Imager Shader Variables<br />

124

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!