Planetside Software Forums

General => Terragen Discussion => Topic started by: Worldcreator on July 05, 2017, 07:51:16 PM

Title: Terragen 4 & .ter files
Post by: Worldcreator on July 05, 2017, 07:51:16 PM
So i thought i try out terragen 4 and export some .ter files for use with world creator.
But afaik you cant export to .ter file, some say you would need a heightfield generator, but upon clicking generate and looking the preview you get this landscape full small spikes.

Is there an option in terragen that actually can export terragen files?
Title: Re: Terragen 4 & .ter files
Post by: KlausK on July 05, 2017, 09:13:26 PM
Yes, there is.
Searching the forums for "export ter" brings up lots of threads.
Since this is your first post here I uploaded a few files for you to study.
Sort of a welcome-present ;)

This is simply the default terrain fed into a Heightfield Generate (which is then fed into the Heightfield Shader).
The output of the Fractal Warp is the shader the Heightfield Generate uses to create the heightfield.
Use the Heightfield nodes settings and additional Heightfield Operators to shape the resulting heightfield to your liking.
Be aware of the resolution and the number of points used to create the hf. Spikes are simply results of bad/wrong settings (see attached picture).

Once created right click on the green Heightfield Generate node in the network view and choose "Save file as...".
This will let you export the heightfield as *.ter file.
There might be restrictions for exporting files with the Free TG version, perhaps.
Hope that helps. Good luck.
Cheers, Klaus
Title: Re: Terragen 4 & .ter files
Post by: Worldcreator on July 06, 2017, 03:04:11 AM
Thank you very much :-)
i am all new to creating landscapes and cant seem to create some nice mountain ridges lol

I am trying to get a nice landscape for game i want to build, how stupid this may sound. I have half my game done function wise, but all on flat land haha.
I will try what you typed, fingers crossed :-)