Planetside Software Forums

General => Terragen Discussion => Topic started by: zintapritie2 on July 31, 2020, 02:10:45 AM

Title: unity and Terragen ?
Post by: zintapritie2 on July 31, 2020, 02:10:45 AM
terragen is a software that make very realistic landscape i was wondering is it worth to buy it to make levels in unity and does it even work with unity ?
Title: Re: unity and Terragen ?
Post by: amandas on July 31, 2020, 04:01:37 AM
Terragen is a great piece of software, but I don't think it would be much of use for level assembly in Unity (I work as a Unity dev for about 8 years now, along with CG stuff). The main purpose of TGN is rendering landscapes and not content export, although you can export a view-dependent mesh (as far as I can tell without vertex colors, but I may be wrong here). It would be great to have an option to export tiled pieces of terrain (maybe trick microexporter to use multiple ortho cameras pointing to the heart of the planet @Matt ? Just thinking loud).

Terragen can help you greatly with environment maps (spherical rendering - Pro version), also you can export clouds to .vdb. There is a free OpenVDB processor available for Unity somewhere on GitHub, although I can't say much about performance, never tested it.

For level assembly I suggest a dedicated asset. If you are looking for a dungeon generator, for instance, I recommend Dungeon Architect, it helped me greatly (after much customization) with my game OS Omega. Saved me about 2 months of work, easily.

Hope that helped.
Title: Re: unity and Terragen ?
Post by: digitalguru on July 31, 2020, 05:56:02 AM
Quote from: amandas on July 31, 2020, 04:01:37 AMIt would be great to have an option to export tiled pieces of terrain (maybe trick microexporter to use multiple ortho cameras pointing to the heart of the planet @Matt ? Just thinking loud).
My script Terraman does exactly that, it does require Maya though:

https://www.highend3d.com/maya/script/terraman-for-maya
https://www.youtube.com/watch?v=ALbWYn_YHMI&feature=emb_logo
Title: Re: unity and Terragen ?
Post by: WAS on July 31, 2020, 09:44:54 AM
Much easier, and more common to just use a heightmap with Unity: https://docs.unity3d.com/Manual/terrain-Heightmaps.html

There are a few heightmap exporter examples on the forums here.

Additionally, Unity can handle LWO files (including automatically updated them in your assets when you save from TG I believe).

I wouldn't say Terragen isn't much use for Unity or UE. Not only can you export a object terrain, but a LWO, or orthographic heightmap, where heightmaps are still common-place and often more light-weight in the engine. That before HDRI skydomes, or even textures if you want. It all really comes down to effort.