POV-Ray : Newsgroups : povray.unofficial.patches : iso - ridged mf question : Re: iso - ridged mf question Server Time
1 Sep 2024 14:29:55 EDT (-0400)
  Re: iso - ridged mf question  
From: Vahur Krouverk
Date: 12 Mar 2001 12:35:04
Message: <3AAD08EC.ED0A6178@aetec.ee>
Tom Melly wrote:
> 
> 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.
> 

Try this:
function{ y - (MountFunc(x*z,0,z)*5)}


Post a reply to this message

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