1 / 6

OpenGL Extensions

OpenGL Extensions. Fall 2006. Introduction (Wikipedia).

rachel
Download Presentation

OpenGL Extensions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OpenGL Extensions Fall 2006

  2. Introduction (Wikipedia) • The OpenGL standard allows individual vendors to provide additional functionality through extensions as new technology is created. Extensions may introduce new functions and new constants, and may relax or remove restrictions on existing OpenGL functions. • Each vendor has an alphabetic abbreviation that is used in naming their new functions and constants. For example, NVIDIA's abbreviation (NV) is used in defining their proprietary function glCombinerParameterfvNV() and their constant GL_NORMAL_MAP_NV. • It may happen that more than one vendor agrees to implement the same extended functionality. In that case, the abbreviation EXT is used. • It may further happen that the Architecture Review Board "blesses" the extension. It then becomes known as a standard extension, and the abbreviation ARB is used.

  3. Introduction • The first ARB extension was GL_ARB_multitexture, introduced in version 1.2.1. Following the official extension promotion path, multitexturing is no longer an optionally implemented ARB extension, but has been a part of the OpenGL core API since version 1.3. • Before using an extension a program must first determine its availability, and then obtain pointers to any new functions the extension defines. The mechanism for doing this is platform-specific and libraries such as GLEW and GLEE exist to simplify the process. • Specifications for nearly all extensions can be found at the official extension registry

  4. Introduction • FAQ: • How to know which version of OpenGL you are running? • What’s the difference among versions? • How to know what extensions are supported? • Ref: • All About OpenGL Extensions

  5. GLEW: OpenGL extension wrangler Glview: OpenGL extension viewer Utilities glewinfo.txt

  6. Commonly Used Extensions • GL_ARB_multitexture • GL_ARB_texture_cube_map • GL_ARB_texture_env_dot3 • GL_ARB_shadow • GL_ARB_vertex_program, GL_ARB_fragment_program • GL_ARB_occlusion _query • GL_EXT_texture3D • GL_EXT_framebuffer_object ARB – Extensions officially approved by the OpenGL Architecture Review Board EXT – Extensions agreed upon by multiple OpenGL vendors NV – NVIDIA Corporation SGI – Silicon Graphics SGIX – Silicon Graphics (experimental)

More Related