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.20 by greg, Fri Apr 11 22:54:34 2014 UTC vs.
Revision 2.21 by greg, Sat Apr 19 02:39:44 2014 UTC

# Line 35 | Line 35 | typedef struct ambtree {
35          struct ambtree  *kid;   /* 8 child nodes */
36   }  AMBTREE;                     /* ambient octree */
37  
38 typedef struct {
39        COLOR  v;               /* division sum (partial) */
40        float  r;               /* 1/distance sum */
41        float  k;               /* variance for this division */
42        int    n;               /* number of subsamples */
43        unsigned short  t, p;   /* theta, phi indices */
44 }  AMBSAMP;             /* ambient sample division */
45
46 typedef struct {
47        FVECT  ux, uy, uz;      /* x, y and z axis directions */
48        COLOR  acoef;           /* division contribution coefficient */
49        int    ns;              /* number of super-samples */
50        int    nt, np;          /* number of theta and phi directions */
51 }  AMBHEMI;             /* ambient sample hemisphere */
52
38   extern double  maxarad;         /* maximum ambient radius */
39   extern double  minarad;         /* minimum ambient radius */
40  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines