# This is the comp11.rib file that produces 4 images # illustrating different light types ##RenderMan RIB version 3.03 Display "comp11.tif" "tiff" "rgba" Format 256 192 -1 ShadingRate 1 CropWindow 0 1 0 1 Projection "perspective" Projection "perspective" "fov" [29.9902] FrameAspectRatio 1.33333 Identity Rotate 0 0 0 1 Rotate 0 1 0 0 Rotate 0 0 1 0 Translate 0 0 6 Format 256 192 -1 FrameBegin 1 Display "frame1.tif" "tiff" "rgb" LightSource "ambientlight" 1 "intensity" [1] WorldBegin Rotate -90 1 0 0 Translate -1.2 0 0.6 Surface "plastic" "Ka" [0.3]"Kd" [0]"Ks" [0] Sphere 0.5 -0.5 0.5 360 Translate 1.2 0 0 Translate 0 0 -0.5 Surface "plastic" "Ka" [0]"Kd" [1]"Ks" [0] Cone 1 0.5 360 Translate 0 0 0.5 Translate 1.2 0 0 Surface "plastic" "Ka" [0]"Kd" [0]"Ks" [0.5] Cylinder 0.5 -0.5 0.5 360 Translate -2.4 0 -1.2 Surface "plastic" "Ka" [0.5]"Kd" [0.5]"Ks" [2] Hyperboloid 0.4 -0.4 -0.4 0.4 0.4 0.4 360 Translate 1.2 0 -0.5 Paraboloid 0.5 0 0.9 360 Translate 1.2 0 0.5 Torus 0.4 0.15 0 360 360 WorldEnd FrameEnd Format 256 192 -1 FrameBegin 2 Display "frame2.tif" "tiff" "rgb" LightSource "distantlight" 2 "intensity" [1]"from" [0 0 -6]"to" [0 0 6] WorldBegin Rotate -90 1 0 0 Translate -1.2 0 0.6 Surface "plastic" "Ka" [0.3]"Kd" [0]"Ks" [0] Sphere 0.5 -0.5 0.5 360 Translate 1.2 0 0 Translate 0 0 -0.5 Surface "plastic" "Ka" [0]"Kd" [1]"Ks" [0] Cone 1 0.5 360 Translate 0 0 0.5 Translate 1.2 0 0 Surface "plastic" "Ka" [0]"Kd" [0]"Ks" [0.5] Cylinder 0.5 -0.5 0.5 360 Translate -2.4 0 -1.2 Surface "plastic" "Ka" [0.5]"Kd" [0.5]"Ks" [2] Hyperboloid 0.4 -0.4 -0.4 0.4 0.4 0.4 360 Translate 1.2 0 -0.5 Paraboloid 0.5 0 0.9 360 Translate 1.2 0 0.5 Torus 0.4 0.15 0 360 360 WorldEnd FrameEnd Format 256 192 -1 FrameBegin 3 Display "frame3.tif" "tiff" "rgb" LightSource "pointlight" 3 "intensity" [16]"from" [0 0 -6] WorldBegin Rotate -90 1 0 0 Translate -1.2 0 0.6 Surface "plastic" "Ka" [0.3]"Kd" [0]"Ks" [0] Sphere 0.5 -0.5 0.5 360 Translate 1.2 0 0 Translate 0 0 -0.5 Surface "plastic" "Ka" [0]"Kd" [1]"Ks" [0] Cone 1 0.5 360 Translate 0 0 0.5 Translate 1.2 0 0 Surface "plastic" "Ka" [0]"Kd" [0]"Ks" [0.5] Cylinder 0.5 -0.5 0.5 360 Translate -2.4 0 -1.2 Surface "plastic" "Ka" [0.5]"Kd" [0.5]"Ks" [2] Hyperboloid 0.4 -0.4 -0.4 0.4 0.4 0.4 360 Translate 1.2 0 -0.5 Paraboloid 0.5 0 0.9 360 Translate 1.2 0 0.5 Torus 0.4 0.15 0 360 360 WorldEnd FrameEnd Format 256 192 -1 FrameBegin 4 Display "frame4.tif" "tiff" "rgb" LightSource "spotlight" 4 "intensity" [16]"conedeltaangle" [0.0174533]"coneangle" [0.191986]"from" [0 0 -6]"to" [0 0 6] WorldBegin Rotate -90 1 0 0 Translate -1.2 0 0.6 Surface "plastic" "Ka" [0.3]"Kd" [0]"Ks" [0] Sphere 0.5 -0.5 0.5 360 Translate 1.2 0 0 Translate 0 0 -0.5 Surface "plastic" "Ka" [0]"Kd" [1]"Ks" [0] Cone 1 0.5 360 Translate 0 0 0.5 Translate 1.2 0 0 Surface "plastic" "Ka" [0]"Kd" [0]"Ks" [0.5] Cylinder 0.5 -0.5 0.5 360 Translate -2.4 0 -1.2 Surface "plastic" "Ka" [0.5]"Kd" [0.5]"Ks" [2] Hyperboloid 0.4 -0.4 -0.4 0.4 0.4 0.4 360 Translate 1.2 0 -0.5 Paraboloid 0.5 0 0.9 360 Translate 1.2 0 0.5 Torus 0.4 0.15 0 360 360 WorldEnd FrameEnd