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.

FrameBegin 2<br />

##Shaders PIXARwood, PIXARmarble<br />

##CameraOrientation 10.0 20.0 10.0 0.0 0.0 0.0<br />

Transform [.707107 -.57735 -.408248 0<br />

0 .57735<br />

-.815447 0<br />

-.707107 -.57735 -.408248 0<br />

0 0 24.4949 1 ]<br />

WorldBegin<br />

AttributeBegin<br />

Attribute "identifier" "name" ["myball"]<br />

AttributeBegin<br />

Attribute "identifier" "shadinggroup" ["tophalf"]<br />

Surface "PIXARmarble"<br />

ShadingRate .1<br />

Sphere .5 0 .5 360<br />

AttributeEnd<br />

AttributeBegin<br />

Attribute "identifier" "shadinggroup" ["bothalf"]<br />

Surface "plastic"<br />

Sphere .5 -.5 0 360<br />

AttributeEnd<br />

AttributeEnd<br />

AttributeBegin<br />

Attribute "identifier" "name" ["floor"]<br />

Surface "PIXARwood" "roughness" [.3] "d" [1]<br />

# geometry for floor<br />

AttributeEnd<br />

WorldEnd<br />

FrameEnd<br />

D.2 RIB Entity Files<br />

A RIB Entity File contains a single User Entity. RIB Entity Files are incomplete since they do<br />

not contain enough information to describe a frame to a renderer. RIB Entity Files depend<br />

on Render Management services for integration into “legal,” or complete, RIB Files. <strong>The</strong>se<br />

files provide the mechanism for 3-D “clip-art” by allowing Render Managers to insert objects<br />

into preexisting scenes.<br />

RIB Entity Files must conform to the User Entity Conventions described in the User Entites<br />

section. To summarize, a User Entity must be delimited by an attribute block, must have<br />

a name attribute, and must be completely contained within a single attribute block. Three<br />

additional requirements must also be met:<br />

• <strong>The</strong> header hint: ##<strong>RenderMan</strong> RIB-Structure 1.1 Entity must be included as the first<br />

line of the file.<br />

• <strong>The</strong> Entity must be built in an object coordinate system which is centered about the<br />

origin.<br />

• <strong>The</strong> Entity must have a RIB bound request to provide a single bounding box of all<br />

geometric primitives in the User Entity.<br />

191

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

Saved successfully!

Ooh no, something went wrong!