I want to know how do I export a terrain AND its texture so that I can use it in a different 3d software so that i can make an animated trailer of my game. I know how to export the terrain as an .obj but only as an .obj without the painted texture and detailed objects with it.
Either use: Unity Asset Store - The Best Assets for Game Making
or try to combine http://wiki.unity3d.com/index.php?title=TerrainObjExporter with something like this Unity3D – A free script to convert a splatmap to a PNG | mattgadient.com
Terrains are not simple objects: they have dynamic LODs that adjust vertex density depending on the distance from the observer, a material that blends from control/splat textures to a base texture again based on distance, they use vertex colours to define the way grass bends etc.
Essentially, the way in which a terrain is defined only makes sense inside the context of the Unity engine - it never exists as a simple mesh with a UV-mapped texture draped over the top.
You can of course access all the properties of the TerrainData class to programatically create a similar-looking mesh in, say, FBX format, but it won’t strictly be the same.