##RenderMan RIB-Structure 1.0
version 3.03
# Comments appear next to single hash marks (#).
 
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 -4 -2 9
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 "polkadot" "dotradius" .2 "dist" .75
Attribute "identifier" "name" "unitcube"
Translate 0 -1.0 0
# A cube with unit length sides, centered at the origin
Bound -2 2 -2 2 -2 2
TransformBegin
# far face
Polygon "P" [2 2 2  -2 2 2  -2 -2 2  2 -2 2]
Rotate 90  0 2 0
# right face
Polygon "P" [2 2 2  -2 2 2  -2 -2 2  2 -2 2]
# near face
Rotate 90  0 2 0
Polygon "P" [2 2 2  -2 2 2  -2 -2 2  2 -2 2]
# left face
Rotate 90  0 2 0
Polygon "P" [2 2 2  -2 2 2  -2 -2 2  2 -2 2]
TransformEnd
TransformBegin
# bottom face
Rotate 90  2 0 0
Polygon "P" [2 2 2  -2 2 2  -2 -2 2  2 -2 2]
TransformEnd
TransformBegin
# top face
Rotate -90  2 0 0
Polygon "P" [2 2 2  -2 2 2  -2 -2 2  2 -2 2]
TransformEnd
AttributeEnd

WorldEnd
FrameEnd