home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume21 / rayshade / part01 / src / texture.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-03-21  |  1.4 KB  |  45 lines

  1. /*
  2.  * texture.h
  3.  *
  4.  * Copyright (C) 1989, Craig E. Kolb
  5.  *
  6.  * This software may be freely copied, modified, and redistributed,
  7.  * provided that this copyright notice is preserved on all copies.
  8.  *
  9.  * There is no warranty or other guarantee of fitness for this software,
  10.  * it is provided solely .  Bug reports or fixes may be sent
  11.  * to the author, who may or may not act on them as he desires.
  12.  *
  13.  * You may not include this software in a program or other software product
  14.  * without supplying the source, or without informing the end-user that the
  15.  * source is available for no extra charge.
  16.  *
  17.  * If you modify this software, you should include a notice giving the
  18.  * name of the person performing the modification, the date of modification,
  19.  * and the reason for such modification.
  20.  *
  21.  * $Id: texture.h,v 3.0 89/10/27 02:06:06 craig Exp $
  22.  *
  23.  * $Log:    texture.h,v $
  24.  * Revision 3.0  89/10/27  02:06:06  craig
  25.  * Baseline for first official release.
  26.  * 
  27.  */
  28.  
  29. #define CHECKER        0    /* Checkerboard */
  30. #define BLOTCH        1    /* Color blotches */
  31. #define BUMP        2    /* Bump mapping */
  32. #define MARBLE        3    /* marble texture */
  33. #define FBM        4    /* fBm texture */
  34. #define FBMBUMP        5    /* fBm bump map */
  35. #define WOOD        6
  36.  
  37. Texture *NewCheckText(), *NewBlotchText(), *NewBumpText(), *NewMarbleText();
  38. Texture *NewfBmText(), *NewfBmBumpText();
  39. Texture *NewWoodText();
  40. /*
  41.  * Texturing routines.
  42.  */
  43. int    CheckerText(), BlotchText(), BumpText(), MarbleText(), fBmText();
  44. int    fBmBumpText(), WoodText();
  45.