Archived

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

KalvinB

Fast loading graphics

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