POV-Ray : Newsgroups : povray.binaries.images : New Planting Method : Re: New Planting Method Server Time
5 Nov 2024 10:19:16 EST (-0500)
  Re: New Planting Method  
From: Norbert Kern
Date: 10 Sep 2005 20:08:49
Message: <43237591$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.