### William Schilthuis ### WilliamGS.com ### http://www.sfdm.scad.edu/faculty/mkesson/vsfx319/index.html ### spring 2009 ### Renderman Archive ### Matrix Composition ### Part 1 of 6 ### Description: ### Ambient Occlusion test. Use this to render AO per frame ### If you want to bake and resuse the AO, ### Render parts 2 and 3 instead. ### ### ### ### Option "searchpath" "shader" "@:../shaders" Option "searchpath" "texture" "../textures" Option "searchpath" "archive" "../archives:Cutter_Help/templates/Rib:custom_templates/Rib" Display "wgs_matrix_rook_AOtest.tif" "it" "rgba" Format 512 288 1 Projection "perspective" "fov" 52 ShadingRate 1.0 Translate 0.0 -0.2 0.5 Rotate 20 1 0 0 Rotate 15 0 1 0 Scale 1 1 -1 WorldBegin Attribute "visibility" "trace" [1] AttributeBegin #SCENE GROUP TransformBegin Surface "rtOcclude" "samples" [256] Attribute "visibility" "diffuse" [0] #optional secondary bounce? # ReadArchive "cutrAxes.rib" 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 "rtOcclude" "samples" [512] ReadArchive "wgs_matrix_rook_compositiongroup_archive.rib" AttributeEnd WorldEnd