POV-Ray : Newsgroups : povray.binaries.images : Seascape ... Help! : Re: Seascape ... Help! Server Time
12 Aug 2024 11:22:34 EDT (-0400)
  Re: Seascape ... Help!  
From: Chris Johnson
Date: 23 Aug 2003 07:39:52
Message: <3f475288@news.povray.org>
The normal.y = cosine(angle) method seems the best way. A couple of other
things I have found useful in tree placement are:

Store in an array where all the trees are and check when creating a new one
that you're not creating any that are too close to other trees.

Shrink the trees by an amount dependant on the slope of the ground (+- a
random factor to keep things looking natural). Also possibly instead of
banning trees from being on steep slopes, make the probability increasingly
less as the gradient of the slope gets greater. These stop forests having
such a clearly defined outline.

-Chris


Post a reply to this message

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