View previous topic :: View next topic |
Author |
Message |
Stroggos
Joined: 14 Apr 2009 Posts: 43
|
Posted: Sun Apr 19, 2009 9:53 am Post subject: Adding JPEG texture Support??? |
|
|
is it possible to add JPEG suport into quake??? Because i dont like pcx's because they only support 8bpp and TGA are kool but take up too much space so JPEGs just solve all problems _________________ Dont even try to port Quake 4 to the ipod |
|
Back to top |
|
 |
Electro
Joined: 29 Dec 2004 Posts: 241 Location: Brisbane, Australia
|
Posted: Sun Apr 19, 2009 12:45 pm Post subject: |
|
|
JPG produces fairly rubbish artifacts on textures, as an artist I'd never want to use them for that.
Considered PNG? Or maybe pk3 support instead, and using tga's but in pk3's (you'll find they compress a lot). _________________ Unit reporting!
http://www.bendarling.net/ |
|
Back to top |
|
 |
Urre

Joined: 05 Nov 2004 Posts: 1073 Location: Sweden
|
Posted: Sun Apr 19, 2009 5:58 pm Post subject: |
|
|
TGA's in pk3 compress as much as PNG does, unless you RLE compress the TGA, which makes it compress less inside a pk3. Avoid RLE. _________________ Look out for Twigboy |
|
Back to top |
|
 |
mh

Joined: 12 Jan 2008 Posts: 909
|
Posted: Sun Apr 19, 2009 7:01 pm Post subject: |
|
|
Most Q1 engines out there feature JPEG support, adding it should be a simple matter of grabbing the source code, finding what's required, and doing it. OK, it's lossy and it can be crap, but I think it's still a valid thing to have. _________________ DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines |
|
Back to top |
|
 |
reckless
Joined: 24 Jan 2008 Posts: 390 Location: inside tha debugger
|
Posted: Sun Apr 19, 2009 10:56 pm Post subject: |
|
|
also tga has a really old bug where it flips textures which you then have to correct engine side .
jpeg is ok as long as you dont try alpha channel textures (looks really crap) png is quite a load better in that regard but can make load times a bit high if theres a lot of textures (especially if compressed inside a pak).
im toying with jasper support instead of jpeg since most of the ancient jpeg bugs have been fixed and its still developed. |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Mon Apr 20, 2009 12:54 am Post subject: |
|
|
reckless wrote: | also tga has a really old bug where it flips textures which you then have to correct engine side ;).
|
Or you could just fix your TGA loader. But hey, whatever works... _________________ What's a signature? |
|
Back to top |
|
 |
reckless
Joined: 24 Jan 2008 Posts: 390 Location: inside tha debugger
|
Posted: Mon Apr 20, 2009 4:10 pm Post subject: |
|
|
wasnt that what i ment ?
"which you then have to correct engine side"
assuming he started from square 1
but yes apart from this tga is probably the best.
reason: tga copes better with being compressed inside paks.
and loads quite a bit faster than png. |
|
Back to top |
|
 |
|