##RenderMan RIB # set your frame resolution here: Format 256 256 1 # use first one for screen display, second line to write to a file #Display "frame" "framebuffer" "rgba" Display "rock_10_2_01.tif" "file" "rgb" Declare "freq" "float" Declare "twist" "float" Declare "seed" "float" Declare "Km" "float" Declare "tipcolor" "color" Declare "sidecolor" "color" 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 "ambientlight" 1 "intensity" [0.1] LightSource "distantlight" 2 "intensity" [1] "lightcolor" [1 1 1] "from" [5 5 10] "to" [0 0 0] LightSource "pointlight" 3 "intensity" [25] "from" [-5 -5 5] Rotate 90 1 0 0 Attribute "displacementbound" "sphere" [.5] "coordinatesystem" ["shader"] Displacement "rockdisp" "freq" [10] "twist" [2] "seed" [1942] "Km" [0.1] Surface "rockcolor" "freq" [10] "twist" [2] "seed" [1942] "tipcolor" [1 1 1] "sidecolor" [0 0 0] Color 0.5 0.4 0.35 Sphere 0.75 -0.75 0.75 360 WorldEnd