Planetside Software Forums

General => Terragen Discussion => Topic started by: mhaze on July 23, 2009, 09:57:48 AM

Title: curving the strata and outcrops shader
Post by: mhaze on July 23, 2009, 09:57:48 AM
Hi All
Does anybody know of a way of getting some curves into the strata ouputted by the outcrop and strata shader

Any suggestion gratefully received

Mick
Title: Re: curving the strata and outcrops shader
Post by: cyphyr on July 23, 2009, 10:28:42 AM
Something like this ? ...
:)
Richard
Title: Re: curving the strata and outcrops shader
Post by: mhaze on July 23, 2009, 10:41:12 AM
Thanks - I'll give it a go
Title: Re: curving the strata and outcrops shader
Post by: mhaze on July 23, 2009, 11:15:34 AM
Hi Richard

Seems to be doing what I wanted. hoorah!!!

Thanks
Title: Re: curving the strata and outcrops shader
Post by: efflux on August 02, 2009, 06:57:28 PM
You can kill two birds with one stone here - create slight vertical fluctuations in strata and outcrops and smooth them out a little or a lot so you don't get a nasty even stepped look. Simply enable smooth surface in compute terrain or any compute node that comes after the strata and play with the value. There is a bug though. It destroys your altitude constraints so you have to add a second compute node without smooth surface enabled.
Title: Re: curving the strata and outcrops shader
Post by: Tangled-Universe on August 03, 2009, 04:40:27 AM
Quote from: efflux on August 02, 2009, 06:57:28 PM
You can kill two birds with one stone here - create slight vertical fluctuations in strata and outcrops and smooth them out a little or a lot so you don't get a nasty even stepped look. Simply enable smooth surface in compute terrain or any compute node that comes after the strata and play with the value. There is a bug though. It destroys your altitude constraints so you have to add a second compute node without smooth surface enabled.

Indeed, just thinking about this: if you're just going to texture your terrain after this isn't the "coordinates from XYZ" sufficient then and maybe a bit faster to compute?

Martin
Title: Re: curving the strata and outcrops shader
Post by: efflux on August 03, 2009, 05:42:33 PM
Yes, I read a bit about that but have not experimented with it yet.

If you want to really distort the strata and outcrops then you need to do something else (presumably cyphyr's graph does the job) but I find that the smaller strata get moved around quite nicely with smooth surface. It shifts and smooths things a little in a subtle and very natural way.