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.13 by greg, Wed Apr 5 06:22:56 2006 UTC vs.
Revision 2.15 by greg, Tue Jul 8 18:25:00 2014 UTC

# Line 13 | Line 13 | static const char      RCSid[] = "$Id$";
13   #include  "paths.h"
14  
15  
16 < extern int
16 > int
17   getrenderopt(           /* get next render option */
18          int  ac,
19          char  *av[]
# Line 82 | Line 82 | getrenderopt(          /* get next render option */
82                          check(3,"f");
83                          specthresh = atof(av[1]);
84                          return(1);
85 <                case 'j':                               /* jitter */
85 >                case 's':                               /* sampling */
86                          check(3,"f");
87                          specjitter = atof(av[1]);
88                          return(1);
# Line 215 | Line 215 | getrenderopt(          /* get next render option */
215   }
216  
217  
218 < extern void
218 > void
219   print_rdefaults(void)           /* print default render values to stdout */
220   {
221          printf(do_irrad ? "-i+\t\t\t\t# irradiance calculation on\n" :
# Line 232 | Line 232 | print_rdefaults(void)          /* print default render values
232          printf("-dp %-9d\t\t\t# direct pretest density\n", vspretest);
233          printf(directvis ? "-dv+\t\t\t\t# direct visibility on\n" :
234                          "-dv-\t\t\t\t# direct visibility off\n");
235 <        printf("-sj %f\t\t\t# specular jitter\n", specjitter);
235 >        printf("-ss %f\t\t\t# specular sampling\n", specjitter);
236          printf("-st %f\t\t\t# specular threshold\n", specthresh);
237          printf("-av %f %f %f\t# ambient value\n", colval(ambval,RED),
238                          colval(ambval,GRN), colval(ambval, BLU));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines