POV-Ray : Newsgroups : povray.advanced-users : Need a script to randomly scatter objects vertically : Need a script to randomly scatter objects vertically Server Time
16 Apr 2024 02:37:02 EDT (-0400)
  Need a script to randomly scatter objects vertically  
From: Mike Horvath
Date: 20 Apr 2021 00:02:49
Message: <607e5269$1@news.povray.org>
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


Post a reply to this message

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