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.
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…”).
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.
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.
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.
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.
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.
.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).
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.