Planetside Software Forums

General => User-contributed Tutorials => Topic started by: Zylot on December 21, 2006, 10:06:23 PM

Title: Sexy Smooth Displacement
Post by: Zylot on December 21, 2006, 10:06:23 PM
Here's my tutorial on Sexy Smooth displacement, or "How I did this (http://www.ashundar.com/CPG/displayimage.php?pos=-3506)." by Zylot

Displacemernt is a fun new feature for Terragen 2 that can do some amazing things.  The trick is control.  Sometimes, you don't want sharp jagged displacement, and you certainly want to limit it to specific areas (flat ground or slopes, certain heights, etc...).  Well, the last part is easy, since you can apply displacement right from a surface layer.  Controlling the details of the displacement, however, is a bit more of a trial.

So how were these large orange rocks done? 

1) Create a new terragen scene.  Get a heightmap shader and set it to generate.  make it about 1000 x 1000, and position it where you want it.

2) Set the border blend to around .5 so it's not too sharp.  Then set the feature scale to around 10-20k for prominence.  Now hit generate.  You should have an ugly large verticle jagged outcropping on your otherwise flat pristine planet.  YAY!

3) Ok, now make a surface layer restricted to steep slopes.  Make it whatever color you want.  Alright.  Now, hit the displacement tab for that layer, click the ...  next to "displacement function" and slap a new power fractal on it.  Now set the displacement multiplyer to around 500.   Wait for the preview to load.  Now doesn't that look wonderful. ;)

4) Ok, now for the fun part, here's where we get this thing looking decent.  Goto the new power fractal for the displacement.  first thing, goto the noise tab.  Set it from perlin to billowy.  Now, goto the color tab, set contrast to 1, make sure low is black and high is white.  Everything set, good, goto the scale tab.  Set the scale size to around 1000 to start with, make the lead in scal around 500 and the smallest scale a good 200 - 300.  See how the noise in the little box got smooth.  That's what we are looking for. 

Following that, you should now be able to tweak it to your liking and get an effect you want.  You can scale the noise in the tweak noise tab on it's x or z to control stretch of the features, and the scale size and lead ing / smallest in that ration change the size of the displacement patterns.

That about settles it, happy rendering.


Title: Re: Sexy Smooth Displacement
Post by: Cub on December 22, 2006, 10:58:19 AM
Sorry.. where is the "heightmap shader" I must be going blind

Cub
Title: Re: Sexy Smooth Displacement
Post by: Zylot on December 22, 2006, 05:19:20 PM
There should be one when you first start up Terragen 2 under the terrains tab
Title: Re: Sexy Smooth Displacement
Post by: Gilly on December 23, 2006, 04:39:41 AM
Hi Zylot,

Where do i find the 'blur'.  I cant find it to safe my life - more like its staring me in the face going boo! im here and Im just too daft to spot it :rofl:!
Title: Re: Sexy Smooth Displacement
Post by: Zylot on December 24, 2006, 09:46:11 AM
I'm sorry I used the wrong terminolgy, you are looking for Border Blend.  I edited the main tut as well.
Title: Re: Sexy Smooth Displacement
Post by: Gilly on December 24, 2006, 02:39:14 PM
oh bli - i guessed right! :lol: Thanks for that Zylot :)
Title: Re: Sexy Smooth Displacement
Post by: MeltingIce on January 04, 2007, 09:01:48 AM
Cool idea, this looks like it works much better than using the crater shader to make strange rock formations.
Title: Re: Sexy Smooth Displacement
Post by: otakar on October 03, 2007, 03:54:37 PM
broken link to image
Title: Re: Sexy Smooth Displacement
Post by: old_blaggard on October 03, 2007, 05:38:54 PM
http://www.ashundar.com/gallery/displayimage.php?pos=-3506
We upgraded our gallery system, so here is the fixed link.
Title: Re: Sexy Smooth Displacement
Post by: windowtrap on June 17, 2014, 07:48:34 PM
Thanks, 7 years later!

;D