POV-Ray : Newsgroups : povray.general : Isosurface functions : Re: Isosurface functions Server Time
5 Aug 2024 12:21:57 EDT (-0400)
  Re: Isosurface functions  
From: Christopher James Huff
Date: 25 Sep 2002 12:31:27
Message: <chrishuff-370EA5.12285325092002@netplex.aussie.org>
In article <3d90826b@news.povray.org>, "Tom Melly" <tom### [at] tomandlucouk> 
wrote:

> Your restraint is commendable ;) - an iso-surface that looks like the surface 
> of a brain?

Try messing around with functions using abs(). This:

function {pow(abs(f_noise(x, y, z)*2 - 1), 0.5)}

should be a good start. The noise function is usually "rounded" on each 
"side" of 0.5, this adjusts the range to make the lower half negative 
and then "folds" the negative part back to positive, making a bumpy, 
creased effect. The pow() function adjusts the falloff. Watch out for 
grid artifacts though

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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