Advertisement

low fps...

Started by March 04, 2002 02:25 PM
4 comments, last by Jippi_programming 22 years, 11 months ago
Hello! I´ve got a problem with this OpenGL thing. When I download OpenGL demos from NeHe or other places, the framerate is allways around 2 to 10 !!! The thing is that i use a pretty powerfull computer (460mhz with 400 something ram)! Is it that OpenGL is so 3d-graphics hardware dependent? I''ve got a pretty old voodo 2 card but still it´s a 3d-card... Actually I´ve even had problems displaying more than four cubes on the screen at the same time, in NeHe´s lessons... Is it just me or my computer??
You''re probably rendering in software.

Get a new 3d card, it''s probably the best thing you can do.
"THE INFORMATION CONTAINED IN THIS REPORT IS CLASSIFIED; DO NOT GO TO FOX NEWS TO READ OR OBTAIN A COPY." , the pentagon
Advertisement
Even with a voodoo 2 you should get better framerates than that.

George2 is probably right though, you''re probably rendering in software mode. Try reinstalling the latest OpenGL drivers and make sure to select a hardware rendered PixelFormat (even if a hardware accelerating driver is correctly installed some PixelFormats will use the software renderer when the format has capabilites that your driver/card lack).
how do i select a hardware rendered pixelformat??
Voodoo2''s are a bit picky about their accepted formats. First, take your Windows explorer, and copy the file ''3dfxvgl.dll'' from your Windows system directory to your application directory. Rename it there to ''opengl32.dll''.

Now, if your create your rendering context, be *sure* to supply the following parameters, or otherwise it won''t work:

* always fullscreen mode
* render window size is either 640*480 or 800*600. *exactly* one of those, not one pixel more or less.
* colour depth must be 16bit, depth buffer must be 16bit, stencil buffer must be 0 bit.

Now it should work.
first off, the fps generally depends on what os you''re running it on. secondly, not all video cards support opengl to the full. for instance my tnt2 ultra only managed to pull off 8-12 fps in opengl mode in UT. d3d went as high as 70. try it on a different computer and you''ll most likely get different results.
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared

This topic is closed to new replies.

Advertisement