##RenderMan RIB-Structure 1.0 version 3.03 # BEGIN SLIDE SET DEFAULTS: Orientation "lh" ShadingRate 1 Sides 1 # Attribute "light" "shadows" "on" # END SLIDE SET DEFAULTS: Display "C:/Code/cs184/as9/as9Tutorial/box_simple_step1.tif" "framebuffer" "rgb" FrameBegin 0 Format 512 512 1 # BEGIN SLIDE CAMERA: cam Projection "perspective" ScreenWindow -1 1 -1 1 Clipping 0.02 100 # END SLIDE CAMERA: cam Identity Scale 1 1 -1 ConcatTransform [1 0 0 0 0 1 0 0 0 0 1 0 0 0 -1 1] WorldBegin # BEGIN SLIDE LIGHT: lAmbient TransformBegin ConcatTransform [1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1] LightSource "ambientlight" 1 "intensity" [1] "lightcolor" [0.15 0.35 0.35] TransformEnd # END SLIDE LIGHT: lAmbient # BEGIN SLIDE AREALIGHT: alLamp AttributeBegin Bound [-1 1 -1 1 -8.74228e-008 8.74228e-008] TransformBegin ConcatTransform [0.25 0 0 0 0 0 -0.25 0 0 0.25 0 0 0 0.485 0 1] # Attribute "light" "shadows" "on" # Attribute "light" "nsamples" [30] AreaLightSource "arealight" 2 "intensity" [1] "lightcolor" [1 1 1] Color [1 1 1] Surface "constant" # BEGIN SLIDE INSTANCE: slideinstance4 TransformBegin Rotate 180 1 0 0 # BEGIN SLIDE OBJECT: oSquare # BEGIN SLIDE FACE: fSquare Polygon "P" [-1 -1 0 1 -1 0 1 1 0 -1 1 0] "N" [0 0 1 0 0 1 0 0 1 0 0 1] "st" [0 0 1 0 1 1 0 1] "Np" [0 0 1] # END SLIDE FACE: fSquare # END SLIDE OBJECT: oSquare TransformEnd # END SLIDE INSTANCE: slideinstance4 TransformEnd AttributeEnd # END SLIDE AREALIGHT: alLamp Illuminate 2 1 Color [0.5 0.5 0.5] Surface "plastic" "Ka" [1] "Kd" [1] "Ks" [0] "roughness" [0.228447] "specularcolor" [1 1 1] # BEGIN SLIDE GROUP: gRoot AttributeBegin ShadingInterpolation "smooth" AttributeBegin Bound [-0.5 0.5 -0.5 0.5 -0.5 0.5] # BEGIN SLIDE INSTANCE: iCamera AttributeBegin ShadingInterpolation "smooth" TransformBegin Translate 0 0 1 TransformEnd AttributeEnd # END SLIDE INSTANCE: iCamera # BEGIN SLIDE INSTANCE: iRoom AttributeBegin ShadingInterpolation "smooth" TransformBegin Scale 0.5 0.5 0.5 # BEGIN SLIDE GROUP: gRoom AttributeBegin ShadingInterpolation "smooth" AttributeBegin Bound [-1 1 -1 1 -1 1] # BEGIN SLIDE INSTANCE: iLamp AttributeBegin ShadingInterpolation "smooth" TransformBegin Translate 0 0.97 0 Scale 0.5 0.5 0.5 Rotate -90 1 0 0 TransformEnd AttributeEnd # END SLIDE INSTANCE: iLamp # BEGIN SLIDE INSTANCE: slideinstance6 AttributeBegin ShadingInterpolation "smooth" TransformBegin # BEGIN SLIDE GROUP: gBox AttributeBegin ShadingInterpolation "smooth" AttributeBegin Color [1 1 1] Surface "plastic" "Ka" [1] "Kd" [1] "Ks" [0] "roughness" [0.228447] "specularcolor" [1 1 1] AttributeBegin Bound [-1 1 -1 1 -1 1] # BEGIN SLIDE INSTANCE: slideinstance1 AttributeBegin ShadingInterpolation "smooth" AttributeBegin Color [1 1 1] Surface "paintedplastic" "Ka" [1] "Kd" [1] "Ks" [0] "roughness" [0.228447] "specularcolor" [1 1 1] "texturename" ["wood.tx"] # Attribute "radiosity" "averagecolor" [0.3662136 0.1571951 0.0729811] TransformBegin Translate 0 -1 0 Rotate -90 1 0 0 # BEGIN SLIDE OBJECT: oSquare AttributeBegin ShadingInterpolation "smooth" # BEGIN SLIDE FACE: fSquare Polygon "P" [-1 -1 0 1 -1 0 1 1 0 -1 1 0] "N" [0 0 1 0 0 1 0 0 1 0 0 1] "st" [0 0 1 0 1 1 0 1] "Np" [0 0 1] # END SLIDE FACE: fSquare AttributeEnd # END SLIDE OBJECT: oSquare TransformEnd AttributeEnd AttributeEnd # END SLIDE INSTANCE: slideinstance1 # BEGIN SLIDE INSTANCE: slideinstance2 AttributeBegin ShadingInterpolation "smooth" TransformBegin Translate -1 0 0 Rotate 90 0 1 0 # BEGIN SLIDE OBJECT: oSquare AttributeBegin ShadingInterpolation "smooth" # BEGIN SLIDE FACE: fSquare Polygon "P" [-1 -1 0 1 -1 0 1 1 0 -1 1 0] "N" [0 0 1 0 0 1 0 0 1 0 0 1] "st" [0 0 1 0 1 1 0 1] "Np" [0 0 1] # END SLIDE FACE: fSquare AttributeEnd # END SLIDE OBJECT: oSquare TransformEnd AttributeEnd # END SLIDE INSTANCE: slideinstance2 # BEGIN SLIDE INSTANCE: slideinstance3 AttributeBegin ShadingInterpolation "smooth" TransformBegin Translate 1 0 0 Rotate -90 0 1 0 # BEGIN SLIDE OBJECT: oSquare AttributeBegin ShadingInterpolation "smooth" # BEGIN SLIDE FACE: fSquare Polygon "P" [-1 -1 0 1 -1 0 1 1 0 -1 1 0] "N" [0 0 1 0 0 1 0 0 1 0 0 1] "st" [0 0 1 0 1 1 0 1] "Np" [0 0 1] # END SLIDE FACE: fSquare AttributeEnd # END SLIDE OBJECT: oSquare TransformEnd AttributeEnd # END SLIDE INSTANCE: slideinstance3 AttributeEnd AttributeEnd AttributeEnd # END SLIDE GROUP: gBox TransformEnd AttributeEnd # END SLIDE INSTANCE: slideinstance6 AttributeEnd AttributeEnd # END SLIDE GROUP: gRoom TransformEnd AttributeEnd # END SLIDE INSTANCE: iRoom AttributeEnd AttributeEnd # END SLIDE GROUP: gRoot WorldEnd FrameEnd # # BEGIN SLIDE CREATE TEXTURE MAPS # wood.gif wood.tx # END SLIDE CREATE TEXTURE MAPS