POV-Ray : Newsgroups : povray.binaries.images : Tracing an object through a soft-edged mask; or objects as airbrush 'spray' : Re: Tracing an object through a soft-edged mask; or objects as airbrush 'spray' Server Time
18 May 2024 09:48:21 EDT (-0400)
  Re: Tracing an object through a soft-edged mask; or objects as airbrush 'spray'  
From: scott
Date: 14 May 2008 04:38:10
Message: <482aa4f2@news.povray.org>
> This is traced in the usual way, but the y-values that are found are not 
> used
> to place objects anywhere; rather, they are used to statistically(?) 
> determine
> whether an object is made or not made at any particular x/z location...a 
> sort
> of 'chance' determination, with a HF height of 0 being a zero% chance that 
> an
> object is made, up to 1 being a 100% chance.

I use this method currently too, in a game to place trees and things around 
the level.  *But*, when you have large areas of low-density, and you want to 
plant thousands of items, it starts to get slow (because there are so many 
"misses").  I am wondering if there is a faster way to do it?


Post a reply to this message

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