Petr it works perfectly. So perfectly that it popped another set of useful feature to add when you have time. Since this is for terrain development using heightmaps mostly, another great feature would be:
An option box, use water map or not. The other would be an edit box with the height scale to place the water level plane. Since you know the lowest to the highest point, then this edit box would be in the range of 0 - 1. If you can make a nice translucent blue plane that spans the size of the terrain at the height scale specified, it would really add to tweaking and working on terrain designs. If you want the texture map for water could be browsed for and a transparency edit box to set by the user.
And if this wasn't enough, I know in other languages for handling terrain, you also specify a detail map. This is tiled a lot to allow a nice small texture underneath the terrain texture. If you can put in something like this it would be great. So another browse button for the detail map to use, this would be tiled by filling in tile x and tile z numbers by the user in edit boxes to get the sizing correct. Usually this texture is greyscale and blended with the main texture file. I am sure you have seen this in your ventures in 3d programming. Then an edit box for transparency for this map too would be awesome.
Sorry you offer me candy and I ask to grab the whole box
Bookmarks