Just a few minor remarks… things I just noticed…
The greyscale should be exactly the same as the originl terrain, one would think. The fact is it is sligtly darker… Also I checked the images with photoshop’s histogram function, and found that the reds, greens, and blues are not the same all over, and in both images… But all this has an explanation: I found out that in the colors.tga that comes with your wmap, the greys are not equal red=green=blue… (WM’s colors.tga also isn’t pure grey) some of them have a bit more red or blue than others This explains the differences to what was expected, so I would say “It works!”
Obviously WM does not rely on the colours.tga file for its output, so a true greyscale bmp is the expected result and thus different from the texture created with wmap…
A curious remark, this one not having to do with your application… When I open the greyscale TGA that WM output, I get a less blue image than the BMP!.. if I compare both images the TGA looks yellower…
Did any one else also notice this?