Sign in to follow this  

FastLoad Textures

This topic is 4667 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 been working with an terrain test, and ahve been using a 2048*2048 image for the map.. but I load it like a jpg file and it takes a long time to load it.. what format or method can be better/faster to load so big files? hope anyone can point me somewere. [Edited by - X5-Programmer on March 9, 2005 11:03:03 AM]

Share this post


Link to post
Share on other sites
Load images as fast as possible involves finding a format that can be decoded with the same speed as you can do io. Memory mapped files is one easy way to parallelize loading/decoding. So the optimum format depends largely on the intended storage medium. And since JPEG is to slow I can only assume that you're cpu bound and need to find a less complex format.

Hardware texture compression and vector quantization seems like a good choices, especially since they allow you to keep the images in a compressed form in memory. But something as easy as storing raw images in a reduced bit depth could be enough.

Share this post


Link to post
Share on other sites
i am looking for a ready-made utility to convert my image files to a character-based array file for use by GLUT wrt Mark Kilgard's book. Please provide the utility if you have it.
Else is there some other simply way to load an image onto an object in openGL.

thanks.

Share this post


Link to post
Share on other sites

This topic is 4667 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this