Hi,
Getting back to the original question (TGAs showing up with only 256
colors). I tried it myself and I got only 256 colors, too. It looked ok, but
having at least 16bit would be muuuch better. So, why does HL reduce the
color depth? To me that does not make any sense, does it?
cya,
Hey guys, this isn't really a coding question, but problems like this
usually fall upon the coders shoulders like it has in my mod, so I thought
I would put it out to you guys anyways ;)
We are using TFC style menus for our player class selection. We
have 24-bit colour TGA files for each of
You need to use a 32-bit TGA
24bit color and 8bit alpha
HL will change the color to 16bit and use the alpha for transparanticy(sp?)
-Ms
From: Commando [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [hlcoders] TGA Files in Menus
Date: Fri, 12 Apr 2002 11:54:59 -0400
A question just out of curiosity: How large may those tga images be? Are
there the same restrictions (256*256) as there are with textures or can they
be any size you want?
TheTinySteini
You need to use a 32-bit TGA
24bit color and 8bit alpha
HL will change the color to 16bit and use the
yea the max is 256x256 and it must be in sizes of 16 (or 8 can't remember)
but HL will give you an error if it's wrong I beleive
-Ms
From: Sebastian Steinlechner [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] TGA Files in Menus
Date: Fri, 12 Apr
]
Subject: Re: [hlcoders] TGA Files in Menus
yea the max is 256x256 and it must be in sizes of 16 (or 8 can't
remember) but HL will give you an error if it's wrong I beleive
-Ms
From: Sebastian Steinlechner [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders
Thanks, but I should have been clearer, they are already 32 bit (24bit
colour) and transparent, but when HL converts them to 16 bit the palette it
chooses seems to be very limited (or at least not optimized for our
images), so I get banding in large areas of similar colours. If I knew
more about
, 2002 6:17 AM
To: [EMAIL PROTECTED]
Subject: RE: [hlcoders] TGA Files in Menus
Actually, I wouldn't recommend using TGAs as large as 512. Although
they will work for most people, some rather popular video cards out
there seem to choke on them. We had this problem of large TGA images
Long
Sent: Friday, April 12, 2002 10:03 PM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] TGA Files in Menus
TGA's go up in powers of 2.
2,4,8,16,32,64,128,256,512 or so i heard.. i emailed the valve guys a real
while back asking about this. Something to do with gaphics cards and
limitations
9 matches
Mail list logo