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.21 by greg, Wed Mar 30 16:00:56 2022 UTC vs.
Revision 2.22 by greg, Wed Oct 19 21:25:20 2022 UTC

# Line 53 | Line 53 | void   (*addobjnotify[8])() = {ambnotify, NULL};
53  
54   char    RCCONTEXT[] = "RC.";            /* our special evaluation context */
55  
56 + #if defined(_WIN32) || defined(_WIN64)
57 + #define RCONTRIB_FEATURES       "Accumulation\nSummation\nRAWrecovery\n" \
58 +                                "ValueContribution\nImmediateIrradiance\n" \
59 +                                "ProgressReporting\nDistanceLimiting\n"
60 + #else
61 + #define RCONTRIB_FEATURES       "Multiprocessing\n" \
62 +                                "Accumulation\nSummation\nRAWrecovery\n" \
63 +                                "ValueContribution\nImmediateIrradiance\n" \
64 +                                "ProgressReporting\nDistanceLimiting\n"
65 + #endif
66  
67   static void
68   printdefaults(void)                     /* print default values to stdout */
# Line 183 | Line 193 | main(int argc, char *argv[])
193          progname = argv[0] = fixargv0(argv[0]);
194          gargv = argv;
195          gargc = argc;
196 +                                        /* feature check only? */
197 +        strcat(RFeatureList, RCONTRIB_FEATURES);
198 +        if (!strcmp(argv[1], "-features"))
199 +                return feature_status(argc-2, argv+2);
200   #if defined(_WIN32) || defined(_WIN64)
201          _setmaxstdio(2048);             /* increase file limit to maximum */
202   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines