ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/ambient.h
(Generate patch)

Comparing ray/src/rt/ambient.h (file contents):
Revision 2.1 by greg, Tue Nov 12 17:10:27 1991 UTC vs.
Revision 2.6 by greg, Wed Feb 14 15:18:19 1996 UTC

# Line 12 | Line 12
12   * and don't pass these vectors to fvect routines.
13   */
14   typedef struct ambrec {
15 +        unsigned long  latick;  /* last accessed tick */
16          float  pos[3];          /* position in space */
17          float  dir[3];          /* normal direction */
18          int  lvl;               /* recursion level of parent ray */
# Line 24 | Line 25 | typedef struct ambrec {
25   }  AMBVAL;                      /* ambient value */
26  
27   extern COLOR  ambval;           /* global ambient component */
28 + extern int  ambvwt;             /* initial weight for ambient value */
29   extern double  ambacc;          /* ambient accuracy */
30   extern int  ambres;             /* ambient resolution */
31   extern int  ambdiv;             /* number of divisions for calculation */
# Line 37 | Line 39 | extern double  minarad;                /* minimum ambient radius */
39   extern double  sumambient(), doambient(), makeambient();
40  
41   #define  AVGREFL        0.5     /* assumed average reflectance */
42 +
43 + #define  AMBVALSIZ      75      /* number of bytes in portable AMBVAL struct */
44 + #define  AMBMAGIC       557     /* magic number for ambient value files */
45 + #define  AMBFMT         "Radiance_ambval"       /* format id string */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines