Archived

This topic is now archived and is closed to further replies.

Chromebender

How to enable hardware acceleration?

Recommended Posts

Chromebender    122
Maybe I was spoiled by learning OpenGL on an SGI, but I''m having problems writing win32 OpenGL code: everything works fine, but runs very slowly (because it is in software rendering mode). I would like to know how to enable hardware OpenGL acceleration for Win32 programs using 3dfx graphics cards (specifically, the Banshee, Voodoo3, and Voodoo 5 cards). In other words, what exactly would I need to link to the code, and what lines of code would I need to add, to have... say NeHe lesson #6 (or any other program) run in hardware accelerated mode in Windows NT with my Voodoo 3 graphics card? I am only interested in hardware-accelerated OpenGL, NOT glide. Thanks in advance for the help.

Share this post


Link to post
Share on other sites
Demon Lord    122
On these cards, the OpenGL dll is named something like "3dfxopengl.dll". Simply copy it to "opengl32.dll" and you''ll get acceleration.

I think...
Better to read the faq zedzeek posted above.

EL

----------------------------------------
"Inash neteia haeg joa kavari quilm..." SD4

Share this post


Link to post
Share on other sites
Chromebender    122
Thanks - you are correct. I copied the 3dfxOGL.dll file to OPENGL32.DLL and it worked (mostly). Still occasional glitches probably resulting from using an old .dll file for the Banshee graphics card.

Share this post


Link to post
Share on other sites
DarkHacker    128
You could also just put the your 3dfxogl.dll into your program directory and then just rename it to opengl32.dll. That way you''ll get hardware accleration. -DarkHacker

Share this post


Link to post
Share on other sites
Fremmed    122
I thought you could choose which output device to use with SetPixelFormat(). I haven''t gotten around to trying it yet, but this is what I was told.

Share this post


Link to post
Share on other sites