MapPat.bmp pattern masking

Your place to ask about and discuss scenario design and modding.

Moderator: Arjuna

Post Reply
User avatar
Vance
Posts: 100
Joined: Sat Jul 01, 2006 8:27 pm
Location: The Netherlands

MapPat.bmp pattern masking

Post by Vance »

Can someone explain how the RGB values in the MapPat.bmp and MapPatA.bmp files and the map backround are combined to give the color that is actually displayed on the screen?

When I make the MapPat.bmp and MapPatA.bmp black I get the map background, when I make MapPatA.bmp white I get the color of MapPat.bmp regardless what the map background is.

I have been experimenting with making MapPatA.bmp grey, to make MapPat.bmp semi transparent, but then I got a bright mangenta or cyan.

I suspect it is a simple AND, OR or XOR bit pattern masking, but what is the formula?

User avatar
Vance
Posts: 100
Joined: Sat Jul 01, 2006 8:27 pm
Location: The Netherlands

RE: MapPat.bmp pattern masking

Post by Vance »

Anyone? Bil H?
User avatar
Arjuna
Posts: 17768
Joined: Mon Mar 31, 2003 11:18 am
Location: Canberra, Australia
Contact:

RE: MapPat.bmp pattern masking

Post by Arjuna »

Paul,
 
Can you advise on this please?
Dave "Arjuna" O'Connor
www.panthergames.com
Banquet
Posts: 1190
Joined: Thu Aug 22, 2002 9:04 pm
Location: England

RE: MapPat.bmp pattern masking

Post by Banquet »

Just found this on a search. I'm having the same problem.. can anyone advise the answer?
Banquet
Posts: 1190
Joined: Thu Aug 22, 2002 9:04 pm
Location: England

RE: MapPat.bmp pattern masking

Post by Banquet »

Hmm, found this in an earlier discussion.. seems to be the reason;

'Some levels of transparency cause corruption, you'll have to experiment to see what works at each zoom level.

Regards
33'

Post Reply

Return to “Scenario Design and Modding”