• Welcome to World Machine Community. Please login or sign up.
 
August 20, 2019, 01:29:55 pm

News:

Read the Development Diary for an inside look at World Machine's progress!


Color Map Maker for WM

Started by Onyx, May 02, 2004, 06:39:02 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Onyx

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

Just noticed the link doesn't work.  I have fixed the issue and you should be able to download now.

Kisskool


Fil

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.

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview