Planetside Software Forums

General => Terragen Discussion => Topic started by: gregsandor on April 07, 2007, 07:49:13 AM

Title: Tiling Terrain
Post by: gregsandor on April 07, 2007, 07:49:13 AM
I have a large DEM of a valley.  I made a BW mask of towns scattered throughout the valley.  An image map shader uses that mask to show the detailed town texture tiled in the areas where the BW mask is white.  I want to also distribute the corresponding heightmap under the image map of the towns.

How do I get a small heightmap to tile across a large terrain blended by the mask?
Title: Re: Tiling Terrain
Post by: dhavalmistry on April 07, 2007, 10:20:36 AM
I didnt quite get what you are trying to say...but I would suggest using 2 heightfields might help....
Title: Re: Tiling Terrain
Post by: DiscoBall on April 07, 2007, 11:30:47 PM
Perhaps, make lots of heightfields and stitch them together..
You could stitch the DEM in Photoshop beforehand, or just do it in TG...
Title: Re: Tiling Terrain
Post by: Oshyan on April 09, 2007, 04:29:45 PM
Convert the heightfield to an image format (TIFF for example) and load it with an Image Map Shader. Then turn off Apply Colour in the Colour tab and turn on Apply Displacement in the Displacement tab and adjust the Amplitude until you get the effect you're looking for. You can then use the same tiling options as with your other Image Map Shader(s).

- Oshyan