slides
slides
slides
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Adding Colour<br />
• To change the colour of a primitive we use the Color command<br />
passing in the RGB components<br />
• For example to create a red object we use<br />
[RIB] Color 1 0 0 [Python] ri.Color([1,0,0])<br />
• Colour is an attribute and as such will remain the currently active<br />
colour until changed.<br />
• To group colours (or any other attributes) we use the<br />
AttributeBegin and AttributeEnd block<br />
Saturday, 23 October 2010