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

Comparing ray/src/util/ranimove1.c (file contents):
Revision 3.24 by greg, Sat Nov 17 20:15:51 2018 UTC vs.
Revision 3.26 by greg, Thu May 14 20:58:03 2020 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 421 | Line 421 | init_frame_sample(void)                /* sample our initial frame *
421                          zbuffer[n] = ir.rot;
422                          obuffer[n] = ir.robj;
423                          sbuffer[n] = 1;
424 <                        if (ir.rot >= FHUGE)
424 >                        if (ir.rot >= 0.99*FHUGE)
425                                  abuffer[n] = ADISTANT;
426                          else {
427                                  abuffer[n] = ALOWQ;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines