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

Comparing ray/src/rt/rtmain.c (file contents):
Revision 2.52 by greg, Fri Apr 5 16:43:33 2024 UTC vs.
Revision 2.54 by greg, Tue Aug 20 18:57:11 2024 UTC

# Line 59 | Line 59 | extern void  tranotify(OBJECT obj);
59   char  *tralist[MAXMODLIST];             /* list of modifers to trace (or no) */
60   int  traincl = -1;                      /* include == 1, exclude == 0 */
61  
62 < double  (*sens_curve)(SCOLOR scol) = NULL;      /* spectral conversion for 1-channel */
62 > double  (*sens_curve)(const SCOLOR scol) = NULL;        /* spectral conversion for 1-channel */
63   double  out_scalefactor = 1;            /* output calibration scale factor */
64   RGBPRIMP  out_prims = stdprims;         /* output color primitives (NULL if spectral) */
65   static RGBPRIMS  our_prims;             /* private output color primitives */
# Line 632 | Line 632 | printdefaults(void)                    /* print default values to stdou
632                                  out_prims[GRN][0], out_prims[GRN][1],
633                                  out_prims[BLU][0], out_prims[BLU][1],
634                                  out_prims[WHT][0], out_prims[WHT][1]);
635 <        if (NCSAMP > 3)
635 >        if ((sens_curve == NULL) & (NCSAMP > 3))
636                  printf(out_prims != NULL ? "-co-\t\t\t\t# output tristimulus colors\n" :
637                                  "-co+\t\t\t\t# output spectral values\n");
638          print_rdefaults();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines