The RenderMan Interface - Paul Bourke
The RenderMan Interface - Paul Bourke
The RenderMan Interface - Paul Bourke
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
##Include filename<br />
This entry allows the specification of a file name for inclusion in the RIB stream. Note<br />
that the Include keyword itself does not cause the inclusion of the specified file. As<br />
with all structural hints, the Include keyword serves only as a special hint for render<br />
management systems. As such, the Include keyword should only be used if render<br />
management facilities are known to exist.<br />
D.1.4<br />
RIB File structuring example<br />
##<strong>RenderMan</strong> RIB-Structure 1.1<br />
##Scene Bouncing Ball<br />
##Creator /usr/ucb/vi<br />
##CreationDate 12:30pm 8/24/89<br />
##For <strong>RenderMan</strong> Jones<br />
##Frames 2<br />
##Shaders PIXARmarble, PIXARwood, MyUserShader<br />
##CapabilitiesNeeded ShadingLanguage Displacements<br />
version 3.03<br />
Declare "d" "uniform point"<br />
Declare "squish" "uniform float"<br />
Option "limits" "bucketsize" [6 6] #renderer specific<br />
Option "limits" "gridsize" [18] #renderer specific<br />
Format 1024 768 1 #mandatory resolution<br />
Projection "perspective"<br />
Clipping 10 1000.0<br />
FrameBegin 1<br />
##Shaders MyUserShader, PIXARmarble, PIXARwood<br />
##CameraOrientation 10.0 10.0 10.0 0.0 0.0 0.0<br />
Transform [.707107 -.408248 -.57735 0<br />
0 .816497 -.57735 0<br />
-.707107 -.408248 -.57735 0<br />
0 0 17.3205 1 ]<br />
WorldBegin<br />
AttributeBegin<br />
Attribute "identifier" "name" "myball"<br />
Displacement "MyUserShader" "squish" 5<br />
AttributeBegin<br />
Attribute "identifier" "shadinggroup" ["tophalf"]<br />
Surface "PIXARmarble"<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 />
Polygon "P" [-100. 0. -100. -100. 0. 100. 100. 0. 100. 10.0 0. -100.]<br />
AttributeEnd<br />
WorldEnd<br />
FrameEnd<br />
190