Sign in to follow this  
Phillip Hamlyn

Texture and Mesh File Loading Strategy

Recommended Posts

Hi all, I'm using Managed DX9 for rendering terrain. I'm loading, scavenging etc individual .X and .PNG files for each map segment based on the currently available RAM and Texture Memory on a seperate loader thread. This all works fine but my question is about managing all these files and whether its quicker at runtime to have them merged into a single big file, and use offsets and streams to load the data, or whether the single files are as efficient. I'm a little worried that the constant opening of files is detrimental to performance (even on a seperate thread to the rendering) and wondered what a general purpose strategy for this would be. Thanks Phillip

Share this post

Link to post
Share on other sites

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