How to develop OpenGL programs on Windows using opengl1.2 or later

Source: Internet
Author: User

To maintain direct3d, Microsoft's support for OpenGL is very negative, and its OpenGL implementation is still 1.1. Since OpenGL programs on Windows will eventually be dynamically linked to Microsoft's opengl32.dll, opengl32.dll only supports OpenGL 1.1, so that we cannot directly use OpenGL of version 1.2 or later, you still need to use extended access to new features since opengl1.1.

I. GL extension:

We recommend that you use the following two extension libraries:

1. Use glew

Glew is an extension library that contains many core and extension functions in OpenGL. The current version is 1.5.1 and supports opengl2.1. You can download it here:
Http://glew.sourceforge.net/
2. Use glee
 
Glee is also an extension library that contains many core and extension functions in OpenGL. The current version is 5.4. It supports opengl2.1 and can be downloaded here:
Http://www.opengl.org/sdk/libs/GLee/
Ii. Expansion of Glu:
Update Glu. h and glu32.dll, you can, the latest version is 1.3, http://www.opengl.org/wiki/index.php/Getting_started
Http://www.geocities.com/vmelkon/glu.html
Iii. Test the OpenGL version support and extended command of the video card:
You can install this software OpenGL extensions viewer to test the GPU's support for OpenGL versions and extended commands.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.