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

Comparing ray/src/rt/rv3.c (file contents):
Revision 2.43 by greg, Thu Jan 23 19:20:54 2020 UTC vs.
Revision 2.44 by greg, Wed Nov 15 18:02:53 2023 UTC

# Line 213 | Line 213 | paint(                 /* compute and paint a rectangle */
213          
214          if ((thisray.rmax = viewray(thisray.rorg, thisray.rdir, &ourview,
215                          h/hresolu, v/vresolu)) < -FTINY) {
216 <                setcolor(thisray.rcol, 0.0, 0.0, 0.0);
216 >                scolorblack(thisray.rcol);
217          } else if (!ray_pnprocs) {              /* immediate mode */
218                  ray_trace(&thisray);
219          } else {                                /* queuing mode */
# Line 229 | Line 229 | paint(                 /* compute and paint a rectangle */
229                  p = (PNODE *)thisray.rno;
230          }
231  
232 <        copycolor(p->v, thisray.rcol);
232 >        scolor_color(p->v, thisray.rcol);
233          scalecolor(p->v, exposure);
234  
235          recolor(p);                             /* paint it */
# Line 271 | Line 271 | waitrays(void)                                 /* finish up pending rays */
271                  return(0);
272          while ((rval = ray_presult(&raydone, 0)) > 0) {
273                  PNODE  *p = (PNODE *)raydone.rno;
274 <                copycolor(p->v, raydone.rcol);
274 >                scolor_color(p->v, raydone.rcol);
275                  scalecolor(p->v, exposure);
276                  recolor(p);
277                  nwaited++;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines