Terrain Manipulation Questions

Hello.

I’ve been searching around the internet and the unity resources about terrain manipulation, but I weren’t quite successful in that (maybe my googling skills are a bit rusty, but I promise, I tried for days), so I’m asking here to see if I can get some light on these topics.

What I want to do is to create 2 or 3 terrains, and programatically load their heightmap and splat textures. I’ve found a snippet in the wiki about loading heightmaps, but it didn’t tell me how to specify which terrain it’ll load the heightmap for, as it is using the activeTerrain method.

So, resuming, my questions are:

  1. How do I programatically create new terrains and display them in a specified position with a specified size?
  2. How can I, programatically, find those terrains in order to manipulate them, considering more than 1 terrain at a time?
  3. How can I load heightmaps programatically and populate a terrain with its data?
  4. How can I do the same with splat textures and splatmaps?

Thanks for the help in advance.

No one? No examples??? No links???