Author Topic: Color Map Maker for WM  (Read 4912 times)

0 Members and 1 Guest are viewing this topic.

Onyx

  • Community Member
  • **
  • Posts: 2
    • View Profile
Color Map Maker for WM
« on: May 02, 2004, 06:39:02 PM »
I saw a few posts here about creating Texture maps from the WM Color Maps.  So....I wrote a small app that makes them.

I took a "brute force" method of creating the BMP files....I just create all the maps.  Because there are only 5 palettes, this doesn't take long.

Basically, unzip into the directory where your BMP heightmap files are.  Run WMAP.EXE.

Type in a bmp file (less the extension).  Moments later, you will find several new files in your directory...all color mapped.

Try it and tell me if it is of any use:

http://web.alfredstate.edu/barberta/wmap/wmap.zip

If desired, I can probably come up with some other mapping techniques.

Hmmm.....any chance of getting the registered version?  :D

Onyx

  • Community Member
  • **
  • Posts: 2
    • View Profile
Link now works
« Reply #1 on: May 03, 2004, 04:01:09 AM »
Just noticed the link doesn't work.  I have fixed the issue and you should be able to download now.

Kisskool

  • Community Member
  • **
  • Posts: 1
    • View Profile
Color Map Maker for WM
« Reply #2 on: May 04, 2004, 06:46:22 AM »
Woot very cool !

Regards,

Fil

  • Testing Team
  • World Machine Guru
  • *****
  • Posts: 550
    • View Profile
Color Map Maker for WM
« Reply #3 on: May 05, 2004, 01:11:18 AM »
Hey, Nice!
It works!..

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 :P 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?

Cheers,
Fil.