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
23 Apr 2024 23:42:14 EDT (-0400)
  Re: Need a script to randomly scatter objects vertically  
From: Mike Horvath
Date: 20 Apr 2021 00:05:10
Message: <607e52f6$1@news.povray.org>
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


Post a reply to this message

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