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

Comparing ray/src/rt/rv2.c (file contents):
Revision 2.72 by greg, Fri Feb 12 00:41:19 2021 UTC vs.
Revision 2.74 by greg, Wed Nov 15 18:02:53 2023 UTC

# Line 821 | Line 821 | traceray(                              /* trace a single ray */
821                  }
822                  (*dev->comin)(buf, NULL);
823                  sprintf(buf, "value (%.5g %.5g %.5g) (%.3gL)",
824 <                                colval(thisray.rcol,RED),
825 <                                colval(thisray.rcol,GRN),
826 <                                colval(thisray.rcol,BLU),
827 <                                luminance(thisray.rcol));
824 >                                scolval(thisray.rcol,RED),
825 >                                scolval(thisray.rcol,GRN),
826 >                                scolval(thisray.rcol,BLU),
827 >                                sluminance(thisray.rcol));
828                  (*dev->comout)(buf);
829          }
830          (*dev->comin)(buf, NULL);
# Line 870 | Line 870 | writepict(                             /* write the picture to a file */
870                  fputexpos(exposure, fp);
871          if (dev->pixaspect != 1.0)
872                  fputaspect(dev->pixaspect, fp);
873 +        fputprims(stdprims, fp);
874          fputformat(COLRFMT, fp);
875          putc('\n', fp);
876          fprtresolu(hresolu, vresolu, fp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines