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

Comparing ray/src/rt/renderopts.c (file contents):
Revision 2.8 by greg, Tue May 31 18:01:09 2005 UTC vs.
Revision 2.9 by greg, Mon Jun 13 20:07:56 2005 UTC

# Line 36 | Line 36 | getrenderopt(          /* get next render option */
36                  return(-1);
37                                          /* check if it's one we know */
38          switch (av[0][1]) {
39 +        case 'R':                               /* random sampling */
40 +                bool(2,rand_samp);
41 +                return(0);
42          case 'b':                               /* back face vis. */
43                  if (av[0][2] == 'v') {
44                          bool(3,backvis);
# Line 217 | Line 220 | print_rdefaults(void)          /* print default render values
220   {
221          printf(do_irrad ? "-i+\t\t\t\t# irradiance calculation on\n" :
222                          "-i-\t\t\t\t# irradiance calculation off\n");
223 +        printf(rand_samp ? "-R+\t\t\t\t# random sampling on\n" :
224 +                        "-R-\t\t\t\t# random sampling off\n");
225          printf(backvis ? "-bv+\t\t\t\t# back face visibility on\n" :
226                          "-bv-\t\t\t\t# back face visibility off\n");
227          printf("-dt %f\t\t\t# direct threshold\n", shadthresh);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines