##RenderMan RIB-Structure 1.0 version 3.03 # Comments appear next to single hash marks (#). Display "lab7.tif" "file" "rgba" Format 640 480 1 Rotate -12.4214 1 0 0 Rotate 23.9625 0 1 0 Translate -0.9 -0.145 1.6 Projection "perspective" "fov" [60 ] 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] Declare "shadows" "string" Attribute "light" "shadows" "on" 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 # A mirror AttributeBegin Attribute "identifier" "name" "mymirror" Surface "shiny" Translate 0.0 -0.5 1.0 TransformBegin Polygon "P" [1 1 0 -1 1 0 -1 -1 0 1 -1 0] TransformEnd AttributeEnd # A wall to cast the shadows on AttributeBegin Attribute "identifier" "name" "wall" Surface "matte" Translate -1.0 -0.5 0.0 TransformBegin Rotate 90 0 1 0 Polygon "P" [1 1 0 -1 1 0 -1 -1 0 1 -1 0] TransformEnd AttributeEnd # The floor AttributeBegin Attribute "identifier" "name" "floor" Declare "polkadot_color" "color" Declare "back_color" "color" Declare "radius" "float" Declare "freq" "float" Surface "lab7" "polkadot_color" [1 1 0] "back_color" [1 0 0] "radius" .4 "freq" 10 Translate 0.0 -1.5 0.0 TransformBegin Rotate 90 1 0 0 Polygon "P" [1 1 0 -1 1 0 -1 -1 0 1 -1 0] TransformEnd AttributeEnd #hat for the jack in the box guy AttributeBegin Attribute "identifier" "name" "myhat" Declare "polkadot_color" "color" Declare "back_color" "color" Declare "radius" "float" Declare "freq" "float" Surface "lab7" "polkadot_color" [1 0 1] "back_color" [0 0 0] "radius" .2 "freq" 7 Rotate -90 1 0 0 Cone .6 .5 360 AttributeEnd #head of the jack in the box guy AttributeBegin Attribute "identifier" "name" "myhead" Declare "polkadot_color" "color" Declare "back_color" "color" Declare "radius" "float" Declare "freq" "float" Surface "lab7" Translate 0 -.3 0 Sphere 0.5 -0.5 0.5 360 AttributeEnd #left eye for the jack in the box guy AttributeBegin Attribute "identifier" "name" "myleye" Declare "polkadot_color" "color" Declare "back_color" "color" Declare "radius" "float" Declare "freq" "float" Surface "lab7" "polkadot_color" [1 1 1] "back_color" [0 0 0] "radius" .3 "freq" 10 TransformBegin Translate 0.1 -.12 -.45 Rotate -45 1 0 0 Sphere .05 -.05 .05 180 TransformEnd AttributeEnd #right eye for the jack in the box guy AttributeBegin Attribute "identifier" "name" "myreye" Color [.1 .1 .1] Declare "polkadot_color" "color" Declare "back_color" "color" Declare "radius" "float" Declare "freq" "float" Surface "lab7" "polkadot_color" [1 1 1] "back_color" [0 0 0] "radius" .3 "freq" 10 TransformBegin Translate -0.1 -.12 -.45 Rotate -45 1 0 0 Sphere .05 -.05 .05 180 TransformEnd AttributeEnd #Nose for the jack in the box guy AttributeBegin Attribute "identifier" "name" "mynose" Color [1 1 0] Declare "polkadot_color" "color" Declare "back_color" "color" Declare "radius" "float" Declare "freq" "float" Surface "lab7" "polkadot_color" [.3 .3 .3] "back_color" [.7 .7 .7] "radius" .3 "freq" 10 Rotate 180 0 1 0 Translate 0 -.3 .5 Cone 0.2 0.1 360 AttributeEnd WorldEnd FrameEnd