POV-Ray : Newsgroups : povray.binaries.images : Nothin' but bumps: a procedurally generated landscape : Re: Nothin' but bumps: a procedurally generated landscape Server Time
2 Aug 2024 12:23:07 EDT (-0400)
  Re: Nothin' but bumps: a procedurally generated landscape  
From: gregjohn
Date: 13 Jul 2007 16:05:02
Message: <web.4697da77a7c5128734d207310@news.povray.org>
"Paolo Gibellini" <p.g### [at] teinoscom> wrote:
> Definitely interesting.
> How did you generated it? Isosurfaces?
> ;-)
> Paolo


Here's the heart of it.
For a declared bumpnbump function (you could try bumps, per se, if you
like).

#declare bottomfunc=  function{
                        pigment{function{bumpnbump(x, 0, z)}
                        pigment_map{
                         [0.52+dah rgb 0.4]
                         [0.53+dah rgb 0.5]
                         [0.54+dah rgb 0.5]
                         [0.55+dah rgb 0.45]     //walkway
                         [0.58+dah rgb 0.45]    //walkway
                         [0.59+dah rgb 0.5]
                         [0.60+dah rgb 0.5]
                         [0.61+dah rgb 0.45]
                         [1 rgb 2.5]
                        }
                        scale dualscale
                        }        }


Then, yes, draw the isosurface of this baby.


Post a reply to this message

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