##RenderMan RIB-Structure 1.0 version 3.03 Display "light_final.tif" "framebuffer" "rgba" FrameAspectRatio 1 Format 80 80 1 PixelSamples 2 2 Projection "perspective" "fov" [22.5] #Scale 1 1 1 Translate 0 -2.5 15 WorldBegin ############################################################################ # Light Source Definitions ############################################################################ #shadowed light for room TransformBegin Translate 0 5.5 0 Rotate 90 1 0 0 LightSource "bospot" 1 "intensity" [50] "falloff" [2] "spotangle" [25.0] "penumbra" [ 5.0] "beamdistribution" [2.0] "lightcolor" [1 1 .95] "shadowcolor" [0.0 0.0 0.0] "shadowmap" "/u/bo/prman/textures/lighttest.shd" "shadowblur" [0.01] "shadownsamps" [16] "shadowbias" [0.05] #"slide" "/u/bo/prman/textures/shadowtexture.tx" #"slidebias" [0.25] TransformEnd TransformBegin Translate 0 5.5 -5 LightSource "pointlight" 4 "intensity" 10 "lightcolor" [1 1 1] TransformEnd LightSource "ambientlight" 5 "intensity" 1 Surface "plastic" "Ks" [0.0] "Kd" [0.9] "Ka" [0.1] "roughness" [0.1] Atmosphere "my_atmos" "density" [ 0.05] "redcomp" [ 1.00] "greencomp" [ 2.00] "bluecomp" [ 4.00] "minstepsize" [ 0.01] "maxstepsize" [ 0.20] ############################################################################ # Wall Definitions ############################################################################ AttributeBegin Illuminate 1 1 Translate 0 -0.01 0 Scale 5 5 5 Translate -0.5 0.0 -0.5 #floor Color [0.40 0.60 0.80] Polygon "P" [1 0 0 0 0 0 0 0 1 1 0 1] #ceiling Color [1.00 1.00 1.00] Polygon "P" [1 1 0 1 1 1 0 1 1 0 1 0] #back_wall Color [1.00 0.95 0.9] Polygon "P" [1 0 1 0 0 1 0 1 1 1 1 1] #right_wall Color [1.00 0.95 0.9] Polygon "P" [0 0 1 0 0 0 0 1 0 0 1 1] #left_wall Color [1.00 0.95 0.9] Polygon "P" [1 0 0 1 0 1 1 1 1 1 1 0] AttributeEnd ############################################################################ # Sphere ############################################################################ AttributeBegin Illuminate 1 1 Surface "plastic" "Ks" [0.4] "Kd" [0.6] "Ka" [0.1] "roughness" [0.1] Color [0.4 1.0 0.4] Translate 0.0 1.5 0.0 Scale 1 1 1 Translate 0.0 1.0 0.0 Sphere 1.0 -1.0 1.0 360.0 AttributeEnd ############################################################################ # Disk ############################################################################ AttributeBegin Illuminate 1 1 Surface "constant" Color [1.0 1.0 1.0] Translate 0.0 4.99 0.0 Scale 0.25 0.25 0.25 Rotate 90 1 0 0 Disk 0.0 1.0 360.0 AttributeEnd WorldEnd