Jump to content
  • Advertisement

Archived

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

Pythius

OpenGL OpenGL 1.2 & Multitexturing

This topic is 6728 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Heya, all! I am currently delving into the world of multitexturing with OpenGL 1.2. The problem is that I cannot find the headers that go with 1.2 for the life of me. I checked the headers that are in my VC Include directory, and they are the 1.1 headers, and therefore do not have any of the stuff I need for multitexturing. This may not seem like a big problem - the first thing I did was go to the net. Has anyone ever tried finding GL 1.2 headers on the net??? It''s hard as hell. Anyway, if anyone knows a site that I can get the headers at, I''d be most appreciative. Thanks! Pythius

Share this post


Link to post
Share on other sites
Advertisement
Dunno if this is what you are looking for : http://www.berkelium.com/OpenGL/examples/index.html

Nate
http://nate.scuzzy.net

Share this post


Link to post
Share on other sites
Windows doesn''t yet support OpenGL 1.2.

You can use multitexturing in OpenGL 1.1 on essentially every driver shipping these days, assuming the underlying hardware supports multitexture.

You can get the header information you need to support multitexture from NVidia/Michael Gold''s glext.h:

http://www.berkelium.com/OpenGL/examples/glext.h

In your code, check the GL_EXTENSIONS string (using glGetString()) for "GL_ARB_multitexture" as a substring. If it exists, use the wglGetProcAddress()
function to pull out the function pointers you need and use them as if you were running OpenGL 1.2.



Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!