# venus.rib # # Test file for the venus.sl shader. See pp. 277-279. # # Reference: # _Texturing and Modeling: A Procedural Approach_, by David S. Ebert, ed., # F. Kenton Musgrave, Darwyn Peachey, Ken Perlin, and Steven Worley. # Academic Press, 1998. ISBN 0-12-228730-4. # # version 3.03 ShadingRate 1 Display "venus.tif" "file" "rgb" Format 256 256 1 Format 400 400 1 PixelSamples 2 2 Projection "perspective" "fov" 35 Rotate -90 1 0 0 Translate 0 -5 0 WorldBegin LightSource "ambientlight" 1 "intensity" [0.015] LightSource "distantlight" 2 "from" [1.3 2 .1] "to" [0 0 0] "intensity" [0.95] AttributeBegin Declare "pswidth" "float" Declare "frequency" "float" Surface "starfield" "pswidth" .25 "frequency" 3 "intensity" 2 Sphere 100 -100 100 360 AttributeEnd AttributeBegin Surface "venus" Color [.7 .7 .5] Sphere 1 -1 1 360 AttributeEnd WorldEnd