|
![](/i/fill.gif) |
In article <3990DBEA.BE182729@pacbell.net>, lin### [at] povray org
wrote:
> It looks like something the "average" POV-Ray user would never be
> able to come up with on his/her own.
I just don't understand why not, pattern functions seemed the natural
choice, and the function is quite simple. Maybe it would be more easily
understood this way:
//clamps the value x to the range [y,z]
#declare clamp = function {max(y,min(z,x))}
//old style bozo, complete with plateaus
#declare OldBozo =
function {clamp(noise3d(x,y,z)/0.48985582 - 1.05242 + 0.5, 0, 1)}
Or are you talking about the "noise3d(x,y,z)/0.48985582 - 1.05242 + 0.5"
part? That was just the mapping copied from Nathans post.
--
Christopher James Huff - Personal e-mail: chr### [at] mac com
TAG(Technical Assistance Group) e-mail: chr### [at] tag povray org
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |