PDA

View Full Version : turning _off_ hardware acceleration in opengl?



torisutan
07-29-2003, 03:22 PM
Hi,
I know this sounds like a weird question, but for a project i'm working on my supervisor wishes to see the preformance enhancement between using software rendering and hardware rendering. is there anyway to tell opengl to use software acceleration rather than hardware? or does anyone know of any free libraries that have the same functionality as opengl but renders using software?
Thanks ^_^
--Tristan

Bob
07-29-2003, 03:35 PM
OpenGL have no concept of software or hardware rendering, so naturally it doesn't have any function to switch between the two.

If you're on Windows, you could choose a pixel format your hardware doesn't handle so you get MS's generic implementation, gauarteed software rendering. But that implementation is old and have only the very basic features of "todays" graphics. If you want more advanced features, you can download Mesa (http://www.mesa3d.org/) . Very good software implementation, and it's very up to date (OpenGL 1.4 and lots of modern extensions if I remember correct). I really recomend it (not for performance though http://www.opengl.org/discussion_boards/ubb/smile.gif ).

al_bob
07-29-2003, 08:28 PM
If you have an nVidia card, you can grab the "nvemulate" tool from the NV developer website, which lets you force the use of the software rasterizer.
http://developer.nvidia.com/object/nv30_emulation.html

M/\dm/\n
07-30-2003, 04:17 AM
Tommiti systems has nice tool called 3d analyze (www.hotbot.com), that hooks ogl.dll's. Try experimenting & you'll find how to turn software rendering on.

07-30-2003, 01:49 PM
What if you use the troubleshooting slider in Display Properties\Advanced\ to "no acceleration"?

torisutan
07-30-2003, 02:32 PM
aha, thanks justme, simple, but effective.. my cube, made up of 128 128*128 textures came crashing to a halt.

thanks everyone else too, i may look into those later for a better way to switch hardware acceleration off which is local to my program only.

--Tristan

roffe
07-31-2003, 12:14 AM
Originally posted by torisutan:
or does anyone know of any free libraries that have the same functionality as opengl but renders using software?


Download,compile and link with Mesa. http://www.mesa3d.org