32 bit art for allegiance

Discussion area for user-created Allegiance models, textures, voicechats, music, and other ingame content.
Raveen
Posts: 9104
Joined: Wed Mar 16, 2005 8:00 am
Location: Birmingham, UK
Contact:

Post by Raveen »

Just how much of a performance hit are we expecting here? Probably less than using the HiRes textures causes I would guess. As it's very easy to have different versions of the texture files used in alleg I see no possible issues of locking people with low end computers out of Alleg by enabling 24bit textures.

Would there be any benefit in moving to a more efficient file format for textures? I suppose I'll do some reading and see what I come up with.
ImageImage
Spidey: Can't think of a reason I'd need to know anything
Zapper
Posts: 1306
Joined: Sat Jan 29, 2005 8:00 am
Location: Denmark

Post by Zapper »

I would rather have a better UI design tool, then 16mil colors that only work on 10% of the community machine park.

Please us the time to optimize the UI for the hirez, I think we are ready to make 1024 UI.
Life suck's and then u play Alleg.
-.. ..- -.- . -. ..- -.- . .----. . -- .. ... - .... . --. .-. . .- - . ... -
Image
Orion
Posts: 1733
Joined: Tue Jul 01, 2003 7:00 am
Location: Planet Min·ne·so·ta
Contact:

Post by Orion »

mdvalley wrote:QUOTE (mdvalley @ Dec 21 2006, 12:23 AM) For the alephs and build spheres, Alleg uses a trick called alpha blending. In short, it’s a way to make stuff semi-transparent without messing with alpha settings in the texture. We MIGHT be able to pull it off for a ship (or part of one), but it would need some code wrangling, and something in the mdl file to tell what’s transparent and what’s not (as well as code to parse that in, and Alleg’s mdl parser is WEIRD.)
That's not all, you also have to disable Zwrite and do Z order manually.. that means changing the order things are drawn in if they have transparent components. Also, if we dont use a color key (such as Black) or the alpha channel, you can only make individual components transparent if they are in seperate draw calls.
Raveen wrote:QUOTE (Raveen @ Dec 21 2006, 03:20 AM) Just how much of a performance hit are we expecting here?
Probably insignificant, especially on machines built within the last 5 years.
Last edited by Orion on Thu Dec 21, 2006 8:45 pm, edited 1 time in total.
Image
Raveen
Posts: 9104
Joined: Wed Mar 16, 2005 8:00 am
Location: Birmingham, UK
Contact:

Post by Raveen »

Orion wrote:QUOTE (Orion @ Dec 21 2006, 08:44 PM) Probably insignificant, especially on machines built within the last 5 years.
That's what I figured.

Would it be worth moving from bmps to tgas for the texture files?
ImageImage
Spidey: Can't think of a reason I'd need to know anything
mdvalley
Posts: 324
Joined: Sun Nov 21, 2004 8:00 am

Post by mdvalley »

Alleg can’t READ anything other than bmp-based mdl files. I’m trying to work out how difficult it would be to add code to read a different format.

I don’t see the point in using tga files. Aren’t they crazy big as well? If we’re going for a new texture format, I would use png. Dunno how quick they are in decompression, though.

And don’t suggest jpeg. Jpeg is evil for 3d textures. Don’t ever run your texture-to-be through jpeg compression.
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

looks like .png, tga or tiff

http://en.wikipedia.org/wiki/Lossless_data...hic_compression
http://en.wikipedia.org/wiki/Comparison_of...cs_file_formats - the bottom table lists compression and loslessness

my copy of fireworks can do .png and .tiff

so i vote for one of those

not embedding the file name in the file wil lalso be a good idea, so we can just rename things without re-converting them.
Last edited by madpeople on Fri Dec 22, 2006 3:39 pm, edited 1 time in total.
finn_bryant
Posts: 31
Joined: Mon Feb 20, 2006 8:00 am
Location: Stansted, UK

Post by finn_bryant »

QUOTE looks like .png, tga or tiff[/quote]

i believe that all of those would have to be decompressed before entering the graphics card, so in a prefect world you should pick a format which can be compressed on the card (don't know much about this but i believe that DXT is an example).

after all, if your going to do it, why not do it properly? (unless it requires a huge amount more effort)

doing so would mean that more people could use the high res pics youve done without filling their GPU memory

EDIT: i may be getting confused now that ive looked more in depth at some sites. (also, it looks like DXT is 16 bits only)
Last edited by finn_bryant on Fri Dec 22, 2006 4:46 pm, edited 1 time in total.
[sig]This post may contain nuts![/sig]
Orion
Posts: 1733
Joined: Tue Jul 01, 2003 7:00 am
Location: Planet Min·ne·so·ta
Contact:

Post by Orion »

Raveen wrote:QUOTE (Raveen @ Dec 22 2006, 03:09 AM) That's what I figured.

Would it be worth moving from bmps to tgas for the texture files?
For compression purposes, maybe. I would actually use DDS files though, as far as games go DDS is superior to PNG (and yes, they are compressed on the card). It would make the Allegiance install (not installer) smaller.
mdvalley wrote:QUOTE (mdvalley @ Dec 22 2006, 09:17 AM) Alleg can’t READ anything other than bmp-based mdl files. I’m trying to work out how difficult it would be to add code to read a different format.
If you use the TextureLoader class in Dx9 you could load them in quite easily...
Image
Quia
Posts: 159
Joined: Sun Feb 12, 2006 8:00 am

Post by Quia »

Back to the subject of actually making these 24 bit bmp.mdl's, I can't get anything but the original 16 bit mdlc to work. For the rest, I get 'application failed to start because MSVCR71D.dll was not found. Reinstalling may yadda yadda yadda. Anyone else having this issue?
ImageImage
Your_Persona
Posts: 773
Joined: Sat Dec 04, 2004 8:00 am
Contact:

Post by Your_Persona »

-->>Elitism<<--
I'm not Hamlet. I don't take part any more. My words have nothing to tell me anymore.
Post Reply