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.

D.2.1<br />

RIB Entity File example<br />

##<strong>RenderMan</strong> RIB-Structure 1.1 Entity<br />

AttributeBegin #begin unit cube<br />

Attribute "identifier" "name" "unitcube"<br />

Bound -.5 .5 -.5 .5 -.5 .5<br />

TransformBegin<br />

# far face<br />

Polygon "P" [.5 .5 .5 -.5 .5 .5 -.5 -.5 .5 .5 -.5 .5]<br />

Rotate 90 0 1 0<br />

# right face<br />

Polygon "P" [.5 .5 .5 -.5 .5 .5 -.5 -.5 .5 .5 -.5 .5]<br />

# near face<br />

Rotate 90 0 1 0<br />

Polygon "P" [.5 .5 .5 -.5 .5 .5 -.5 -.5 .5 .5 -.5 .5]<br />

# left face<br />

Rotate 90 0 1 0<br />

Polygon "P" [.5 .5 .5 -.5 .5 .5 -.5 -.5 .5 .5 -.5 .5]<br />

TransformEnd<br />

TransformBegin<br />

# bottom face<br />

Rotate 90 1 0 0<br />

Polygon "P" [.5 .5 .5 -.5 .5 .5 -.5 -.5 .5 .5 -.5 .5]<br />

TransformEnd<br />

TransformBegin<br />

# top face<br />

Rotate -90 1 0 0<br />

Polygon "P" [.5 .5 .5 -.5 .5 .5 -.5 -.5 .5 .5 -.5 .5]<br />

TransformEnd<br />

AttributeEnd #end unit cube<br />

D.3 <strong>RenderMan</strong> Renderer Resource Files<br />

Renderer Resource Files are intended to provide information to Render Managers and<br />

modelers about the specific features, attributes, options, and resources of a particular renderer.<br />

In an environment where multiple renderers are available, a Render Manager can<br />

provide the user with the ability to tailor RIB file to best suit the desired renderer.<br />

Renderer Resource Files should be shipped with any <strong>RenderMan</strong> renderer and should be<br />

updated on-site by the local system administrator to reflect the resources available to a<br />

renderer. Only those sections containing site-specific information can be customized in<br />

this way. <strong>The</strong> simple ASCII format of Renderer Resource Files makes them easy to read,<br />

modify and parse.<br />

D.3.1<br />

Format of Renderer Resource Files<br />

A Renderer Resource File is broken up into a series of sections delimited by special keywords.<br />

Within each section, all related information is provided using a section-specific predefined<br />

format. A special include keyword is provided to simplify the task of customizing<br />

Resource Files. <strong>The</strong> keywords are as follows:<br />

192

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

Saved successfully!

Ooh no, something went wrong!