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

Comparing ray/src/rt/rcmain.c (file contents):
Revision 2.2 by greg, Sun Jun 10 05:25:42 2012 UTC vs.
Revision 2.4 by greg, Fri Jun 15 00:57:40 2012 UTC

# Line 44 | Line 44 | int    lim_dist = 0;                   /* limit distance? */
44   const char      *modname[MAXMODLIST];   /* ordered modifier name list */
45   int             nmods = 0;              /* number of modifiers */
46  
47 + void    (*addobjnotify[8])() = {ambnotify, NULL};
48 +
49   char    RCCONTEXT[] = "RCONTRIB";       /* our special evaluation context */
50  
49 void    (*addobjnotify[8])() = {ambnotify, tranotify, NULL};
51  
51
52   static void
53   printdefaults(void)                     /* print default values to stdout */
54   {
55          char  *cp;
56  
57 +        printf("-c %-5d\t\t\t# accumulated rays per record\n", accumulate);
58 +        printf("-V%c\t\t\t\t# output %s\n", contrib ? '+' : '-',
59 +                        contrib ? "contributions" : "coefficients");
60          if (imm_irrad)
61                  printf("-I+\t\t\t\t# immediate irradiance on\n");
62          printf("-n %-2d\t\t\t\t# number of rendering processes\n", nproc);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines