POV-Ray : Newsgroups : povray.binaries.images : terrain elevation : Re: terrain elevation Server Time
3 Jul 2024 01:29:33 EDT (-0400)
  Re: terrain elevation  
From: FractRacer
Date: 17 Dec 2014 11:30:57
Message: <5491afc1$1@news.povray.org>

> Hi all
> I tried ridged_mf for terrain on a iso-planet but result is "strange"
> If function (x*x+y*y+z*z - (f_ridged_mf(x,y,z, 0.2 , 5 , 7 , 1.6 , 0.1 ,
> 2)+100)) is used directly in isosurface results ar goog but if same function is
> used in pigment
>
> #declare Dec_p=pigment{function{f_ridged_mf(x,y,z, 0.2 , 5 , 7 , 1.6 , 0.1 , 2)
> }}
>
> #declare fp_mount=function{pigment{pigment_pattern {Dec_p}}}
>
> isosurface { function { (x*x+y*y+z*z - (fp_mount(x,y,z).gray+100)) }
>
> resulting object is broken
>
Hello,
You can use max_gradient in your isosurface block, increase the value to 
obtain a better surface.

-- 
Lionel
<b>Do not judge my words, judge my actions.</b>

---

http://www.avast.com


Post a reply to this message

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