Opengl 1.4 on Windows 7

Started by
4 comments, last by Lenggo 13 years, 2 months ago
Hello,

I recently got a netbook that uses the intel GMA500 for graphics. The hardware supports Opengl 2 but the window 7 drivers do not support it at all. I read that windows vista ran Opengl 1.4 through directx if no ICDs were available and I was wondering if that was the case for Windows 7 also. When I run a program to check the version it says its using 1.1 not 1.4 like I would have thought. If Windows 7 does wrap opengl around directx, why is that not happening now?



Thanks for any help.
Advertisement
All opengl support beyond version 1.1 has to be exposed directly from the hardware driver. If you hardware supports it than you should be able to use it, but you need to set up the function pointers first.

I recommend getting GLEW which will manage this for you and make your life easier, otherwise you have to predefine every opengl function and get a function pointer with wglGetProcAddress, which can be confusing to beginners.

http://glew.sourceforge.net/
[size=2]My Projects:
[size=2]Portfolio Map for Android - Free Visual Portfolio Tracker
[size=2]Electron Flux for Android - Free Puzzle/Logic Game
Sounds to me as if you have an OEM driver that doesn't have OpenGL support. The solution is to replace it with an Intel driver - check the following link for instructions http://www.minecraftforum.net/viewtopic.php?f=17&t=56368 (needed because Dell "lock" the OS so that you can only use their own drivers on it).

Direct3D has need of instancing, but we do not. We have plenty of glVertexAttrib calls.

Actually, the drivers from Intel themselves don't support Opengl at all either. Apparently they are working on it since the hardware is capable of it, but I was hoping for an interim solution until then.

I read that Windows Vista used a wrapper that used directx to support Opengl 1.4 instead of 1.1 if no hardware driver support was found for Opengl, so I was curious whether or not this was the case in 7.

Here a link that says that:
http://www.opengl.org/wiki/Getting_started#Windows


If what it says in they're wiki is true, any ideas why it does seem to be available?
Well, I guess Microsoft lied to us. I could change the Wiki so that it says 1.1.

In your case, try mesa3d.org which is a software renderer under Windows. Last time I checked, it supports GL 2.1. Beware that they don't supple the binary (opengl32.dll). You have to compile it yourself and sometimes there are lots of error messages. It is kind of a pain in the butt.
Sig: http://glhlib.sourceforge.net
an open source GLU replacement library. Much more modern than GLU.
float matrix[16], inverse_matrix[16];
glhLoadIdentityf2(matrix);
glhTranslatef2(matrix, 0.0, 0.0, 5.0);
glhRotateAboutXf2(matrix, angleInRadians);
glhScalef2(matrix, 1.0, 1.0, -1.0);
glhQuickInvertMatrixf2(matrix, inverse_matrix);
glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);
Thanks for the help. Too bad that 1.4 support doesn't seem to be true. I was able to use mesa3d after a bit of work to compile it. Seems to do the job, though a bit slower which was expected. I guess that'll do for now until intel can release new drivers.

Thanks

This topic is closed to new replies.

Advertisement