View Full Version : Performance: 95% SLOWER than DirectX? Is something wrong?
I just recently started fiddling with openGL. I downloaded nehe's tutorial 06 for texture mapping. I'm getting around 7 frames per second. This is ridiculous for rotating a box primitive with 1 texture map. My system has a Voodoo 3k. Ok, it's an outdated card but 8fps?!? I decided to do some testing on a GeForce3 card (1.0+ GHz processor – new system). I only had around 55 fps for rotating a stupid box. Baffled, I wrote a simple routine to test if it was resident in texture memory…it was…am I missing something?
08-25-2002, 01:05 AM
Do you get hardware acceleration for opengl ?
Try glGetString (GL_VENDOR) and glGetString (GL_RENDERER).
If it doesn't say anything about 3dfx voodoo 3, you're running without acceleration (but even if you get 3dfx voodoo3, you can't be sure that you get hw accel.)
08-25-2002, 03:39 AM
Strange that demo ran @ 300 fps on my old 400mhz/ati rage 128 machine
Rob The Bloke
08-25-2002, 05:20 AM
a: you have v-sync enabled, thus limiting your framerate
b: you might want to get some new drivers
Rob The Bloke
08-25-2002, 05:22 AM
As an addition, voodoo 3's will run openGL only if you have a recent enough driver and the display is limited to 16bit.....
08-28-2002, 05:57 AM
I've never been able to get beyond 77 fps even for a scene that doesn't do anything. I suspect its the fps code I am using I found on gametutorials.com site. I will need to locate an independant program and see what that says. I am using a GeForce 2 MX 400 on a Athlon 1200Mhz machine. But then my machine has never been that fast anyway. ;-)
(AKA tina_k - forgot I had registered here)
08-28-2002, 06:04 AM
you're just running with VSYNC enabled. You can turn it off with wglSwapControl (that's an extension).
08-28-2002, 08:13 PM
Is that the correct wording, cause I can't find it with a google search nor in my MSDN library.
Is this VSYNC turned on by default then and you have to turn it off programmatically?
PS... I also tried the 3D Benchmark Tests and even they never went higher than 50fps. But those are some fancy graphics so I can't complain.. yet ;-)
08-29-2002, 02:06 AM
08-29-2002, 10:13 AM
Thanks... now why don't it give example code... sigh...
After searching for how to use it with google I went back to my old favourite gamedev and one of the forum messages explained how to use it exactly.
Here it is for those that are having trouble using it like myself. http://www.gamedev.net/community/forums/topic.asp?topic_id=101537
EDIT: Aha, found the item on my video card - so thats what it does - hehe
[This message has been edited by tinak (edited 08-29-2002).]
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.