Planetside Software Forums

General => Terragen Discussion => Topic started by: CCC on January 15, 2010, 12:02:18 AM

Title: Clamp The Peaks
Post by: CCC on January 15, 2010, 12:02:18 AM
I have some high peaks i want to soft clamp were the flat tops are not entirely flat. I looked around the older threads concerning this issue and had not really found anything to specific unless i messed the obvious. Any help would be welcomed, thank you.
Title: Re: Clamp The Peaks
Post by: Henry Blewer on January 15, 2010, 01:52:08 AM
I use a strata shader. It needs to be set for high settings in the Hard Layer Steepness and Very high for the Plateau Buildup. On heightfields this works well with an erosion operator after the strata; it softens things up again.
Title: Re: Clamp The Peaks
Post by: CCC on January 15, 2010, 02:00:26 AM
But will it limit it's effect on my highest peaks? I do not want this type of strata anywhere below my peaks. I can try it real quick here and see what happens of course.
Title: Re: Clamp The Peaks
Post by: Dune on January 15, 2010, 02:32:13 AM
I'm not sure, what I exactly did, but I got some flat tops by accident some time ago. I think by just clamping the colors (perhaps with a color adjust or in the fractal node?).... but I'm not sure. And then added some extra displacement to the flattened tops to offset their flatness.

---Dune
Title: Re: Clamp The Peaks
Post by: FrankB on January 15, 2010, 02:52:19 AM
this seems to be what you need: http://forums.planetside.co.uk/index.php?topic=7548.msg80786#msg80786
Title: Re: Clamp The Peaks
Post by: CCC on January 15, 2010, 03:09:02 AM
Matt's example inverts the entire terrain creating a canyon but i only want to shave off the peaks without inverting anything. Color Adjust is doing nothing unless i am simply not understanding it's function.
Title: Re: Clamp The Peaks
Post by: FrankB on January 15, 2010, 03:14:25 AM
then just increase the constant value to a higher point, so that just the peaks are cut off.
Title: Re: Clamp The Peaks
Post by: CCC on January 15, 2010, 03:16:29 AM
If you mean the contrast value in my power fractal i am and it is doing nothing either.
Title: Re: Clamp The Peaks
Post by: FrankB on January 15, 2010, 03:19:15 AM
no I mean the constant in Matt's example
Title: Re: Clamp The Peaks
Post by: CCC on January 15, 2010, 03:20:33 AM
Ahh, Gotcha!    ;D
Title: Re: Clamp The Peaks
Post by: CCC on January 15, 2010, 03:23:53 AM
Worked, just had to get it into the thousands. Thank you much.    ;D
Title: Re: Clamp The Peaks
Post by: FrankB on January 15, 2010, 03:38:29 AM
you're welcome :)