Archived

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

Ataru

OpenGL openGL 1.2/1,4

Recommended Posts

Hmm, guess I never needed openGL 1.2 or 1.4 headers. I need them now, I went to openGL.org they say my video card driver comes with them. I searched my comp, I only have my old glu.h headers. Where can I find openGL 1.2 or 1.4 headers. I have a geForce3, latest (or at least real new) drivers, but can''t find the headers. Thanks

Share this post


Link to post
Share on other sites
OpenGL is only a standard, there is no "one implementation". The video card drivers update a part of an implemenation called the ICD. The OS and/or windowing system implements the MCD. About MCD''s:

If you''re using *nix, and you''re using the DRI or Mesa3D OpenGL implementation, the headers are compliant with OpenGL 1.4 and part of Mesa3D (look for a mesa-dev package).

If you''re using Mac OS X, the current release (Jaguar) comes with an OpenGL 1.4 implementation, so the dev tools should come with OpenGL 1.4 headers by default (I don''t have a Mac box, so I can''t confirm this with personal experience).

If you''re using Windows, there is no Microsoft OpenGL implementation compliant with versions newer than 1.1. You''re screwed until Microsoft updates their MCD, which they probably won''t do for the foreseeable future due to their laziness/evilness/incompetence/whatever (take your pick).

Share this post


Link to post
Share on other sites
Yay, that''s wonderful. Now I''m screwed. I was trying to clamp my skybox to edges to remove seams, this can''t be done unless I have openGL 1.2, and I guess I won''t have it. Thanks microsoft.

Lol, thanks NULL and VOID about the info, doesn''t help me none, but does clear things up a bit.

Share this post


Link to post
Share on other sites
You can still potentially access all of the OpenGL 1.2 features through OpenGL''s extension mechanism (what bakery2k1''s linked library is doing), it''s just you can''t "assume" they''ll be at least emulated like with most implementations. It''s just a pain ...

Share this post


Link to post
Share on other sites
>>Yay, that''s wonderful. Now I''m screwed. I was trying to clamp my skybox to edges to remove seams, this can''t be done unless I have openGL 1.2, and I guess I won''t have it. Thanks microsoft.<<

try glGetString( GL_VERSION ) this will tell u what version of opengl u have.

the new gf drivers are opengl1.4
to use clamp to edge use the following

#include <GL/gl.h>
#include <GL/glext.h>

+ use GL_CLAMP_TO_EDGE (or possibly GL_CLAMP_TO_EDGE_EXT) instead of GL_CLAMP

glext can be gotten from here
http://oss.sgi.com/projects/ogl-sample/registry/



http://uk.geocities.com/sloppyturds/kea/kea.html
http://uk.geocities.com/sloppyturds/gotterdammerung.html

Share this post


Link to post
Share on other sites
I had this problem a few weeks ago, when I started to query for the number of texturing pipeline number. I found some extensive headers here



----
David Sporn AKA Sporniket

Share this post


Link to post
Share on other sites
O.k, that explains it all. Thanks a lot guys.

I actually had been using some extensions, but I guess my header was old, and didn''t have GL_CLAMP_TO_EDGE defined. I got a newer one from the links you guys posted and everything works. Thanks guys.

Share this post


Link to post
Share on other sites