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.74 by greg, Wed Nov 15 18:02:53 2023 UTC vs.
Revision 2.75 by greg, Fri Nov 17 20:02:07 2023 UTC

# Line 755 | Line 755 | traceray(                              /* trace a single ray */
755   {
756          RAY     thisray;
757          char    buf[512];
758 +        COLOR   col;
759  
760          thisray.rmax = 0.0;
761  
# Line 820 | Line 821 | traceray(                              /* trace a single ray */
821                          (*dev->comout)(buf);
822                  }
823                  (*dev->comin)(buf, NULL);
824 +                scolor_rgb(col, thisray.rcol);
825                  sprintf(buf, "value (%.5g %.5g %.5g) (%.3gL)",
826 <                                scolval(thisray.rcol,RED),
827 <                                scolval(thisray.rcol,GRN),
828 <                                scolval(thisray.rcol,BLU),
829 <                                sluminance(thisray.rcol));
826 >                                colval(col,RED),
827 >                                colval(col,GRN),
828 >                                colval(col,BLU),
829 >                                luminance(col));
830                  (*dev->comout)(buf);
831          }
832          (*dev->comin)(buf, NULL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines