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

Comparing ray/src/rt/rxtmain.cpp (file contents):
Revision 2.15 by greg, Sun Aug 3 18:20:44 2025 UTC vs.
Revision 2.16 by greg, Fri Dec 5 17:51:34 2025 UTC

# Line 265 | Line 265 | main(int  argc, char  *argv[])
265                          case 'Y':                       /* photopic response */
266                                  if (argv[i][3])
267                                          goto badopt;
268                                sens_curve = scolor_photopic;
268                                  out_scalefactor = WHTEFFICACY;
269 +                                sens_curve = scolor_photopic;
270                                  break;
271                          case 'S':                       /* scotopic response */
272                                  if (argv[i][3])
273                                          goto badopt;
274                                sens_curve = scolor_scotopic;
274                                  out_scalefactor = WHTSCOTOPIC;
275 +                                sens_curve = scolor_scotopic;
276                                  break;
277                          case 'M':                       /* melanopic response */
278                                  if (argv[i][3])
279                                          goto badopt;
280                                sens_curve = scolor_melanopic;
280                                  out_scalefactor = WHTMELANOPIC;
281 +                                sens_curve = scolor_melanopic;
282 +                                break;
283 +                        case 'A':                       /* radiometric average */
284 +                                if (argv[i][3])
285 +                                        goto badopt;
286 +                                out_scalefactor = 1;
287 +                                sens_curve = scolor_mean;
288                                  break;
289                          default:
290                                  goto badopt;

Diff Legend

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