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.26 by greg, Mon Feb 6 20:37:06 2023 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\nRecovery\n" \
58 +                                "ValueContribution\nImmediateIrradiance\n" \
59 +                                "ProgressReporting\nDistanceLimiting\n" \
60 +                                "Outputs=V,W\n"
61 + #else
62 + #define RCONTRIB_FEATURES       "Multiprocessing\n" \
63 +                                "Accumulation\nSummation\nRecovery\n" \
64 +                                "ValueContribution\nImmediateIrradiance\n" \
65 +                                "ProgressReporting\nDistanceLimiting\n" \
66 +                                "Outputs=V,W\n"
67 + #endif
68  
69   static void
70   printdefaults(void)                     /* print default values to stdout */
# Line 183 | Line 195 | main(int argc, char *argv[])
195          progname = argv[0] = fixargv0(argv[0]);
196          gargv = argv;
197          gargc = argc;
198 +                                        /* feature check only? */
199 +        strcat(RFeatureList, RCONTRIB_FEATURES);
200 +        if (argc > 1 && !strcmp(argv[1], "-features"))
201 +                return feature_status(argc-2, argv+2);
202   #if defined(_WIN32) || defined(_WIN64)
203          _setmaxstdio(2048);             /* increase file limit to maximum */
204   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines