I’m new here.
I just made a little program that draw two cubes with textures. But it’s really slow and it doesn’t seem to use hardware acceleration. I have a PentiumII PC with 256 mb ram and a Matrox G400 max. This machine is able to play halflife in 1280 by 960 at full speed.
I used VC++6. So did I miss something during my creation.
ok. first, check with glGetString(GL_RENDERER) if opengl is currently using hw.
also, check your application codeflow to see what it actually does: if it’s uploading textures frequently (glTexImage, glTexSubImage and the other texture upload functions), then it’s probably due to this.
Your application doesn’t need anything for OpenGL to use the hardware… You might have a bad setup for your pixel-format or something like that… Do you use any special feature such as accumulation buffer or stencil buffer (well, G400 should have an hw-accelerated stencil buffer anyway…) ???
Post your init code concerning the pixel format for your DC so that we can tell you what is going wrong.
Regards.
Eric
P.S. : you might as well contact me on my e-mail (en francais si tu veux !).