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) { |
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); |