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

Comparing ray/src/rt/ambient.c (file contents):
Revision 2.119 by greg, Fri Nov 17 20:02:07 2023 UTC vs.
Revision 2.120 by greg, Wed Nov 22 16:21:48 2023 UTC

# Line 649 | Line 649 | initambfile(           /* initialize ambient file */
649                  fprintf(ambfp, "-cw %g %g -cs %d ", WLPART[3], WLPART[0], NCSAMP);
650                  if (octname != NULL)
651                          fputs(octname, ambfp);
652 <                fputc('\n', ambfp);
652 >                fputc('\n', ambfp);     /* end of command line, not header! */
653                  fprintf(ambfp, "SOFTWARE= %s\n", VersionID);
654                  fputnow(ambfp);
655 +                AMB_CNDX = CNDX;        /* use current spectral sampling */
656 +                AMB_WLPART = WLPART;
657                  fputwlsplit(WLPART, ambfp);
658                  fputncomp(NCSAMP, ambfp);
659                  fputformat(AMBFMT, ambfp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines