rgb files

All things BZFlag - no [OT] here please
Post Reply
User avatar
jbennyh
Private First Class
Private First Class
Posts: 10
Joined: Mon Jun 30, 2003 6:47 pm
Location: USA

rgb files

Post by jbennyh » Tue Nov 04, 2003 11:33 pm

I've been hacking the rbg files. Can anyone tell me the transparency color? I am converting them to bmp or jpg, making the changes and converting them back.

Ben

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5193
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Wed Nov 05, 2003 12:52 am

there is no "transperancy color" they use a full alpha channel, change them to a format that supports alpha ( bmp, and jpeg do not), like PNG or TGA.
ImageJeffM

User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak » Wed Nov 05, 2003 1:06 am

The SGI/RGB file format uses a separate alpha channel, not a transparency color. This lets you blend the transparency (make areas semitransparent) rather than having the whole on/off thing going.

[edit]Heh, looks like I'm a bit redundant here...had to go look it up and make sure and patlabor goes and beats me to it...[/edit]

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5193
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Wed Nov 05, 2003 2:55 am

hard to beat a man with a ping of 0 :) but more info never hurts.
ImageJeffM

User avatar
MrApathyCream
Dev Wizard
Dev Wizard
Posts: 66
Joined: Fri Dec 06, 2002 9:16 pm
Location: Warwick, MD
Contact:

Post by MrApathyCream » Sun Nov 09, 2003 6:28 am

The 1.10 version uses png files anyway

User avatar
jbennyh
Private First Class
Private First Class
Posts: 10
Joined: Mon Jun 30, 2003 6:47 pm
Location: USA

Post by jbennyh » Sun Nov 09, 2003 11:05 pm

Thanks. We just got the 1.9.8 version, which uses png so it's not an issue. We had been playing rabbit in 6.26.
Ben Hohman

Post Reply