new OGL SDK drivers? Is it possible?

Started by
4 comments, last by Electron 22 years, 5 months ago
I a wondering if there is possible to update the OGL SDK library? And, if so, where can i find it? I''m having trouble with my current library. When i use glBegin() and glVertex() on an algorithm drawing about 20,000 triangles, i get about 60-70 fps. When i rewrote it to use glDrawElements() instead, (Which would go faster, in my oppinion), my FPS drops down to <1. I scanned the algorithm and there is nothing in my code that could do such difference. My only explanation would be that the internal code for glDrawPolygon() is bad. Are there different versions of the SDK, and if so, where can i find it? Don''t just say www.opengl.org, since i scanned the entire page, and found nothing.
--Electron"The truth can be changed simply by the way you accept it.""'General failure trying to read from file' - who is General Failure, and why is he reading my file??"
Advertisement
try silicon graphics'' site
That isn''t the fault of the OpenGL MCD (the DLL) or the OpenGL library. That is the fault of your drivers, remember that your video card maker has to write all of their own code for the OpenGL functions.

[Resist Windows XP''s Invasive Production Activation Technology!]
I don''t believe that there would be such a loss of performance due to the use of glDrawElements because of a driver problem. I don''t know what 3D card you have, but eg. Nvidia claims that glDrawElements is ultra-fast. It''s a so widely used function that no OGL driver will have *such* a bad optimization.

I has to be a problem with your code. If you switched from glBegin()... to glDrawElements, then that means you switched to VAs. I suspect you are repopulating your VAs every frame. Thats the only explanantion I have for such a huge performance drop.

- AH
Yeah, I thought about saying exactly what AH said, but I wanted to give you the benefit of the doubt .


[Resist Windows XP''s Invasive Production Activation Technology!]
20000 is way to much for drawelements for most cards
use 5x4000 instead (but experiment yourself)
also check the drawrangeelements extension for info on querying to see the max indices/vertices for a reasonable framerate

This topic is closed to new replies.

Advertisement