##RenderMan RIB # set your frame resolution here: #Format 128 128 1 Format 256 256 1 #Format 512 512 1 #Format 1024 1024 1 # use first one for screen display, second line to write to a file Display "frame" "framebuffer" "rgba" #Display "../../../HTML/Pix/test.tif" "file" "rgba" #Display "../../../HTML/Pix/test.jpg" "file" "rgb" Projection "perspective" "fov" [45] Scale -1 1 1 Rotate 0 0 0 1 Rotate 0 1 0 0 Rotate 180 0 1 0 Translate 0 0 -2.4 WorldBegin LightSource "distantlight" 2 "intensity" [1] "lightcolor" [1 1 1] "from" [0 0 10] "to" [0 0 0] Rotate 90 1 0 0 Attribute "displacementbound" "sphere" [.5] "coordinatesystem" ["shader"] # call your surface shader here: Surface "n1" #Patch "bilinear" "P" [-1 1 0 1 1 0 -1 -1 0 1 -1 0] Sphere 0.75 -0.75 0.75 360 WorldEnd