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.61 by greg, Fri Jun 20 16:34:23 2025 UTC vs.
Revision 2.62 by greg, Fri Dec 5 17:51:34 2025 UTC

# Line 301 | Line 301 | main(int  argc, char  *argv[])
301                          case 'S':                       /* scotopic response */
302                                  if (argv[i][3])
303                                          goto badopt;
304                                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;
310                                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)