home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / GRAPHICS / rayshade.lzh / defaults.h < prev    next >
Text File  |  1990-05-08  |  2KB  |  54 lines

  1. /*
  2.  * defaults.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: defaults.h,v 3.0.1.1 89/12/02 16:50:42 craig Exp $
  22.  *
  23.  * $Log:    defaults.h,v $
  24.  * Revision 3.0.1.1  89/12/02  16:50:42  craig
  25.  * patch2: Added default value for ReportFreq.
  26.  * 
  27.  * Revision 3.0  89/10/27  02:05:49  craig
  28.  * Baseline for first official release.
  29.  * 
  30.  */
  31.  
  32. #define DEFLIGHTSAMPLES    4    /* sqrt of number of shadow rays per pixel */
  33.  
  34. #define XRESOLUTION    512        /* Default screen size (pixels) */
  35. #define YRESOLUTION    512
  36. #define DEFCUTOFF    0.001        /* Default tree cutoff value */
  37. #define MAXLEVEL    3        /* Maximum ray tree depth. */
  38. #define PIXEL_DIV    1        /* Maximum pixel subdivision factor */
  39. #define HFOV        45        /* Field-of-view */
  40. #define EYEX        0        /* Eye position */
  41. #define EYEY        20
  42. #define EYEZ        0
  43. #define LOOKX        0        /* Look point */
  44. #define LOOKY        0
  45. #define LOOKZ        0
  46. #define UPX        0        /* Up vector */
  47. #define UPY        0
  48. #define UPZ        1
  49. #define REPORTFREQ    10        /* Frequency of status report */
  50.  
  51. #define DEFREDCONT    0.25        /* Default contrast threshold values. */
  52. #define DEFGREENCONT    0.2
  53. #define DEFBLUECONT    0.4
  54.