Tom's Terrain Tools (update: new version released)

After watering your mouths with these screenshots and these screenshots and this video, I’ve finally come around to pack everything up for release.

So I’m announcing today the release of Tom’s Terrain Tools.

Documentation, buy/download and example projects at:

http://web.lemuria.org/projects/wiki/TerrainTools

update:
New version with minor bugfixes, and two new scripts (random spawnmap and terrain quality updating, as mentioned in my Collector dev blog: http://forum.unity3d.com/viewtopic.php?t=31202

2.6 Update:
I’ve updated the Terrain Tools to version 1.2 (free update for all previous buyers). Details and updated documentation on the website linked above. Tree removal does also work now.

3.0 Update and New Version
The version posted in this thread has been superseded by the new one, as posted here:
http://forum.unity3d.com/threads/70480-Tom-s-Terrain-Tools-New-Release-(Version-2)

The new website is at:
http://web.lemuria.org/projects/wiki/TerrainTools2

Damn nifty!!! Lovely stuff Tom

When I import demo package 1 I get a string of errors: (ie. Terrain Splat 01 is null, Terrain Splat 02 is null, etc.), and when I try to import demo package 2 I get an error saying it’s not a readable format (?).

Edit: I also get an error when I launch the scene in package 1 (ie. “use Nature/Soft Occlusion shader…”).

Thanks, bigkahuna, I’ll check that. Works-for-me but there might be a problem with the assets present vs. missing.

To give you an example of what’s possible with this:

Thomas asked me for a map of Wake Island.

In just a few hours, I created one from the map on Wikipedia. The three screenshots attached are

  1. actual photo of Wake Island
  2. render of the Terragen 2 scene
  3. screenshot from within the Unity3D editor

(note that the unity view is mirrored, due to the way TG2 exports it. I could fix that with about 2 minutes of work.)

197417--7197--$photo_137.jpg
197417--7198--$tg_166.jpg
197417--7200--$unity_186.jpg

Hey Tom really awesome stuff. This should make making terrains and painting them alot more fun in unity. Was wondering if you would do some Terragen 2 videos on how you get out all the splatmaps out of terragen to use with your scripts. Or a step by step on how to do it.

Right now I am using World Machine 2 for the terrain splatmaps but for the foliage and trees splatmap world machine doesn’t do that. I’m sure alot of people would want to know this type of information and might get you some more sales as well. Thanks.

-Miguel

Is it just me, or is that terrain mirrored in the Unity screenie?

Looks great Tom!

Your right, it is mirrored…
Funky

Can someone sticky this thread, this product looks like it will fit so many buckets around these threads that it really does deserve a sticky. So does EricH’s fractal landscape thingy. We seriously needs a “Tools Only” section for things like this!

As I said: 2 min. in Photoshop. But it was midnight local time when I posted, and I didn’t want to…

Anyways, here’s the “fixed” version, in case it is important to you, I also added the island’s road network in this one, via the Overlay Map feature of my tools:

In the interest of full disclosure, this also shows that you don’t get magical 100% results. In this case, some scaling and moving around is necessary to get the roads “just right”, because the original map this is all created from comes in a weird resolution (800x707) while the heightmap etc. are all power-of-two (or x^2+1) resolutions.

Again, nothing that can’t be fixed fairly easily.

197562--7231--$unity_689.jpg

Damn Tom - looks great!!! Incredible to see how fast you got the result working.

Can only recommend the tools to anyone wanting to play around with the terrain

/Thomas

Hm, I tried reproducing the error, but couldn’t, even with a new project.

What Unity version are you using? And on windos or OS X? I’d really like this to work for you, too, so help me reproduce the problem, please.

I just spent about an hour with the island sample package trying to get it working with mixed results. I’m running Unity 2.5.1 on a Mac. In each case I’m creating a new project with the “Standard” assets. The biggest problem(s) seem to be that whatever shaders you’ve assigned to the details and plants are not being exported in your package file, they are being imported as “diffuse”. Another problem seems to be that some of the shader links to textures (the detail grasses) are not included in the export either. Only the planes appear.

Although this looks pretty cool, I gather that I would need an application that will create vegetation and tree distribution maps in order to use it. Unfortunately, I don’t think any of the terrain apps I have will do this.

Yes, it needs an application to generate the maps.

On the website linked to above, I have written a small tutorial for TG2. I might upload an example .tgd if I find the time.

Or I might upload a couple of example data sets. :slight_smile:

Tom, did you use 1024x1024 textures? I’m not talking about the splat maps, but the textures itself. I’m wondering if there is a way to reduce the blurriness when you look down. They look good when you’re looking ahead, but blur as you look down.

I was looking at the demos that you had done and even the early on ones.

I’ve tested and tried splatmaps on other game engines and it seems to go about the same on all of them. Is that just the nature of the beast with splat maps?

No, I used 512x512 textures in the demos, to limit the download size. As it says on the webpage: The purpose of the demos is not to present beauty, but to present the tools. You should replace the textures, trees, etc. with your own. :slight_smile:

Also, check if anisotropic filtering, etc. has been correctly imported.

Here’s a new script that I’ll be adding to the package shortly.

This script allows the random placement of any game object on the terrain. It filters by an arbitrary map that is interpreted as a grayscale “density” or “probability” map, i.e. black means no objects will ever be placed there, white means the highest probability, grayscale values inbetween are lower probabilities.

It also uses layers, so you can make sure that stuff is only put unto the terrain, not into other objects, etc.

Finally, it can “clear out” the surrounding area around a spawn location to make sure objects are “spaced out” and not spawned right on top of each other.

Here’s a screenshot of the result. Imagine the white balls (my test objects) could be rocks for your scene, or houses for your city map, anything really.

199836--7352--$randomspawns_116.jpg

.Tom -
I’m receiving the same errors as bigkahuna. I’m using a Vista 64 bit machine with an ATI HD 3200. I receive the errors when importing the packages into a new project with standard and terrain packages loaded before your examples. I don’t know that this is much help, but at least it demonstrates that the issue is not limited to OS X.

Thanks. I’ll redo the demos with some better content once I’ve finished with the new version of the tools (where tree removal in overlay maps finally works, I hope).

Some notes on 2.6 and the tools:

Almost everything works just fine as far as I could check. The one thing that doesn’t is the shadow placement in the “Trees” script. I’m working on fixing that.

Remember to set “is readable” on all maps. The next script version will check for that, but since it’s a new addition I couldn’t know I would have to check that when I wrote them on 2.5

You can check known bugs on the tools on the
bugtracker.

Nice stuff Tom. When I get a chance I’ll have to dust off Terragen and see if this will be something I can use.