POV-Ray : Newsgroups : povray.general : Ridged Multifractals : Re: Ridged Multifractals Server Time
19 Nov 2024 03:43:21 EST (-0500)
  Re: Ridged Multifractals  
From: Andrew
Date: 17 May 2002 09:55:01
Message: <3ce50bb5$1@news.povray.org>
"Gilles Tran" <tra### [at] inapginrafr> wrote in message
news:3ce4f377@news.povray.org...

> 3ce4eb27@news.povray.org...
> > Has anyone got a "ready-made" isosurface they could post that
> > demonstrates good parameters and scaling to create a landscape with?
>
> Here are the two I used :
>
> // foreground
> // the 0.15... at the end makes the terrain flatten in the z direction
> isosurface{
>     function {y-f_ridged_mf( x*0.5, y*0.5, z*0.5, 1, 2, 9, -1.3,
> 3,3 )*0.15*(-z+50)/80}
>     max_gradient 2.4
>     contained_by{box{<-2000,-0.01,-30>,<2000,1,50>}}
>     translate y*-0.4
> }
>
> // mountain
> // the (1-...) at the end makes the terrain flatten in the -x and -z
> direction
>
> #declare RESOLUTION = 100;
> //#declare RESOLUTION = 1000;
> height_field {
>     function RESOLUTION,RESOLUTION {
>         f_ridged_mf( z*2, y*2, x*2, 1, 2, 9, -0.5,
> 3,3 )*0.8*(1-y*0.98)*(x+0.2)
>     }
>     translate <-0.5,0,0>
>     scale <120,5,60>
> }
>
> --
>
> **********************
> http://www.oyonale.com
> **********************
> - Graphic experiments
> - POV-Ray and Poser computer images
> - Posters

Thanks Gilles!  That's just the kind of thing I'm after.


Post a reply to this message

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