Texture Management in OpenGL

Started by
1 comment, last by phyxle 14 years, 2 months ago
Hello. My application runs smoothly in my computer which has a video card with 256Mb of ram and 2GB of system ram. But when I try to load more images or run the application on a system with 128Mb video card it does not show some of the images. As far as I understand, if I load more images since all of them can not be stored on the GPU my application will be slower but it still should show all the images. If that is the case, how come my problem is related to hardware? BTW, sometimes in my older system my text get distorted (I am using bitmap fonts) I am guessing that is related to the same issue. Thanks.
Advertisement
It is more likely to be supported texture formats, rather than lack of texture memory that is causing your issue. The older hardware likely only supports power-of-2 texture dimensions, so have you made sure that all your textures are a power of 2?

Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]

Thanks.
One problem that I had was that I was passing the GL_MAX_TEXTURE_SIZE limit.
I am going to test to see if all of my problems are resolved by this.

This topic is closed to new replies.

Advertisement