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

file load times

This topic is 5045 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

hi, i have implemented a tga loader, now, the load times takes a while, this is because i read 1 pixel at a time from the file, now i could read the whole file in at the start into a buffer, but i need to determine file size somehow (im using SDL for cross platform, so OS specifics are out) or i could read in chunks at a time, this would be okay for an uncompressed tga as i can determine how much i need to read in, but with compresed tga i cant do this! ideas welcome

Share this post

Link to post
Share on other sites