POV-Ray : Newsgroups : povray.newusers : ridgedMF-Mountain - params? Server Time
5 Nov 2024 07:18:00 EST (-0500)
  ridgedMF-Mountain - params? (Message 1 to 5 of 5)  
From: Marc-Hendrik Bremer
Subject: ridgedMF-Mountain - params?
Date: 2 Aug 2000 14:39:31
Message: <39886ae3@news.povray.org>
Hi,

I have seen some very nice isosurface ridgedMF-Mountains, esp. in the "Icy
coast"-series. But I can't find params which give me at least comparable
results. The values of Cristoph Hormann result in a bunch of rocks (because
they are from a different tool) and my experiments don't even look like any
natural formations.
I would be very glad if anyone could point me in the right direction with an
initial set of values.

Thank you,

Marc-Hendrik


Post a reply to this message

From: Bob Hughes
Subject: Re: ridgedMF-Mountain - params?
Date: 2 Aug 2000 23:56:42
Message: <3988ed7a@news.povray.org>
"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote in message
news:39886ae3@news.povray.org...
|
| I have seen some very nice isosurface ridgedMF-Mountains, esp. in the "Icy
| coast"-series. But I can't find params which give me at least comparable
| results. The values of Cristoph Hormann result in a bunch of rocks
(because
| they are from a different tool) and my experiments don't even look like
any
| natural formations.
| I would be very glad if anyone could point me in the right direction with
an
| initial set of values.

I was using a fairly high octaves number of 7 to do the mountains I had made
for the animation I'm currently playing in.
I was generalizing greatly the affect each parameter had:

#declare H = 0.25; // roughening<>smoothing
#declare Lacunarity = 4; // roughening<>smoothing
#declare Octaves = 7; // smoothing<>roughening (computationally intensive
higher)
#declare Offset = 0.5; // height (suggested to start as 1 in the Doc.)
#declare Gain= 2; // smoothing<>roughening (I used too much maybe)

Bob


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: ridgedMF-Mountain - params?
Date: 3 Aug 2000 08:36:39
Message: <39896757@news.povray.org>
Thanks, Bob, but I don't get it!
I'm obviously something wrong. When I use your values, all I get is a bunch
of smooth "rocks" - nice in a way and maybe useful someday, but not at all
what I am looking after :-) No plain, no "closed" formation, more like
asteroids in space.

This is my statement:

#declare H = 0.25; // roughening<>smoothing
#declare Lacunarity = 4; // roughening<>smoothing
#declare Octaves = 7; // smoothing<>roughening (computationally intensive
higher)
#declare Offset = 0.5; // height (suggested to start as 1 in the Doc.)
#declare Gain= 2; // smoothing<>roughening (I used too much maybe)

isosurface{
    function{"ridgedmf", <H, Lacunarity, Octaves, Offset, Gain>}
    method 1
    // method 2
    // eval
    // max_gradient 4

    accuracy 0.0001
    contained_by{box -1,1}
    pigment{White}
}

With method 2 I get a totally gray pic (background {rgb 0.3}) even with
max_gradient 5 (eval says max_gradient is ~3.7).

Any ideas what I'm doing wrong?

Thanks again,

Marc-Hendrik


Bob Hughes schrieb in Nachricht <3988ed7a@news.povray.org>...
>"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote in message
>news:39886ae3@news.povray.org...
>|
>| I have seen some very nice isosurface ridgedMF-Mountains, esp. in the
"Icy
>| coast"-series. But I can't find params which give me at least comparable
>| results. The values of Cristoph Hormann result in a bunch of rocks
>(because
>| they are from a different tool) and my experiments don't even look like
>any
>| natural formations.
>| I would be very glad if anyone could point me in the right direction with
>an
>| initial set of values.
>
>I was using a fairly high octaves number of 7 to do the mountains I had
made
>for the animation I'm currently playing in.
>I was generalizing greatly the affect each parameter had:
>
>#declare H = 0.25; // roughening<>smoothing
>#declare Lacunarity = 4; // roughening<>smoothing
>#declare Octaves = 7; // smoothing<>roughening (computationally intensive
>higher)
>#declare Offset = 0.5; // height (suggested to start as 1 in the Doc.)
>#declare Gain= 2; // smoothing<>roughening (I used too much maybe)
>
>Bob
>
>
>


Post a reply to this message

From: Bob Hughes
Subject: Re: ridgedMF-Mountain - params?
Date: 4 Aug 2000 18:01:05
Message: <398b3d21@news.povray.org>
"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote in message
news:39896757@news.povray.org...
| Thanks, Bob, but I don't get it!

Sorry for the delay in replying.  Been away from the newsgroups a short
while.

| I'm obviously something wrong. When I use your values, all I get is a
bunch
| of smooth "rocks" - nice in a way and maybe useful someday, but not at all
| what I am looking after :-) No plain, no "closed" formation, more like
| asteroids in space.

method 1 simply doesn't seem compatible from what I had seen.  Use only
'eval' and 'accuracy' and nothing else along with method 2 to see
"mountains".
But where you really went wrong is by not using a starting parameter (if
that's the word for it).

 #declare H = 0.25; // roughening<>smoothing
 #declare Lacunarity = 4; // roughening<>smoothing
 #declare Octaves = 7; // smoothing<>roughening (computationally intensive
higher)
 #declare Offset = 0.5; // height (suggested to start as 1 in the Doc.)
 #declare Gain= 2; // smoothing<>roughening (I used too much maybe)

#declare Fun=
function {"ridgedmf", <H, Lacunarity, Octaves, Offset, Gain>}

 isosurface {
     function { y - Fun(x,y,z) } // function is applied to x,y,x and
interacted according to y
      method 2
      eval
      accuracy 0.0001
     contained_by {box -1,1}
    pigment {White}
 }

That should get you something.

Bob


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: ridgedMF-Mountain - params?
Date: 5 Aug 2000 05:54:05
Message: <398be43d@news.povray.org>
YES!!!!

Thank you very much, Bob. I do not really know why it works now, but that's
okay for me and for now :-)

Marc-Hendrik


Post a reply to this message

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