### Author Topic: Smooth combiner tutorial  (Read 5308 times)

#### wiwine

• Member
• Posts: 56
##### Smooth combiner tutorial
« on: August 13, 2014, 06:07:00 PM »
Before the next part of my dunes tutorial, here is another one that could be useful in some situations (when you have to combine function-generated terrains).
First I wanted to put it in the other tutorial, but I realized that it could be better to present it separatly.

Enjoy !

#### archonforest

• Member
• Posts: 3531
• !AMIGA RULEZ!
##### Re: Smooth combiner tutorial
« Reply #1 on: August 13, 2014, 06:24:06 PM »
Holly cow...I opened the PDF and still shocked Feels like missed some class in school...
Guess bigben will understand thit document...

Otherwise big thx for the tut. Something that is always welcome here
...many rooms to explore but the doors look the same...

#### bigben

• Member
• Posts: 2129
• The Long Stranger rides again
##### Re: Smooth combiner tutorial
« Reply #2 on: August 13, 2014, 11:15:45 PM »
Yes I like to see the workings behind it, but it's also a deceptively simple tweak with only one parameter to adjust.

#### Dune

• Terragen Alpha Tester (Win)
• Posts: 13656
• Corkscrew Bird
##### Re: Smooth combiner tutorial
« Reply #3 on: August 14, 2014, 06:57:15 AM »
Thanks Laurent, you're obviously good at maths. Handy thing to have, waiting to be used.
In case you still haven't seen enough of my work: www.ulco-art.nl

#### cyphyr

• Terragen Alpha Tester (Win)
• Posts: 3800
##### Re: Smooth combiner tutorial
« Reply #4 on: August 14, 2014, 09:09:08 AM »
My brain just melted. Hopefully I can find the time to understand this in more detail.

One question, can this (or a similar technique be used to "smooth" out other hard transitions?  In particular I am thinking of the merge node.
When this is set to "Choose by Altitude <highest (raise)/Lowest (cut away)>" it creates very HARD transitions between the two merged terrains. It would be great if these could be smoothed off

Thanks for the great tut.
www.richardfraser.co.uk
https://www.facebook.com/RichardFraserVFX/
/|\

i7 5930 @3.5Ghz, 32Gb
i7 2600k @3.4Ghz, 16Gb
i7 980 @3.33Ghz, 16Gb

#### wiwine

• Member
• Posts: 56
##### Re: Smooth combiner tutorial
« Reply #5 on: August 14, 2014, 12:04:58 PM »
One question, can this (or a similar technique be used to "smooth" out other hard transitions?  In particular I am thinking of the merge node.
When this is set to "Choose by Altitude <highest (raise)/Lowest (cut away)>" it creates very HARD transitions between the two merged terrains. It would be great if these could be smoothed off

I just made a test with two fractal terrains and a merge shader. This time I didn't use the high/low colour options to generate the terrains.
But I added a "displacement shader to scalar" to each fractal terrain.
Just take a look to the following file, and try to render with the following values for c : 0, 100 and 200.
Then tell me if it is what you are looking for.

#### Dune

• Terragen Alpha Tester (Win)
• Posts: 13656
• Corkscrew Bird
##### Re: Smooth combiner tutorial
« Reply #6 on: August 14, 2014, 02:37:40 PM »
Works like a charm. At first I thought, what can a 1m extra displacement change, but it smoothes out the fractals' edges very nicely. Thanks a lot, very handy!
In case you still haven't seen enough of my work: www.ulco-art.nl

#### cyphyr

• Terragen Alpha Tester (Win)
• Posts: 3800
##### Re: Smooth combiner tutorial
« Reply #7 on: August 14, 2014, 04:18:58 PM »
What Dune said!

Excellent work, this is going to be so useful.

Thank you very much.
www.richardfraser.co.uk
https://www.facebook.com/RichardFraserVFX/
/|\

i7 5930 @3.5Ghz, 32Gb
i7 2600k @3.4Ghz, 16Gb
i7 980 @3.33Ghz, 16Gb

#### Shigawire

• Member
• Posts: 51
##### Re: Smooth combiner tutorial
« Reply #8 on: August 14, 2014, 05:44:38 PM »
Wiwine, yet again I am in awe... you are a Terragen master mentat!

p.s. I can see why you needed to come up with this before continuing the Dune tutorial series..

#### j meyer

• Member
• Posts: 2092
##### Re: Smooth combiner tutorial
« Reply #9 on: August 15, 2014, 02:43:59 PM »
Thanks for sharing the example files.

#### bobbystahr

• Member
• Posts: 9002
• Turn, and face the Strange Ch Ch Changes...D Bowie
##### Re: Smooth combiner tutorial
« Reply #10 on: September 01, 2014, 02:32:59 PM »
Whew, thanks mate....Back to school today it seems....
something borrowed,
something Blue.
Ring out the Old.
Bring in the New

bobbystahr