Is OpenGl really so slow?
I''m programming a 3D engine in OpenGl, but if I''m displaying 300 textured vertices the same time, I only get 15 fps. After adding reflections and shadows I had 1-2 frames (1024x768). I couldn''t believe it and downloaded some of NeHe''s demos and there were so slow, too. I have a Duron 700, 128 MB Ram and a NVIDIA Vanta graphics card with 16 MB. Does someone know what I''m doing wrong or what is wrong?
March 25, 2001 12:45 PM
That''s pretty weird, ''cause I''m also programming a 3D engine, and I display a lot more poly''s (I suppose you meant poly''s, when you said vertices) and get +/- 400 FPS @ 1024*768 an a Duron 800 with a Radeon DDR 32. Perhaps you have lousy drivers, or you change states a lot. Do you manage you''re textures, or do you load a texture every time you display a poly... there could be lot''s of reasons. It''s especially weird that NeHe''s tutorials are slow on you''re computer. Is OpenGL slow? No, just check QuakeIII...
enjoy
enjoy
Sounds like your program isn''t harware accelerated. I had that problem too when I had a Voodoo 2 card. Try to find a pixelformat that is HW accelerated with your card. Sorry, that''s all I can tell you, I''m not very good at this pixelformat stuff...
-----------------------------Reporter: Are they slow-moving, chief?Sheriff: Yeah, they're dead. They're all messed up.-Night of the living dead
March 25, 2001 01:04 PM
That, and the GL_POINT primitive is REALLY slow. You are much better off just drawing a quad instead of a point, or better yet, a triangle strip.
March 25, 2001 01:04 PM
That, and the GL_POINT primitive is REALLY slow. You are much better off just drawing a quad instead of a point, or better yet, a triangle strip.
Post your rendering loop, so we can point out the problems in it. I'm pretty sure that it is your (or the) program's fault, not your hardware in this case. But, while you're at it, update your drivers (check reactorcritical.com, get the v10.8 ones). Do any other OpenGL programs run this slowly? Halflife, Tribes, Quake II/III, Soldier of Fortune, Alice, Milk Shape, et cetera. Most nVidia cards run OpenGL faster than they run D3D, so this is an odd situation.
"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said
http://www.gdarchive.net/druidgames/
Edited by - Null and Void on March 25, 2001 3:16:30 PM
"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said
http://www.gdarchive.net/druidgames/
Edited by - Null and Void on March 25, 2001 3:16:30 PM
March 25, 2001 02:17 PM
You might also want to check that you have good OpenGL drivers installed. Try going to www.glsetup.com and download the gl drivers there. That worked for me some time ago. (Also make sure you have the lates nVidia Detonator drivers ofcourse!)
reflections + shadows? youre not using the stencil buffer are you if so. change your desktop to 32bit colour.
for the vanta (win2k) the 10.80 drivers seem to be the best yet.
for the vanta (win2k) the 10.80 drivers seem to be the best yet.
March 25, 2001 03:15 PM
You might also want to check that you have good OpenGL drivers installed. Try going to www.glsetup.com and download the gl drivers there. That worked for me some time ago. (Also make sure you have the lates nVidia Detonator drivers ofcourse!)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement