Game Development Community

Lower Quality JPEGs

by Scott Doerrfeld · in Torque Game Engine · 05/08/2007 (10:11 am) · 3 replies

Right now I use all JPEG textures saved at 100% quality. I want to re-save them all at 60% quality in order to make the file sizes smaller. Will this have any effect on TGE's performance?

#1
05/08/2007 (12:04 pm)
The way I understand it, low quality and high quality JPEG images use the same amount of video memory within Torque. If that's true, then you might as well just keep using 100% images (or PNGs). Perhaps other engines do things differently. I've heard that .dds textures in some games provide good compression without being inflated in texture memory.

If I've misrepresented the issues here, hopefully someone will correct me.
#2
05/08/2007 (1:46 pm)
Aaron, I assumed Scott's motivation was to keep the overall game size smaller, which I would tend to agree with: you can trim 40% off the filesize of most jpgs without any visual loss, thereby leading to a far less bloated game for downloading or media for patching in later. My understanding of Torque is the same as yours regarding images being inflated into video memory (they certainly are when you retain them in the computer's own RAM).
#3
05/08/2007 (3:30 pm)
@Sam: You're right, the idea was to lower the size of my install package on the HD. Video memory, it seems, will be the same regardless. I just wasn't sure if something would come out of having "more" compression on my images.