Jump to content

  • Log In with Google      Sign In   
  • Create Account


Opengl 1.4 on Windows 7


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 Lenggo   Members   -  Reputation: 122

Like
0Likes
Like

Posted 15 January 2011 - 11:24 AM

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.

Sponsor:

#2 karwosts   Members   -  Reputation: 840

Like
0Likes
Like

Posted 15 January 2011 - 11:59 AM

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/
My Projects:
Portfolio Map for Android - Free Visual Portfolio Tracker
Electron Flux for Android - Free Puzzle/Logic Game

#3 mhagain   Crossbones+   -  Reputation: 7328

Like
0Likes
Like

Posted 15 January 2011 - 01:48 PM

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).

It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.


#4 Lenggo   Members   -  Reputation: 122

Like
0Likes
Like

Posted 15 January 2011 - 04:26 PM

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?

#5 V-man   Members   -  Reputation: 797

Like
0Likes
Like

Posted 15 January 2011 - 06:11 PM

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);

#6 Lenggo   Members   -  Reputation: 122

Like
0Likes
Like

Posted 16 January 2011 - 09:15 AM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS