##RenderMan RIB Format 256 256 1 # frame size Display "frame" "framebuffer" "rgba" Display "+barn_6_5.tif" "file" "rgba" Projection "perspective" "fov" [45] PixelSamples 4 4 Declare "sfreq" "float" Declare "tfreq" "float" Declare "seed" "float" Declare "max_height" "float" Declare "variation" "float" Declare "sparse" "float" Declare "ncones" "float" Declare "spikiness" "float" Declare "Ka" "float" Declare "basecolor" "color" 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] Attribute "displacementbound" "sphere" [.5] "coordinatesystem" ["shader"] ShadingRate 0.5 Displacement "barndisp" "max_height" [0.5] "ncones" [6] "spikiness" [5] "sfreq" [6] "tfreq" [6] "sparse" [0] "variation" [4] "seed" [15] Surface "barncolor" "ncones" [6] "sfreq" [6] "tfreq" [6] "sparse" [0] "variation" [4] "seed" [15] "basecolor" [1 1 1] # "basecolor" [0.5 0.4 0.35] Rotate -45 1 0 0 Patch "bilinear" "P" [-1 -1 0 1 -1 0 -1 1 0 1 1 0] WorldEnd