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

Comparing ray/src/rt/rcmain.c (file contents):
Revision 2.33 by greg, Fri Nov 17 20:02:07 2023 UTC vs.
Revision 2.36 by greg, Fri Apr 5 16:41:17 2024 UTC

# Line 58 | Line 58 | char   RCCONTEXT[] = "RC.";            /* our special evaluation c
58                                  "ImmediateIrradiance\n" \
59                                  "ProgressReporting\nDistanceLimiting\n" \
60                                  "InputFormats=a,f,d\nOutputFormats=a,f,d,c\n" \
61 <                                "Outputs=V,W\n"
61 >                                "Outputs=V,W\n" \
62 >                                "OutputCS=RGB,spec\n"
63   #else
64   #define RCONTRIB_FEATURES       "Multiprocessing\n" \
65                                  "Accumulation\nSummation\nRecovery\n" \
66                                  "ImmediateIrradiance\n" \
67                                  "ProgressReporting\nDistanceLimiting\n" \
68                                  "InputFormats=a,f,d\nOutputFormats=a,f,d,c\n" \
69 <                                "Outputs=V,W\n"
69 >                                "Outputs=V,W\n" \
70 >                                "OutputCS=RGB,spec\n"
71   #endif
72  
73   static void
# Line 330 | Line 332 | main(int argc, char *argv[])
332                  error(USER, "missing required modifier argument");
333                                          /* override some option settings */
334          override_options();
335 +                                        /* set/check spectral sampling */
336 +        if (setspectrsamp(CNDX, WLPART) < 0)
337 +                error(USER, "unsupported spectral sampling");
338                                          /* initialize object types */
339          initotypes();
340                                          /* initialize urand */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines