Planetside Software Forums

General => Terragen Discussion => Topic started by: monks on October 13, 2008, 01:43:36 PM

Title: controlling distribution of displacements
Post by: monks on October 13, 2008, 01:43:36 PM
Hey all, I'd like to add more detail to the lower slopes in the image below- cragginess, etc- the dem ain't cutting it right now...I have image maps. How would I use the image map to control the distribution of a displacement. In fact I'm really also asking how I would get a suitable displacement for this- what does one use?

(http://www.skindustry.net/medem/files/Phase2/Presentations/AnduinVale/Renders/TG2/render22crop.png)

monks
Title: Re: controlling distribution of displacements
Post by: Oshyan on October 14, 2008, 12:38:49 AM
If your image map is essentially a mask of the lower slope areas, then you could simply use it as a Blend Shader on a node that provides displacement (Power Fractal, etc.). You would need to use PlanY projection in an Image Map Shader to load the image, and scale it appropriately (scale is in meters, use the same scaling as your DEM).

Alternatively, if it is just altitude or scale control you're looking for, you can use a built-in Distribution Shader to control both and again use it as a Blend Shader for a displacement-providing node.

- Oshyan
Title: Re: controlling distribution of displacements
Post by: gregsandor on October 16, 2008, 09:44:31 AM
I'm trying this too and so far can get the image mask to drive a displacement shader, but if I run it through a distribution shader to restrict by slope and altitude, nothing happens.  Anyone have ideas or examples I can look at?


Title: Re: controlling distribution of displacements
Post by: gregsandor on October 16, 2008, 10:59:10 AM
Solved!  I'll post the ss when it finishes rendering...
Title: Re: controlling distribution of displacements
Post by: gregsandor on October 16, 2008, 11:02:17 AM
Add a Compute Terrain node before the distribution shader.
Title: Re: controlling distribution of displacements
Post by: rcallicotte on October 16, 2008, 11:40:32 AM
Good catch.  Thanks for sharing your process.