home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / Shaders / TexturingAndModeling:AProceduralApproach / KMShaders / cyclone.rib < prev    next >
Encoding:
Text File  |  1995-03-22  |  852 b   |  43 lines

  1. # modified by wave to reflect new shader names
  2. #
  3. # cyclone.rib
  4. #
  5. # Test file for the cyclone.sl shader.  See pp. 275-277.
  6. #
  7. # Reference:
  8. #    _Texturing and Modeling: A Procedural Approach_, by David S. Ebert, ed.,
  9. #    F. Kenton Musgrave, Darwyn Peachey, Ken Perlin, and Steven Worley.
  10. #    Academic Press, 1994.  ISBN 0-12-228760-6.
  11. #
  12.  
  13. version 3.03
  14. ShadingRate 1
  15. PixelSamples 1 1
  16. Format 256 256 -1
  17.  
  18. Display "cyclone.tif" "file" "rgb"
  19.  
  20. Projection "perspective" "fov" 20
  21. Rotate -90 1 0 0
  22. Translate 0 -4 -.25
  23.  
  24. WorldBegin
  25.  
  26.   LightSource "ambientlight" 1 "intensity" 0.025
  27.   LightSource "distantlight" 2 "from" [1.5 2 .1] "to" [0 0 0]
  28.  
  29.   AttributeBegin
  30.     Surface "matte"
  31.     Color [.05 .05 .4]
  32.     Sphere 1 -1 1 360
  33.   AttributeEnd
  34.  
  35.   AttributeBegin
  36.     Rotate 115 1 0 0
  37.     Surface "KMCyclone"
  38.     Sphere 1.01 -1.01 1.01 360
  39.   AttributeEnd
  40.  
  41. WorldEnd
  42.