Suggestions for handling geo-specific terrain

Hello,

We are considering using Unity for an educational simulation/visualization game and I am trying to figure out the best way to build geo-specific terrain for our simulation. The terrain is pretty flat but includes a coast-line with a cement dock and small amount of sandy or marsh-type water edge. There are no trees in the area. The simulation will require several models to be instanced on top of the terrain (maybe up to a few hundreds). These models will include trucks and trailers, as well as other models with articulations (cranes, fork lifts etc.)

The area that is approximately 4000x4000 meters and I have high resolution imagery for that area (about 1 pixel/foot resolution). I have built a single 4096x4096 texture that covers the area and my initial (and I think naive) approach was to use a modeling package to build a terrain skin mesh, apply the texture, then bring it into Unity, then start adding the other components. Unfortunately, after several days, i have not managed to complete this simple step. For one thing, the terrain is not generic, so I have to use the whole texture; I cannot use a repeating pattern, as there are no such patterns.

So, with the above info in mind, I have a few questions - any responses or insights are greatly appreciated.

First, is the application I am considering something that Unity can handle? In particular, I am wondering about the geo-specific flat terrain and the number of moving models that would require physics and utilize animations at the same time. Most examples I have seen include ‘narrow’ canyon terrain, which I understand is typical for games that allow containment of the action in a relatively small area.

Second, is it possible to use the built-in terrain and existing texture to create the geo-specific area or should I pursue the ‘import a mesh’ approach?

In the same concept, is there a way to bring in the large texture and use it as a guide so I can overlay smaller terrain pieces, but broken down in logical groups (I will need the larger texture as a guide for what goes where, I can then discard it).

Or better yet, is there another approach to achieve this using Unity that I am missing altogether?

By the way, Unity crashes with an out of memory error when I try to generate mipmaps for the 4096x4096 texture. I’ll try with a smaller size and see what heppens.

Thanks !

I’ve recently completed a project that sounds nearly identical to what you’re looking to do. I decided against using a terrain map and instead created a 3D mesh, all models and assembled all the pieces in the 3D modeling app (Blender). I chose this method for a number of reasons, one of which was that I needed to position and place some very large objects very accurately and I was having a hard time doing it using the terrain height maps. After assembling all the objects where I wanted in Blender, I imported the whole thing into Unity.

One issue I ran into was that the terrain mesh is too coarse in some areas so there are visible light “popping” when using a vertex light and subdividing a terrain mesh is not particularly efficient. As a next step I may divide the terrain mesh into pieces, then use higher res meshes and use occlusion to turn off the sections of mesh that aren’t seen, but what’s nice about the Unity terrain functions is that all of that (and more) are handled automatically. If there were some way of getting the accuracy of a mesh from a terrain height map I would probably go that route in the future.