slides
slides
slides
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Basic Renderman commands<br />
1 import prman<br />
Load the prman library<br />
2<br />
3 ri = prman.Ri()<br />
4<br />
5<br />
6 filename = "TeapotPY.rib"<br />
Create an instance of the<br />
prman interface and assign it<br />
to the variable ri<br />
7 ri.Begin(filename)<br />
8<br />
9<br />
0<br />
1<br />
2<br />
Scene generation<br />
code goes here<br />
Begin our scene<br />
called “TeapotPY.rib”<br />
finally finish our scene<br />
3 ri.End()<br />
will cause the rib file to<br />
be written<br />
Saturday, 23 October 2010