##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] Translate 0 -2.5 15 WorldBegin ############################################################################ # Light Source Definitions ############################################################################ #shadowed light for room TransformBegin Translate 5 5 0 Rotate -45 0 0 1 Rotate 90 1 0 0 LightSource "bospot" 1 "intensity" [75] "falloff" [1] "spotangle" [30.0] "penumbra" [0.0] "beamdistribution" [2.0] "lightcolor" [1 1 .95] "shadowcolor" [0.0 0.0 0.0] "shadowmap" "/u/bo/prman/textures/lighttest.shd" "shadowblur" [0.025] "shadownsamps" [32] "shadowbias" [0.05] "slide" "/u/bo/prman/textures/foliage.tex" "slidefov" [50] "slidebias" [0.25] TransformEnd TransformBegin Translate 0 3 -5 LightSource "ptlight" 4 "intensity" 10 "lightcolor" [1 1 1] "__nonatmos" [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.15] "integstart" [8.0] "integend" [20.0] "redcomp" [1.0] "greencomp" [1.0] "bluecomp" [1.0] "maxstepsize" [0.5] "minstepsize" [0.005] ############################################################################ # 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 ############################################################################ # Short Box Definition ############################################################################ AttributeBegin Illuminate 1 1 Color [1.0 0.4 0.4] Translate 1 0 0.5 Rotate -20.0 0 1 0 Scale 1.5 1.5 1.5 Translate -0.5 0 -0.5 Polygon "P" [1 0 0 0 0 0 0 0 1 1 0 1] Polygon "P" [1 1 0 1 1 1 0 1 1 0 1 0] Polygon "P" [1 0 1 0 0 1 0 1 1 1 1 1] Polygon "P" [1 0 0 0 0 0 0 1 0 1 1 0] Polygon "P" [0 0 1 0 0 0 0 1 0 0 1 1] Polygon "P" [1 0 0 1 0 1 1 1 1 1 1 0] AttributeEnd ############################################################################ # Tall Box Definition ############################################################################ AttributeBegin Illuminate 1 1 Color [0.4 0.5 1.0] #Surface "transobj" "freq" [2] Translate -1 0 -0.5 Rotate 20.0 0 1 0 Scale 1 3 1 Translate -0.5 0 -0.5 Polygon "P" [1 0 0 0 0 0 0 0 1 1 0 1] Polygon "P" [1 1 0 1 1 1 0 1 1 0 1 0] Polygon "P" [1 0 1 0 0 1 0 1 1 1 1 1] Polygon "P" [1 0 0 0 0 0 0 1 0 1 1 0] Polygon "P" [0 0 1 0 0 0 0 1 0 0 1 1] 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 1 1.5 0.5 Scale 0.25 0.25 0.25 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