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

Comparing ray/src/rt/rmain.c (file contents):
Revision 1.14 by greg, Fri Jun 9 18:02:37 1989 UTC vs.
Revision 1.15 by greg, Tue Jun 13 10:57:35 1989 UTC

# Line 70 | Line 70 | extern double  dstrpix;                        /* square pixel distribution
70  
71   extern double  dstrsrc;                 /* square source distribution */
72   extern double  shadthresh;              /* shadow threshold */
73 + extern double  shadcert;                /* shadow testing certainty */
74  
75   extern int  maxdepth;                   /* maximum recursion depth */
76   extern double  minweight;               /* minimum ray weight */
# Line 179 | Line 180 | char  *argv[];
180                                  check(3,1);
181                                  shadthresh = atof(argv[++i]);
182                                  break;
183 +                        case 'c':                               /* certainty */
184 +                                check(3,1);
185 +                                shadcert = atof(argv[++i]);
186 +                                break;
187                          case 'j':                               /* jitter */
188                                  check(3,1);
189                                  dstrsrc = atof(argv[++i]);
# Line 538 | Line 543 | printdefaults()                        /* print default values to stdout */
543          printf("-y  %-9d\t\t\t# y resolution\n", vresolu);
544   #endif
545          printf("-dt %f\t\t\t# direct threshold\n", shadthresh);
546 +        printf("-dc %f\t\t\t# direct certainty\n", shadcert);
547          printf("-dj %f\t\t\t# direct jitter\n", dstrsrc);
548   #if  RPICT|RVIEW
549          printf("-sp %-9d\t\t\t# sample pixel\n", psample);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)