Author Topic: Terragen 4 & .ter files  (Read 378 times)

Offline Worldcreator

  • Member
  • *
  • Posts: 2
Terragen 4 & .ter files
« on: July 05, 2017, 11: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?

Offline KlausK

  • Member
  • *
  • Posts: 287
  • Land ho!
Re: Terragen 4 & .ter files
« Reply #1 on: July 06, 2017, 01:13:26 AM »
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
/ ASUS WS Mainboard / Dual XEON E5-2640v3 / 64GB RAM / NVIDIA GeForce GTX 780 / Win7 Ultimate

Offline Worldcreator

  • Member
  • *
  • Posts: 2
Re: Terragen 4 & .ter files
« Reply #2 on: July 06, 2017, 07: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 :-)