|
![](/i/fill.gif) |
Chris Huff schrieb in Nachricht ...
>In article <3aacfffc$1@news.povray.org>, "Tom Melly"
><tom### [at] tomandlu co uk> 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)
>
>Try: function {y - MountFunc(x,0,z)*5*min(0, z)}
Should be max(0,z), no? Else you would only get negative z.
Marc-Hendrik
Post a reply to this message
|
![](/i/fill.gif) |