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

Comparing src/util/ranimove1.c (file contents):
Revision 3.25 by greg, Thu Mar 12 17:19:18 2020 UTC vs.
Revision 3.28 by greg, Tue Jul 1 19:40:35 2025 UTC

# Line 330 | Line 330 | setmotion(             /* compute motion vector for this pixel */
330                  multp3(ovp, wpos, obj_move[moi].bxfm);
331                  wpos = ovp;
332          }
333 <        if (viewloc(ovp, &vwprev, wpos) <= 0)
333 >        if (viewloc(ovp, &vwprev, wpos) != VL_GOOD)
334                  return;
335          xp = (int)(ovp[0]*hres);
336          yp = (int)(ovp[1]*vres);
# Line 379 | Line 379 | init_frame_sample(void)                /* sample our initial frame *
379                                          rayshade(&ir, ir.ro->omod);
380                                          rayparticipate(&ir);
381                                  }
382 <                                copycolor(cbuffer[n], ir.rcol);
382 >                                scolor_rgb(cbuffer[n], ir.rcol);
383                                  zbuffer[n] = ir.rot;
384                                  obuffer[n] = ir.robj;
385                                  abuffer[n] = ADISTANT;
# Line 403 | Line 403 | init_frame_sample(void)                /* sample our initial frame *
403                          n = ir.rno;
404                  } else
405                          ray_trace(&ir);
406 <                copycolor(cbuffer[n], ir.rcol);
406 >                scolor_rgb(cbuffer[n], ir.rcol);
407                  zbuffer[n] = ir.rot;
408                  obuffer[n] = ir.robj;
409                  sbuffer[n] = 1;
# Line 417 | Line 417 | init_frame_sample(void)                /* sample our initial frame *
417          if (nprocs > 1)                 /* get stragglers */
418                  while (ray_presult(&ir, 0)) {
419                          n = ir.rno;
420 <                        copycolor(cbuffer[n], ir.rcol);
420 >                        scolor_rgb(cbuffer[n], ir.rcol);
421                          zbuffer[n] = ir.rot;
422                          obuffer[n] = ir.robj;
423                          sbuffer[n] = 1;
# Line 916 | Line 916 | send_frame(void)                       /* send frame to destination */
916          if ((d < 0.99) | (d > 1.01))
917                  fputexpos(d, fp);
918          d = viewaspect(&vw) * hres / vres;
919 <        if ((d < 0.99) | (d > 1.01))
919 >        if ((d < 0.999) | (d > 1.001))
920                  fputaspect(d, fp);
921          fputformat(COLRFMT, fp);
922          fputc('\n', fp);                /* end header */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines