##RenderMan RIB-Structure 1.0 version 3.03 # Comments appear next to single hash marks (#). Option "searchpath" "shader" "..:/usr/local/prman/prman/lib/shaders:/nfs/home/dd/cs184/fa98/class/cs184-dn/lab7" Display "lab7.tif" "file" "rgba" Format 640 480 1 Projection "perspective" "fov" [55 ] Rotate -12.4214 1 0 0 Rotate 23.9625 0 1 0 Translate -0.7410 0.0 5.6 FrameBegin 1 LightSource "ambientlight" 1 "intensity" [0.1 ] LightSource "distantlight" 2 "intensity" [1 ] "lightcolor" [1 1 1] "from" [0 100 -200] "to" [0 0 0] LightSource "distantlight" 3 "intensity" [0.6 ] "lightcolor" [0.4 0.5 0.4] "from" [200 10 0] "to" [0 0 0] LightSource "distantlight" 4 "intensity" [1 ] "lightcolor" [0.4 0.25 0.25] "from" [-50 10 200] "to" [0 0 0] WorldBegin AttributeBegin Attribute "identifier" "name" "myblock" Color [0.50 0.4745 0.2667] Surface "lab7" Attribute "identifier" "name" "unitcube" Translate 0 -1.0 0 # A cube with unit length sides, centered at the origin Bound -.5 .5 -.5 .5 -.5 .5 TransformBegin # far face Polygon "P" [.5 .5 .5 -.5 .5 .5 -.5 -.5 .5 .5 -.5 .5] Rotate 90 0 1 0 # right face Polygon "P" [.5 .5 .5 -.5 .5 .5 -.5 -.5 .5 .5 -.5 .5] # near face Rotate 90 0 1 0 Polygon "P" [.5 .5 .5 -.5 .5 .5 -.5 -.5 .5 .5 -.5 .5] # left face Rotate 90 0 1 0 Polygon "P" [.5 .5 .5 -.5 .5 .5 -.5 -.5 .5 .5 -.5 .5] TransformEnd TransformBegin # bottom face Rotate 90 1 0 0 Polygon "P" [.5 .5 .5 -.5 .5 .5 -.5 -.5 .5 .5 -.5 .5] TransformEnd TransformBegin # top face Rotate -90 1 0 0 Polygon "P" [.5 .5 .5 -.5 .5 .5 -.5 -.5 .5 .5 -.5 .5] TransformEnd AttributeEnd WorldEnd FrameEnd