Archived

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

GlideNE1

Hardware Acceleration Tutorials

Recommended Posts

Guest Anonymous Poster
Windows have a Software OpenGL driver that it will use if you don''t have a OpenGL card

windows also use software OpenGL on voodoo/voodoo2 (don''t know about voodoo3/4/5)
unless you use the 3dfx OpenGL drivers.

Share this post


Link to post
Share on other sites
That might explain why these tutorials run so slowly on my Voodoo3. Questions: How do I include 3Dfx OpenGL Librarys into my OpenGL programs? I also have a Nvidia Vanta LT, would these tutorials run better on that? Are there any updates for the OpenGL Librarys that comes with VC++6 and can I replace those with ones with something for like quake2? Or am I chasing goats again?

Edited by - GlideNE1 on January 28, 2001 2:18:48 AM

Share this post


Link to post
Share on other sites
i have a vanta to which is a bit quicker than a voodoo3 and has exctra things eg hardware accelerated stencil buffer. get the 6.34 drivers nvidia generally make the best opengl drivers

http://members.xoom.com/myBollux

Share this post


Link to post
Share on other sites
I think the current glide version is 3. So what you do is dont link the opengl libs then do something like this:

typedef WINGDIAPI void APIENTRY glEnable_func(GLenum cap);

glEnable_func glEnable;


if (useGlide) {
HINSTANCE opengl = LoadLibrary("glide3x.dll");

//if not 3 try 2
if (glide == NULL)
opengl = LoadLibrary("glide2x.dll");

} else {
opengl = LoadLibrary("opengl32.dll");

//make sure gl loaded
}

//now get function addresses (ex)
glEnable = (glEnable_func)GetProcAddress(opengl, "glEnable");


Hunter-Killer

Share this post


Link to post
Share on other sites
Yeah, I have a Voodoo3 also, just make sure you''re using the latest drivers, and it runs beatifully.
The Voodoo3 is faster than most people make it out to be, though it lacks some of the newer features that make nVidia''s cards so nice. (Like stencil buffering and hardware T&L). It also does not make use of the AGP slot that it sits in
It is really a great lower-end card, as long as you''re using the newest drivers for it.



Contact me

Share this post


Link to post
Share on other sites
Yeah the Voodoo3 is great, but it doesn''t support OpenGL directly. Hence, MiniGL drivers for games like Quake2, Half-Life, ect. That''s also why the OpenGL program I''m creating runs in software mode only. Which is really slow compare to hardware acceleration, Really really slow. Can you explain a bit more on how to implement that code into my program? (Doesn''t Glide have it''s own functions?) All my code (Or Nehe''s, I''m just following his tutorials.) uses the Standard OpenGL Librarys. (Side note: If Microsoft helped standardize OpenGL, why did they went on to make DirectX?) Maybe, I''m chasing goats again.

Share this post


Link to post
Share on other sites
You say that windows runs OpenGL in software on VooDoo 3?
I don''t believe you.

Example: (Quake 2 timedemo, 800x600, full details)

If I select "3DFX OpenGL" and run a timedemo I get around 64 fps.
If I select "Default OpenGL" I get around 58 frames.
To some people this might sound as if windows DOES emulate OpenGL using a software renderer. But when I run the timedemo in software I only get about 15 frames (and there is NO texture filtering).

(3DFX OpenGL (aka. MiniGL) is an OpenGL wrapper that emulates OpenGL using Glide. The reason why MiniGL is faster than OpenGL is (as far as I know) that MiniGL is specially optimized for 3DFX cards)

This is just one example but I experience exactly the same in most other games. Heavy Metal FAKK 2 (based on the Quake 3 engine) runs nice and smooth on my computer (at least most of the time) using the default OpenGL drivers. I found a special OpenGL driver for FAKK2 with Voodoo 3 which I downloaded and installed. It ran a bit faster than normally but not much.

I KNOW how slow OpenGL is when it is emulated by windows. I once downloaded a demo from 3dfiles.com and ran it on a computer on my school (PII 350mhz with crappy 3d-card). It got almost 0.2 fps. My father has a K6-2 with a 4MB ATI card. I have tried running OpenGL (software) on it a couple of times and I got about 5 fps.

Share this post


Link to post
Share on other sites
Hi all.

Ok heres one for ya''ll. How do I get my Voodoo 1 to accellerate OpenGL?

I''ve got a nice TNT2 Ultra at home that I really like but at work all I''ve got access to is a shit old first generation Voodoo 1. Poop. Any nice drivers out there that will give *Any* sort of performance improvement over softwear would be nice.

Pete

Share this post


Link to post
Share on other sites
>>Yeah the Voodoo3 is great, but it doesn''t support OpenGL directly. Hence, MiniGL drivers for games like Quake2, Half-Life, ect<<

yes it does its only a bit more difficult to setup
read this http://www.wischik.com/lu/programmer/wingl.html

http://members.xoom.com/myBollux

Share this post


Link to post
Share on other sites
Does anyone have a valid 3dfx OpenGl32 driver that works with Voodoo3, or a copy of Glide2x SDK so I can complie one with Mesa3D? Since most sites simply link to 3dfx's website, I have been unable to find a Win32 copy of it after 3dfx went under(Linux but not Win32).

Edited by - GlideNE1 on January 31, 2001 9:37:27 AM

Share this post


Link to post
Share on other sites