About Store Forum Documentation Contact

Post Reply 
image conversion - file sizes
Author Message
Ezequel Offline

Post: #1
image conversion - file sizes
Hi all smile,

When I have, for example, a .jpeg texture of 1024x1024 pixels in size, in 100%/full quality, it's filesize is about 1,18 megabyte.
When I save the same 1024 x 1024 texture as .jpeg, but 50% compressed, it's only 183 kilobyte.

When I then convert both versions of the texture to .gfx files with the converter program (to DXT5 with mip maps enabled) for use in the editor: both files result in the same filesize of - in this case - 1,33 megabyte.
I don't understand how the 183 kilobyte image can become as big in size as the 1,18 megabyte image. This will be too big (drop performance) when I want to use a lot of different high-resolution terrain textures.

I don't want to loose performance on huge file sizes, but since I notice a considerable difference in terrain quality between 512x512 and 1024x1024 textures, I decided to use 1024x1024 (or if necessary 768x768) terrain textures.

- Edit:- You can check the difference in terrain quality with the attached image: on the left side, a 512x512 texture is used; on the right it's the same texture at the same distance but in 1024x1024 resolution. The camera is zoomed in very close to the terrain here.

If anybody has any ideas on how to get the .gfx file size down, or how to get it down for compressed images, I would love to hear about it.


Attached File(s) Image(s)
(This post was last modified: 02-22-2013 12:16 AM by Ezequel.)
02-21-2013 11:56 PM
Find all posts by this user Quote this message in a reply
Zervox Offline

Post: #2
RE: image conversion - file sizes
it is because of mipmaps. and you won't really notice any performance difference because of the filesize alone. You have multiple conversion settings in the Converter.exe.
(This post was last modified: 02-22-2013 05:30 AM by Zervox.)
02-22-2013 05:29 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline

Post: #3
RE: image conversion - file sizes
GPU does not suport jpg format smile
gfx dxt5+mipmaps is the best you can get
02-22-2013 11:35 AM
Find all posts by this user Quote this message in a reply
Post Reply