Terrain Texture Generator - (25. March 2007)

About

As the ZornGL-Engine had it’s own terrainrenderer, I decided to write this tool that can automatically generate a single huge texture map for a terrain. Based on the height-values in a greyscale image (the heightmap) it generates a single texture with a given set of texture distrbuted depending on the height of the map at a certain point.
Over time the tool evolved and a lot of functionality was added, even upon user request as this tool seems to be widely used (even in some known projects). So the latest version has a nice new interface, can generate textures up to 4096×4096 pixels, renders (and if needed blurs) a lightmap depending on the sun-position and orientation and much more.

And for all those interested in maybe putting on-the-fly terrain texture generation into their own projects, I also released the source for version 1.6 (recent one is 2.0).

The idea for the generation of the terraintexture comes from a FlipCode tutorial about Terrain Texture Generation. The shadowmap generator is based on a GameDev tutorial called Fast Computation of Terrain Shadow Maps .

Screenshots

Downloads
Installer Zipped Win32 executable version 2.0 (1855 Downloads)
zip Zipped sources for version 1.6 (Delphi) (406 Downloads)

Version 2.0
- Totally new user-interface (all options on one screen)
- You can now blur textures (especially useful for shadows)

Version 1.6
- Texturesize up to 4096*4096
- Much faster gernation of the terrain texture

Version 1.5a
- Fixed a bug that caused a crash when generating the texture without lighting

Version 1.5
- Shadowgeneration
- Different texture sizes
- Real-time 3D Preview (using OpenGL)
- Texturesizes now can differ
- 5 instead of 4 base textures

Version 1.0
- Initial Release

RSS feed | Trackback URI

5 Comments »

Comment by Dominique
2007-08-12 09:30:38

Hmm just reading the description of this tool again and it started to remind me of John Carmack’s tack about MegaTextures.

 
Comment by Zante
2008-03-28 17:44:32

Incredible, can you add some means of tiling the initial textures? Everything seems a bit stretched.

 
Comment by Biodeath Graves
2008-07-07 22:56:12

this is the program iv been lookin for, cause iv tried making my own textures with photoshop and ended up with crappy textures in a huge file, lol. THANK YOU! my search is over!

 
Comment by Manuel
2009-07-10 03:59:36

Hello

Lots of thanks for giving us this tool.

Im trying to make a map for taspring ( http://www.taspring.clan-sy.com ), an rts game, and i intended to use your utility, but, i get an error at the end of the texture generation phase.

http://s36.photobucket.com/albums/e35/6u0W/?action=view&current=terrtexgenerror.jpg
(picture of the error message)

Seem the texture gets generated, but i cant see the 3d preview, wich is a shame.

thanks in advance.

Comment by Sascha Willems
2009-07-13 19:38:05

Well, that error message is not helping much. Could you please post or send me (webmaster@delphigl.de) your system specs, mainly graphics card, OS and installed graphics drivers. Also please make sure the application is installed in a directory where you have user rights to write files to.

 
 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

All content and images are copyright© 2001-2010 by Sascha Willems
4 online / 385094 total Powered by WordPress
Impressum