View Full Version : Disappoiting performances on textured mesh
02-15-2007, 03:07 AM
1) Without textures the model rotate easily on screen
2) With textures and zoomed away (very small on screen) the model rotate easily on screen
3) With textures and zoomed in (very big on screen) the model almost DOESN'T rotate! :confused:
What is the first thing to check in this case? Should I add Mipmaps?
02-15-2007, 04:14 AM
Most likely, you don't have hardware acceleration. Have you installed the latest drivers from nVidia/ATI/whatever?
Oh, and this belongs in the beginners forum.
02-15-2007, 06:13 AM
I see two possible causes:
-you don't have hardware acceleration - that means your pixel format is not selected properly or you have wrong drivers. Check what glGetString(GL_RENDERER) returns.
-your rotation speed depends on framerate - this is design problem. It happens when you rotate the object by the same step every frame. Except for rotating by mouse you should scale your rotation speed by current frame time.
02-15-2007, 06:52 AM
Did you checked errors? Try using glGetError
02-16-2007, 01:17 AM
since you posted something about NPOT textures, i assume the texture you use is NPOT? maybe NPOT textures are not hardware accelerated on your gpu and therefore you will have better performance with a POT texture.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.