POV-Ray : Newsgroups : povray.unofficial.patches : iso - ridged mf question : iso - ridged mf question Server Time
1 Sep 2024 14:30:08 EDT (-0400)
  iso - ridged mf question  
From: Tom Melly
Date: 12 Mar 2001 11:57:32
Message: <3aacfffc$1@news.povray.org>
I want a band of mountains on the horizon that drop to foothills and finally
a plane as z approaches 0.

#declare MountFunc = function {"ridgedMF" <1,5,3,1/3,50>}
with
function{ y + (MountFunc(x*z,0,z)*5)}  // (note the x*z)

doesn't work. While the mountains become less prounounced, the plane is at
the level of the highest peak rather than the foothills.

As a kludge, function{sqr(y) + sqr(z) + (MountFunc(x,0,z)*5)} is okay with a
separate shape for the plane, but I would prefer option a).

Any ideas?

BTW has anyone got any samples of good parameters for ridged mf?


Post a reply to this message

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