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

Comparing ray/src/gen/mkillum.c (file contents):
Revision 2.33 by greg, Thu Dec 13 07:03:37 2007 UTC vs.
Revision 2.36 by greg, Sat Dec 12 19:00:59 2009 UTC

# Line 68 | Line 68 | main(          /* compute illum distributions using rtrace */
68          gargv = argv;
69          progname = gargv[0];
70                                  /* set up rendering defaults */
71 <        dstrsrc = 0.25;
71 >        dstrsrc = 0.5;
72          directrelay = 3;
73          directvis = 0;
74          ambounce = 2;
# Line 176 | Line 176 | char  *s;
176  
177  
178   void
179 + quit(ec)                        /* make sure exit is called */
180 + int     ec;
181 + {
182 +        if (ray_pnprocs > 0)    /* close children if any */
183 +                ray_pclose(0);          
184 +        exit(ec);
185 + }
186 +
187 +
188 + void
189   filter(         /* process stream */
190          register FILE   *infp,
191          char    *name
# Line 444 | Line 454 | printopts(void)                        /* print out option default values *
454                  printf("l+\t\t\t\t# light type on\n");
455          else
456                  printf("l-\t\t\t\t# light type off\n");
457 <        printf("d=%d\t\t\t\t# density of points\n", thisillum.sampdens);
458 <        printf("s=%d\t\t\t\t# samples per point\n", thisillum.nsamps);
457 >        printf("d=%d\t\t\t\t# density of directions\n", thisillum.sampdens);
458 >        printf("s=%d\t\t\t\t# samples per direction\n", thisillum.nsamps);
459          printf("b=%f\t\t\t# minimum average brightness\n", thisillum.minbrt);
460          switch (thisillum.udir) {
461          case UDzneg:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines