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.6 by greg, Fri Aug 13 22:57:56 2004 UTC vs.
Revision 2.8 by greg, Tue May 31 18:01:09 2005 UTC

# Line 144 | Line 144 | getrenderopt(          /* get next render option */
144                                          getpath(av[1],getrlibpath(),R_OK));
145                                  if (rval < 0) {
146                                          sprintf(errmsg,
147 <                        "cannot open ambient include file \"%s\"", av[0]);
147 >                        "cannot open ambient include file \"%s\"", av[1]);
148                                          error(SYSTEM, errmsg);
149                                  }
150                                  amblp += rval;
# Line 165 | Line 165 | getrenderopt(          /* get next render option */
165                                          getpath(av[1],getrlibpath(),R_OK));
166                                  if (rval < 0) {
167                                          sprintf(errmsg,
168 <                        "cannot open ambient exclude file \"%s\"", av[0]);
168 >                        "cannot open ambient exclude file \"%s\"", av[1]);
169                                          error(SYSTEM, errmsg);
170                                  }
171                                  amblp += rval;
# Line 245 | Line 245 | print_rdefaults(void)          /* print default render values
245                          colval(salbedo,GRN), colval(salbedo,BLU));
246          printf("-mg %f\t\t\t# mist scattering eccentricity\n", seccg);
247          printf("-ms %f\t\t\t# mist sampling distance\n", ssampdist);
248 <        printf("-lr %-9d\t\t\t# limit reflection\n", maxdepth);
248 >        printf("-lr %-9d\t\t\t# limit reflection%s\n", maxdepth,
249 >                        maxdepth<=0 ? " (Russian roulette)" : "");
250          printf("-lw %f\t\t\t# limit weight\n", minweight);
251   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines