关于 OpenGL GLU 的相关介绍和资源链接
太阳火神的美丽人生 (http://blog.csdn.net/opengl_es)
本文遵循“署名-非商业用途-保持一致”创作公用协议
OpenGL Utility Library
This article includes a list of references, related reading or external links, but its sources remain unclear because it lacks inline citations. (February 2013) |
The OpenGL Utility Library (GLU) is a computer graphics library for OpenGL.
It consists of a number of functions that use the base OpenGL library to provide higher-level drawing routines from the more primitive routines that OpenGL provides. It is usually distributed with the base OpenGL package. GLU is not implemented in the embedded version of the OpenGL package, OpenGL ES.
Among these features are mapping between screen- and world-coordinates, generation of texture mipmaps, drawing of quadric surfaces, NURBS, tessellation of polygonal primitives, interpretation of OpenGL error codes, an extended range of transformation routines for setting up viewing volumes and simple positioning of the camera, generally in more human-friendly terms than the routines presented by OpenGL. It also provides additional primitives for use in OpenGL applications, including spheres, cylinders and disks.
GLU functions can be easily recognized by looking at them because they all have glu
as a prefix. An example
function is gluOrtho2D()
which defines a two dimensional orthographic
projection matrix.
Specifications for GLU are available at the OpenGL specification page
See also[edit]
- OpenGL Utility Toolkit (GLUT)
- OpenGL User Interface Library (GLUI)
- freeglut
OpenGL & OpenGL Utility Specifications
OpenGL Specifications and GLX & GLU Libraries can now be found in the official OpenGL Registry.
OpenGL Reference Cards
- OpenGL 4.2 GLSL 4.20 Reference Card
- OpenGL 4.0 GLSL 4.0 Reference Card
- OpenGL 3.2 GLSL 1.5 Reference Card
GLUT Specifications
- FreeGlut - Sourceforge
- GLUT 3 Specification (HTML), (pdf), (PostScript)
- The GLUT 3.5 Manual Pages (Postscript as gzip)
- GLUT is the OpenGL Utility Toolkit, a window system independent toolkit for writing OpenGL programs. It implements a simple windowing application programming interface for OpenGL. GLUT makes it considerably easier to learn about and explore OpenGL programming and provides a portable API so you can write a single OpenGL program that works on both Win32 PCs, Mac OS, and Linux/UNIX workstations
Man Pages
OpenGL, GLX, and GLU man pages are online in the OpenGL SDK.