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

Comparing ray/src/rt/rpict.c (file contents):
Revision 2.76 by greg, Mon Jun 13 20:07:56 2005 UTC vs.
Revision 2.77 by greg, Wed Apr 5 06:22:56 2006 UTC

# Line 677 | Line 677 | pixvalue(              /* compute pixel value */
677                  return(0.0);
678          }
679          vdist = ourview.vdist;
680 <
681 <        if (rand_samp)                          /* set pixel index */
682 <                samplendx = random();
683 <        else
684 <                samplendx = pixnumber(x,y,hres,vres);
685 <
680 >                                                /* set pixel index */
681 >        samplendx = pixnumber(x,y,hres,vres);
682                                                  /* optional motion blur */
683          if (lastview.type && mblur > FTINY && (lmax = viewray(lorg, ldir,
684                                          &lastview, hpos, vpos)) >= -FTINY) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines