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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

triple<br />

sixteentuple<br />

arrayindex:<br />

[ expression ]<br />

triple:<br />

( expression , expression , expression )<br />

sixteentuple:<br />

( expression , expression , expression , expression ,<br />

expression , expression , expression , expression ,<br />

expression , expression , expression , expression ,<br />

expression , expression , expression , expression )<br />

typecast:<br />

float<br />

string<br />

color [spacetype]<br />

point [spacetype]<br />

vector [spacetype]<br />

normal [spacetype]<br />

matrix [spacetype]<br />

spacetype:<br />

stringconstant<br />

relation:<br />

( relation )<br />

expression relop expression<br />

relation logop relation<br />

! relation<br />

assignexpression:<br />

identifier asgnop expression<br />

identifier [arrayindex] asgnop expression<br />

procedurecall:<br />

identifier ( [proc arguments] )<br />

proc arguments:<br />

expression<br />

proc arguments , expression<br />

texture:<br />

texture type ( texture filename [channel] [texture arguments] )<br />

texture type:<br />

164

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

Saved successfully!

Ooh no, something went wrong!