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

Comparing ray/src/rt/rtmain.c (file contents):
Revision 2.60 by greg, Fri Jun 20 03:43:17 2025 UTC vs.
Revision 2.62 by greg, Fri Dec 5 17:51:34 2025 UTC

# Line 18 | Line 18 | static const char      RCSid[] = "$Id$";
18   #include  "ambient.h"
19   #include  "random.h"
20   #include  "pmapray.h"
21
22 extern char     *progname;              /* global argv[0] */
23
21                                          /* persistent processes define */
22   #ifdef  F_SETLKW
23   #define  PERSIST        1               /* normal persist */
# Line 304 | Line 301 | main(int  argc, char  *argv[])
301                          case 'S':                       /* scotopic response */
302                                  if (argv[i][3])
303                                          goto badopt;
307                                sens_curve = scolor_scotopic;
304                                  out_scalefactor = WHTSCOTOPIC;
305 +                                sens_curve = scolor_scotopic;
306                                  break;
307                          case 'M':                       /* melanopic response */
308                                  if (argv[i][3])
309                                          goto badopt;
313                                sens_curve = scolor_melanopic;
310                                  out_scalefactor = WHTMELANOPIC;
311 +                                sens_curve = scolor_melanopic;
312 +                                break;
313 +                        case 'A':                       /* radiometric average */
314 +                                if (argv[i][3])
315 +                                        goto badopt;
316 +                                out_scalefactor = 1;
317 +                                sens_curve = scolor_mean;
318                                  break;
319                          default:
320                                  goto badopt;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)