### William Schilthuis ### WilliamGS.com ### http://www.sfdm.scad.edu/faculty/mkesson/vsfx319/index.html ### spring 2009 ### Renderman Archive ### Matrix Composition ### Part 6 of 6 ### Description: ### Final Render ### ### Depth of Field, Raytracing, Textures, Displacement ### ### ### ### Option "searchpath" "shader" "@:../shaders" Option "searchpath" "texture" "../textures" Option "searchpath" "archive" "../archives:Cutter_Help/templates/Rib:custom_templates/Rib" Display "wgs_matrix_rook_renderComp.tif" "it" "rgba" # Display "+wgs_matrix_rook_renderAO.tif" "it" "_occlusion" Format 512 288 1 Projection "perspective" "fov" 52 ShadingRate 1 DepthOfField 32 1 0.5 PixelSamples 8 8 Translate 0.0 -0.2 0.5 Rotate 20 1 0 0 Rotate 15 0 1 0 Scale 1 1 -1 # USE FOR RAYTRACED SHADOWS Attribute "visibility" "trace" [1] Attribute "shade" "string transmissionhitmode" ["primitive"] Attribute "visibility" "int transmission" [1] Attribute "bound" "displacement" [0.10] WorldBegin LightSource "shadowspot" 1 "intensity" 25.0 "lightcolor" [1.0 0.95 0.9] "from" [-4.0 3.0 1.0] "to" [0.0 0.0 0.0] "coneangle" 0.55 "conedeltaangle" 0.15 #edge sharpness # "beamdistribution" 2.0 "shadowname" ["wgs_matrix_rook_spot1.tx"] #render and use this shadow map (above) "samples" 128.0 "width" 16.0 LightSource "shadowspot" 2 "intensity" 32.0 "lightcolor" [0.9 0.9 1.0] "from" [4.0 1.0 2.0] "to" [0.0 0.0 0.0] "coneangle" 0.55 "conedeltaangle" 0.15 #edge sharpness # "beamdistribution" 2.0 "shadowname" ["wgs_matrix_rook_spot2.tx"] #render and use this shadow map (above) "samples" 128.0 "width" 16.0 #Surface "rtOcclude" "samples" [256] AttributeBegin #SCENE GROUP Surface "combo" "texname" ["checker.tex"] #"traname" ["wgsfiletest.tex"] "Ks" 0.3 "Kd" 1.0 TransformBegin Scale 10 10 10 Polygon "P" [-0.5 0 -0.5 -0.5 0 0.5 0.5 0 0.5 0.5 0 -0.5] "st" [0 0 0 1 1 1 1 0] TransformEnd AttributeEnd AttributeBegin #COMPOSITION GROUP Surface "combo" "texname" ["compwood_color.tex"] #"traname" ["wgsfiletest.tex"] "Ks" 0.1 "Kd" 1.0 Displacement "emboss" "texname" ["compwood_height.tex"] "Km" -0.002 ReadArchive "wgs_matrix_rook_compositiongroup_archive.rib" AttributeEnd WorldEnd #System "shake -script convertToJPG.shk"