Archived

This topic is now archived and is closed to further replies.

Fast loading graphics

This topic is 5744 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Probably uncompressed targas or other uncompressed formats. It''s a lot faster when you don''t have to decompress data, as you would have to with a jpeg or something.

Share this post


Link to post
Share on other sites
Time is relative to the bottle neck. Disk I/O is SLOW. So in theory a compressed image would be faster to load since it takes up less disk space. The speed then comes down the the decompression algorithm since all graphics are usually stored in the same format in video memory.

Total time equation = Tr + Td where Tr is time reading from disk and Td is time decompressing.
In small images where Tr is small it doesn''t matter if the image is compressed or not and thus a non-compressed image is better.
In large images where Tr > Td compressed images would load faster.

However loading any graphics is going to be somewhat slow. Thus is is FAR better just to load once into memory since memory is fast.

Share this post


Link to post
Share on other sites