######################################################################### # # Noisy Ephants # ######################################################################### Format 512 512 1 PixelSamples 2 2 Display "n2ephants.tif" "framebuffer" "rgb" Projection "perspective" "fov" [30] ShadingRate 1 Translate 0 0 10 Rotate 70 1 0 0 Rotate 20 0 0 1 WorldBegin # Ambient light LightSource "ambientlight" 1 "intensity" [0.4] Illuminate 1 1 # Key light TransformBegin Translate 50 50 -100 LightSource "noisylight" 2 "intensity" [2] "lightcolor" [1 .6 .6] "noiseamp" [1] TransformEnd Illuminate 2 1 # Fill light TransformBegin Translate -50 -100 0 LightSource "noisylight" 3 "intensity" [.9] "lightcolor" [1 1 1] Illuminate 3 1 TransformEnd TransformBegin Scale .5 .5 .5 Surface "oak" "float divotdepth" [0.01] TransformEnd TransformBegin Translate -2.2 0 0 Scale .1 .1 .1 Rotate 180 1 0 0 Rotate -60 0 0 1 ReadArchive "gumbo.rib" TransformEnd TransformBegin Rotate 55 0 1 0 Scale .35 .35 .35 Surface "oak" "float divotdepth" [0] "float roughness" [0.075] "float Ks" [1.4] "float Kd" [0.3] "float grainy" [0.5] "color Cdarkwood" [0.07 0.04 0.014] TransformEnd TransformBegin Translate -.8 -1 0 Scale .1 .1 .1 Rotate 180 1 0 0 Rotate 20 0 0 1 ReadArchive "gumbo.rib" TransformEnd Surface "constant" Color [.75 .75 .75 ] Sphere 100 -100 100 -360 TransformBegin Rotate 85 0 1 0 Translate 2 0 0 Scale .75 .75 .75 Surface "oak" "float divotdepth" [0.0075] "color Clightwood" [0.5300 0.2439 0.1171] "color Cdarkwood" [0.4431 0.1729 0.0531] TransformEnd Scale 2.5 3.5 0.2 Patch "bilinear" "P" [ -1 1 0 1 1 0 -1 -1 0 1 -1 0 ] Patch "bilinear" "P" [ -1 -1 2 1 -1 2 -1 1 2 1 1 2] Patch "bilinear" "P" [ -1 -1 0 1 -1 0 -1 -1 2 1 -1 2] Patch "bilinear" "P" [ -1 1 2 1 1 2 -1 1 0 1 1 0 ] Patch "bilinear" "P" [ -1 -1 2 -1 1 2 -1 -1 0 -1 1 0 ] Patch "bilinear" "P" [ 1 -1 0 1 1 0 1 -1 2 1 1 2] WorldEnd