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

  1. # modified by wave to reflect new shader names
  2. #
  3. # clouds.rib
  4. #
  5. # Test file for the puffyclouds.sl shader.  See pp. 268-269.
  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 "clouds.tif" "file" "rgb"
  19.  
  20. Projection "perspective" "fov" 45
  21. Translate 0 0 4
  22.  
  23. WorldBegin
  24.  
  25.   AttributeBegin
  26.     Surface "KMPuffyClouds"
  27.     Polygon "P" [-2 2 0  2 2 0  2 -2 0  -2 -2 0]
  28.   AttributeEnd
  29.  
  30. WorldEnd
  31.