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.35 by greg, Thu Jan 18 00:28:54 2024 UTC vs.
Revision 2.39 by greg, Wed Oct 30 17:26:13 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 86 | Line 88 | printdefaults(void)                    /* print default values to stdou
88                          "-h-\t\t\t\t# no header\n");
89          printf("-f%c%c\t\t\t\t# format input/output = %s/%s\n",
90                          inpfmt, outfmt, formstr(inpfmt), formstr(outfmt));
91 +        if (report_intvl > 0)
92 +                printf("-t %-9d\t\t\t#  time between reports\n", report_intvl);
93          printf(erract[WARNING].pf != NULL ?
94                          "-w+\t\t\t\t# warning messages on\n" :
95                          "-w-\t\t\t\t# warning messages off\n");
# Line 387 | Line 391 | main(int argc, char *argv[])
391          
392          rcontrib();                     /* trace ray contributions (loop) */
393  
390        ambsync();                      /* flush ambient file */
391
394          /* PMAP: free photon maps */
395          ray_done_pmap();    
396          
# Line 413 | Line 415 | wputs(                         /* warning output function */
415   )
416   {
417          int  lasterrno = errno;
418 +        if (erract[WARNING].pf == NULL)
419 +                return;         /* called by calcomp or someone */
420          eputs(s);
421          errno = lasterrno;
422   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines