home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / GRAPHICS / rayshade.lzh / texture.h < prev    next >
Text File  |  1990-05-08  |  2KB  |  49 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.1.1 90/03/07 21:27:15 craig Exp $
  22.  *
  23.  * $Log:    texture.h,v $
  24.  * Revision 3.0.1.1  90/03/07  21:27:15  craig
  25.  * patch4: Added support for gloss texture.
  26.  * 
  27.  * Revision 3.0  89/10/27  02:06:06  craig
  28.  * Baseline for first official release.
  29.  * 
  30.  */
  31.  
  32. #define CHECKER        0    /* Checkerboard */
  33. #define BLOTCH        1    /* Color blotches */
  34. #define BUMP        2    /* Bump mapping */
  35. #define MARBLE        3    /* marble texture */
  36. #define FBM        4    /* fBm texture */
  37. #define FBMBUMP        5    /* fBm bump map */
  38. #define WOOD        6
  39. #define GLOSS        7
  40.  
  41. Texture *NewCheckText(), *NewBlotchText(), *NewBumpText(), *NewMarbleText();
  42. Texture *NewfBmText(), *NewfBmBumpText();
  43. Texture *NewWoodText(), *NewGlossText();
  44. /*
  45.  * Texturing routines.
  46.  */
  47. int    CheckerText(), BlotchText(), BumpText(), MarbleText(), fBmText();
  48. int    fBmBumpText(), WoodText(), GlossText();
  49.