Planetside Software Forums

General => Terragen Discussion => Topic started by: Nova1021 on October 12, 2011, 07:38:32 AM

Title: Drawing Regions to define Mountain ranges, etc.?
Post by: Nova1021 on October 12, 2011, 07:38:32 AM
Hi all, I'm still getting the hang of Terragen and I have a (probably pretty basic) question. I'm trying to create a realistic-looking continent, and am wondering if there is a way to draw a "mask" to apply to terrain so that I can specify where a mountain range should appear. So, for example, if I have a continent and I want the mountains to occur as a narrow range along the western edge, is there a way to confine an alpine fractal to just that area?

Thanks!
Title: Re: Drawing Regions to define Mountain ranges, etc.?
Post by: Tangled-Universe on October 12, 2011, 07:49:51 AM
You can do this in a couple of ways.

You can use a distance shader which blends in a terrain over distance. The distance is measured from a camera which is connected to the distance shader. The direction the camera faces is the direction the distance is calculated, in case you use Z-depth.
You can even create 2 z-depth distance masks, one as the reverse of the other, multiply those with a "multiply colour" function node to get a narrow straight band as a mask.

You can also create a camera high in the sky, have it face down 90 degrees, let te preview render finish, create a painted shader and paint the mask.

Third, you can create a mask in photoshop, load it into an "image map shader", set projection to "Plan Y" and change the size from 1m to something bigger.
The coordinate input allows you to move the mask over the terrain.

Basically all of this can ben found easily on these forums as there's a wealth of information and a search function too.
Guess I need to hurry up with Oshyan to get that FAQ posted here as these questions keep on showing up.
It would be better if all this information is more readily and compactly available.

Cheers,
Martin