View Full Version : Texturing gives me horribly slow framerates. Why?

09-01-2001, 07:31 AM

I have an AMD Thunderbird 900MHz, ATI Rage Fury 128 AGP (32Mb), and 96Mb PC100 RAM. When I texture some triangles in OpenGL (using Nehe's code), my framerate drops horrifically. I have a theory that maybe it's not being sent to video memory.. any ideas on this? Why is it so slow?

09-01-2001, 10:07 AM
The pixelformat might not be accelerated, if so you're getting software rendering. Try switching to 16bit colour.

09-01-2001, 03:41 PM
it does sound like u have software unacceleration try glGetString( GL_VENDOR )

09-02-2001, 01:44 AM
I'm using 16 bit colour. My card does run 32 bit colour nice and quick though usually..

I've never used glGetString before, how can I display it?

09-02-2001, 01:06 PM
char *str = glGetString( GL_VENDOR );
printf("%s\n", str );

09-04-2001, 09:47 PM
I think you gotta use char *str = (char *)glGetString( GL_VENDOR ) at least I have to for c++. But performance does tank when you use textures, especially if you use large textures. If you have blending etc on it'll tank it even more.

09-04-2001, 11:10 PM
Just to make sure that you aren't making one of the common early mistakes, you aren't by chance calling glTexImage2D every frame, are you?