Terrain PCX questions

Terrain / Theater editing

Moderators: Lone Wolf, Snake Man

dave77459
Recruit
Posts: 18
Joined: 2002-10-01 22:01:01
Location: Houston, TX

Terrain PCX questions

Post by dave77459 »

Hello,

Panther has been discussing with me the prospect of creating a windows-based alternative to runtiles. I have looked into it enough to have questions. :)

As I understand it, all'y'all create the H tiles first, which is the largest resolution. Then the tiles are reduced in size to the smaller resolutions, M, L, and T.

My questions:

1) Would it be OK to run the alchemy.exe, using the windows program as a easy-to-use front end?

2) If not, does anyone know how to perform color resampling? This seems a thorny problem. For example, assume we have a 4 x 4, 4 color block that looks like this:

1 2 3 4
1 3 3 3
2 3 3 3
4 1 1 2

If we want to make it 2 x 2, either information is lost, or resampling takes place. Losing information is easy. I could make the example:

1 3
2 3

by tossing away 'even' bytes. However, I don't know what colors 1, 2, 3, and 4 are, so I lose any chance to blend colors.

It seems to me, that if you guys like alchemy, then it ought to be used. Otherwise, you will get the new algorithm I decide on. :)

Am I overthinking this?

Dave
Snake Man
Commander-In-Chief
Posts: 9784
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Re: Terrain PCX questions

Post by Snake Man »

quote:Originally posted by dave77459:
1) Would it be OK to run the alchemy.exe, using the windows program as a easy-to-use front end?
Yeah it would be ok. But whats the difference to runtiles.bat batch file?

front end is front end, be it .bat or exe.

What we really would need is full one exe utility which processes the pcx tiles AND checks them against texture.bin to verify that no palettes are wrong and possibly even make fartiles automatically.

:)

Well since you asked ;)
quote:2) If not, does anyone know how to perform color resampling?
I don't know.
quote:It seems to me, that if you guys like alchemy, then it ought to be used.
I don't like it, but thats all we got...
quote:Otherwise, you will get the new algorithm I decide on.
Sounds cool to me!

PMC TFW
Snake Man
Important PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Return to “Terrain / Theater”