##RenderMan RIB-Structure 1.1 ##Scene Test ##Creator Timm Dapper ##CreationDate 01-02-05 ##Frames 1 version 3.03 Display "tree.tif" "framebuffer" "rgb" Format 640 480 1 PixelSamples 1 1 Projection "perspective" "fov" 30 Clipping 1 500 FrameBegin 1 # Camera Transformation # Change the second value to change the height over ground and the last to change the distance from the tree Translate 0 -10 42 WorldBegin # Lightsources LightSource "ambientlight" 1 "lightcolor" [1 1 1] "intensity" [0.1] LightSource "distantlight" 2 "lightcolor" [1 1 1] "intensity" [1.8] "from" [2 2 -4] "to" [0 0 0] # This adds a ground plane Surface "matte" "Kd" 0.6 Patch "bilinear" "P" [1000 0 1000 1000 0 -1000 -1000 0 1000 -1000 0 -1000] AttributeBegin # The tree needs to be rotated, since in xfrog the z-vector is up, in RenderMan y is up Rotate -90 1 0 0 # This reads the TreeAcrhive. Change myTree.rib to the name of your Archive and set the Bounding Volume Procedural "DelayedReadArchive" ["myTree.rib"] [-1 1 -1 1 -1 1] # If your Renderer doesn't support the Standard Procedurals, remove the line above # and uncomment the line below (remove the leading #) #ReadArchive "myTree.rib" AttributeEnd WorldEnd FrameEnd