Dev - Also, on form submission, use GD to resize the image as a new thumbnail file
Dev - In the submission form, you can now upload a banner image
3D Height-Map Script
user posted image user posted image
Though it is not perfect, this script will allow you to add terrain like those above (and just about whatever else you can create with a height map, color map, and a texture) to your project. Later on I'll probably post a couple of steps on how to make a terrain like the one in the first picture, but I am sure a lot of you can probably figure that out on your own. I have included a GM6 of an altered version of my model viewer, which will use the script and generate the terrain for you.
This script returns the model file when called, and also returns all the terrain's z values in a global data structure called global.zvals. I have not included a height-checking script for this, but you can use just about any height checking script out there for it, so it shouldn't be a problem. I haven't really had time to program normals into the script yet, and am not sure that I will or not, since the method used to color the terrain in this example does not require it. Of course, you are free to alter it however you see fit though! wink1.gif
The last thing I think I should mention is the modes the script works in. Mode 0 will not color the model at all, which admittedly isn't very useful without normals, but I have included it anyway, just so you can try it out. Mode 1 creates the terrain and applies UV mapping to the model so that one large texture can cover the entire thing. This is useful if you are going for an effect like the first picture above. Finally, mode 2 will allow you to use a second image file as a color map to apply general areas of color to the terrain while also texturing each grid separately. This is useful for adding all sorts of color to the terrain, while also allowing for a more finely detailed texture to be applied. You can see that effect here.
And that just about sums it up. You can download the script and the GM6 terrain viewer below. Enjoy!