yes, exactly. In effect I use that code:
#if (pow (vlength (cam_loc-Inter) / max_dist, 2) > rand (r4))
Of course it would be possible to set max_dist to something very big.
But then generating the tree coordinates would take much more time.
Norbert Kern
"Slime" <fak### [at] emailaddress> schrieb im Newsbeitrag
news:43236fc0$1@news.povray.org...
> But since you don't know where that maximum distance occurs, you still
> have
> to shoot the same density of rays everywhere. Do you then use 1/distance^2
> as a probability for discarding the ray?
>
> - Slime
> [ http://www.slimeland.com/ ]
>
>
Post a reply to this message
|