POV-Ray : Newsgroups : povray.binaries.images : seven arms : Re: seven arms Server Time
14 Nov 2024 10:18:17 EST (-0500)
  Re: seven arms  
From: Warp
Date: 16 Aug 2009 07:29:22
Message: <4a87ed92$1@news.povray.org>
Reactor wrote:
> I don't understand the reason for this line, as it doesn't really do anything:
>>   #if (rand (rnd_tree)<.95 )
> 
> The only effect is throw the count of trees off, since it pulls a number from
> the stream, compares it, either places a tree or doesn't, but updates the
> counter regardless.

  Rather than placing exactly 1000 trees, it places a bit less.

  Of course you are right in that if what he wants is to place less than
1000 trees, then why not use a number which is less than 1000 to begin
with? The number of trees will always be the same from render to render
regardless of whether it's done with that #if or with a direct value
less than 1000.


Post a reply to this message

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