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

Comparing ray/src/rt/rtrace.c (file contents):
Revision 1.13 by greg, Wed May 1 11:16:58 1991 UTC vs.
Revision 1.15 by greg, Wed Jun 19 16:36:48 1991 UTC

# Line 30 | Line 30 | static char SCCSid[] = "$SunId$ LBL";
30  
31   #include  "otypes.h"
32  
33 + int  dimlist[MAXDIM];                   /* sampling dimensions */
34 + int  ndims = 0;                         /* number of sampling dimensions */
35 + int  samplendx = 0;                     /* index for this sample */
36 +
37   int  imm_irrad = 0;                     /* compute immediate irradiance? */
38  
39   int  inform = 'a';                      /* input format */
# Line 42 | Line 46 | int  vresolu = 0;                      /* vertical resolution */
46   double  dstrsrc = 0.0;                  /* square source distribution */
47   double  shadthresh = .05;               /* shadow threshold */
48   double  shadcert = .5;                  /* shadow certainty */
49 + int  directrelay = 0;                   /* number of source relays */
50  
51   int  maxdepth = 6;                      /* maximum recursion depth */
52   double  minweight = 4e-3;               /* minimum ray weight */
# Line 106 | Line 111 | char  *fname;
111                          fflush(stdout);
112                          continue;
113                  }
114 +                samplendx++;
115                                                          /* compute and print */
116                  if (imm_irrad)
117                          irrad(orig, direc);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines