KatSplatter : GTK+ splatting program
A tool written on linux to generate blended textures for all kind of effects.
KatSplatter est un outil qui permet de:
- Faire du Texture blending
- générer des Heightmaps
Il est écrit en GTK+ sur son interface C.
Certains de ses modules sont écrits en C++ et sont la propriété de leurs auteurs.
click to enlarge
Basically you load a heightmap (grayscale image) and four images that will
be blended together using the mask from the heightmap.
In Open-Source Goodness I included a heightmap generator using Perlin
noise, code by HillTerrain.org unfortunately not up anymore...
Additionnally, a lightmap generator can create a lightmap and blend it
together with others.
Get your base textures.
- They are not necessarily tileable,
- They have to be of the same size, for example 512x512,
- They have to be bmp files.
Load your base textures
Load your four textures by clicking on the "Add Texture" button in the left panel.
Generate a heightmap by adjusting variables, and clicking
on the "Gen HillTerrain Heightmap" button on the right panel.
You can also load one of your heightmaps if you don't want to generate one.
The generated heightmap will have the same size as your textures (512x512).
Change some parameters on the right panel and generate it again. The seed
value allows to generate the exact same heightmap between sessions.
See details about Hillterrain algorithm here,
or check the file "Config.txt" as it contains infos about these values.
Click on the "Splat Textures" button on the upper part of the window.
Adjust the "Altitude" value of each texture, and check the result by pressing
the "Splat Textures" button again.
Files are already on disk: the heightmap is called "Hillterrain.bmp" and the
final texture is called "final.bmp".
However, you might want to click on the "Export" button to save your files
in png format, and test them in your 3D engine.