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.78 by greg, Tue Mar 11 02:21:47 2008 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) {
# Line 714 | Line 710 | pixvalue(              /* compute pixel value */
710                          }
711                  } else {                        /* non-standard view case */
712                          double  dfd = PI/4.*dblur*(.5 - frandom());
713 <                        if (ourview.type != VT_ANG) {
713 >                        if (ourview.type != VT_ANG && ourview.type != VT_PLS) {
714                                  if (ourview.type != VT_CYL)
715                                          dfh /= sqrt(ourview.hn2);
716                                  dfv /= sqrt(ourview.vn2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines