POV-Ray : Newsgroups : povray.advanced-users : Need a script to randomly scatter objects vertically : Re: Need a script to randomly scatter objects vertically Server Time
25 Jul 2021 09:28:57 EDT (-0400)
  Re: Need a script to randomly scatter objects vertically  
From: Thomas de Groot
Date: 20 Apr 2021 02:10:04
Message: <607e703c@news.povray.org>
Op 20/04/2021 om 06:05 schreef Mike Horvath:
> On 4/20/2021 12:02 AM, Mike Horvath wrote:
>> I have some mesh based terrain model. I would like to drop trees 
>> vertically on to it based on some rules:
>>
>> 1. the trees should not overlap with each other
>> 2. the tree density should depend on the (configurable) slope of the 
>> ground
>> 3. trees are circular so the only important data is the radius of the 
>> tree
>> 4. the script needs to output the generated coordinates to a text file
>>
>> Can someone help me write such a script? Thanks!
>>
>>
>> Michael
> 
> 
> Oops, also this:
> 
> 5. there are multiple types of trees with varying probability of occuring


I have such a script!

I shall send you the details later today.

-- 
Thomas


Post a reply to this message

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