View Full Version : Texturing gives me horribly slow framerates. Why?
Rottbott
09-01-2001, 07:31 AM
Hi,
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?
harsman
09-01-2001, 10:07 AM
The pixelformat might not be accelerated, if so you're getting software rendering. Try switching to 16bit colour.
it does sound like u have software unacceleration try glGetString( GL_VENDOR )
Rottbott
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?
char *str = glGetString( GL_VENDOR );
printf("%s\n", str );
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.
Korval
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?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.