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.39 by greg, Sat Oct 13 20:15:43 2012 UTC vs.
Revision 2.41 by greg, Tue Feb 2 18:02:32 2016 UTC

# Line 8 | Line 8 | static const char RCSid[] = "$Id$";
8   #include  <signal.h>
9   #include  <ctype.h>
10  
11 < #include  "rtprocess.h" /* win_popen() */
11 > #include  "paths.h"             /* win_popen() */
12   #include  "mkillum.h"
13  
14                                  /* default parameters */
# Line 24 | Line 24 | static const char RCSid[] = "$Id$";
24  
25   struct illum_args  thisillum = {        /* our illum and default values */
26                  0,
27                0.,
27                  DFLMAT,
28                  DFLDAT,
29                  0,
# Line 360 | Line 359 | xoptions(                      /* process options in string s */
359                          }
360                          doneheader = 0;
361                          continue;
363                case 't':                       /* object thickness */
364                        if (*++cp != '=')
365                                break;
366                        if (!isfltd(++cp, " \t\n\r"))
367                                break;
368                        thisillum.thick = atof(cp);
369                        if (thisillum.thick < .0)
370                                thisillum.thick = .0;
371                        cp = sskip(cp);
372                        continue;
362                  case '!':                       /* processed file! */
363                          sprintf(errmsg, "(%s): already processed!", nm);
364                          error(WARNING, errmsg);
# Line 415 | Line 404 | printopts(void)                        /* print out option default values *
404          printf("d=%d\t\t\t\t# density of directions\n", thisillum.sampdens);
405          printf("s=%d\t\t\t\t# samples per direction\n", thisillum.nsamps);
406          printf("b=%f\t\t\t# minimum average brightness\n", thisillum.minbrt);
418        printf("t=%f\t\t\t# object thickness\n", thisillum.thick);
407   }
408  
409  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines