POV-Ray : Newsgroups : povray.general : 3dnoise: help me understand. : Re: 3dnoise: help me understand. Server Time
11 Aug 2024 01:26:34 EDT (-0400)
  Re: 3dnoise: help me understand.  
From: Ron Parker
Date: 5 Oct 1999 21:25:22
Message: <slrn7vko6h.56p.parkerr@linux.parkerr.fwi.com>
On Tue, 05 Oct 1999 20:44:13 -0400, Greg M. Johnson <> wrote:
>noise3d (x*f, y*f, z*f)*(R-sqrt(x^2+y^2+z^2))
>
>Nope.  This is a solid sphere.
>I've used R=500 and a dozen orders of magnitude for f.
>
>I've had a little luck with adding an "*f" term to the right side.  But this
>is not the concept, although intuitively the math must be VERY CLOSE....

Try adding some linear function of the radius instead of multiplying.
As you shift the "field" of noise3d through the threshold value it 
will appear to cause the "solid" chunks to grow and shrink.  

What you get also depends on what threshold you use; if you use zero 
with the above formula you'll always get a solid sphere.


Post a reply to this message

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