Mega terrains in Unity 3D

Unity 3D says “Meshes may not have more than 65000 vertices…” when I try to import large terrain topography data into Unity.

  • Is there a solution to import mega terrains into Unity ?
  • Is it possible to “some how” handle (i.e. able to display in Unity) mega terrains in Unity?

PS. What I mean with the term “mega terrain” is the terrain data (irregular triangulated surfaces) with hundreds of thousands or millions of vertices.

-Adamo

you need to split them in more parts than import.

As ivanzu said, if you want to import your terrains as meshes, you’ll need to break them up into smaller pieces in order to import them. Then you’ll likely need to create an LOD system to keep performance reasonable.

Or, what most people do, is to convert your mesh terrains into height maps (there’s a script on the wiki for this) and then import them into Unity. Divide your mega area into smaller terrain squares and use “setneighbors” to control which one is displayed. Forums guru, Erich5h, offers a script to clean up the seams between the terrains.

Yes, using hightmaps into your terrain is a great way to get started… Then, if you made the entire scene in a 3d modelling program, export that in Chunks, and import them seperately… Latest project I’m working on is a city of about 6X6km, built up with this method… Works great…

ivanzu, bigkahuna and ThomasQ thank you all.
You have provided a good starting point for me.
ThomasQ, do you have an online or downloadable demo release (or a partial release of the terrain handling part) of your work with 6x6km city?

Nah man, it’s still a work in project. But actually, once you’ve done it a couple of times, it’s real, real easy. Importing and placing the hightmap chunks of moddelled terrain objects (buildings etc.) is real easy.

Take a look at the Terrain Toolkit. Excellent for texturing etc.
http://unity3d.com/support/resources/unity-extensions/terrain-toolkit.html