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.1 by greg, Thu Feb 2 10:41:37 1989 UTC vs.
Revision 1.6 by greg, Mon Jul 10 15:21:28 1989 UTC

# Line 35 | Line 35 | int  hresolu = 0;                      /* horizontal (scan) size */
35   int  vresolu = 0;                       /* vertical resolution */
36  
37   double  dstrsrc = 0.0;                  /* square source distribution */
38 + double  shadthresh = .05;               /* shadow threshold */
39 + double  shadcert = .5;                  /* shadow certainty */
40  
41   int  maxdepth = 6;                      /* maximum recursion depth */
42   double  minweight = 4e-3;               /* minimum ray weight */
43  
44   COLOR  ambval = BLKCOLOR;               /* ambient value */
45   double  ambacc = 0.2;                   /* ambient accuracy */
46 < int  ambres = 128;                      /* ambient resolution */
46 > int  ambres = 32;                       /* ambient resolution */
47   int  ambdiv = 128;                      /* ambient divisions */
48   int  ambssamp = 0;                      /* ambient super-samples */
49   int  ambounce = 0;                      /* ambient bounces */
# Line 73 | Line 75 | char  *fname;
75          long  vcount = hresolu>1 ? hresolu*vresolu : vresolu;
76          long  nextflush = hresolu;
77          FILE  *fp;
78 <        FVECT  orig, direc, vcol;
78 >        FVECT  orig, direc;
79                                          /* set up input */
80          if (fname == NULL)
81                  fp = stdin;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines