OpenGL Utility Library: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
was -> is: glu still exists and is still used
 
imported>3dgoose
mNo edit summary
 
Line 1: Line 1:
{{distinguish|OpenGL Utility Toolkit}}
{{distinguish|OpenGL Utility Toolkit}}
{{no footnotes|date=February 2013}}
{{no footnotes|date=February 2013}}
{{Infobox software
| title = OpenGL Utility Library
| other_names = GLU
| author = Silicon Graphics, Inc. (SGI)
| released = 1992
| latest release version = 1.3
| latest release date = 2001
| repo = https://gitlab.freedesktop.org/mesa/mesa.
| programming language = C
| license = Originally proprietary, later MIT with Mesa.
| website = https://opengl.org
}}
The '''OpenGL Utility Library''' ('''GLU''') is a computer [[graphics library]] for [[OpenGL]].
The '''OpenGL Utility Library''' ('''GLU''') is a computer [[graphics library]] for [[OpenGL]].


Line 7: Line 19:
Among these features are mapping between screen- and world-coordinates, generation of [[Texture mapping|texture]] [[mipmap]]s, drawing of [[quadric]] surfaces, [[Nonuniform rational B-spline|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 [[sphere]]s, [[cylinder (geometry)|cylinder]]s and [[Disk (mathematics)|disks]].
Among these features are mapping between screen- and world-coordinates, generation of [[Texture mapping|texture]] [[mipmap]]s, drawing of [[quadric]] surfaces, [[Nonuniform rational B-spline|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 [[sphere]]s, [[cylinder (geometry)|cylinder]]s and [[Disk (mathematics)|disks]].


All GLU functions start with the <code>glu</code> prefix. An example function is <code>gluOrtho2D</code> which defines a two dimensional [[orthographic projection]] matrix.
All GLU functions start with the <code>glu</code> prefix. An example function is <code>gluOrtho2D</code> which defines a two dimensional [[orthographic projection]] matrixand and <code>gluLookAt</code> that orientates a camera.


The GLU specification was last updated in 1998, and it depends on features which were [[deprecation|deprecated]] with the release of OpenGL 3.1 in 2009.<ref name="OpenGLRegistryRoot">{{cite web|url=http://www.opengl.org/registry/ |title=The OpenGL Registry |publisher=Opengl.org |date= |accessdate=May 2, 2013}}</ref> Specifications for GLU are still available [https://www.opengl.org/registry/doc/glu1.3.pdf here]
The GLU specification was last updated in 1998, and it depends on features which were [[deprecation|deprecated]] with the release of OpenGL 3.1 in 2009.<ref name="OpenGLRegistryRoot">{{cite web|url=http://www.opengl.org/registry/ |title=The OpenGL Registry |publisher=Opengl.org |date= |accessdate=May 2, 2013}}</ref> Specifications for GLU are still available [https://www.opengl.org/registry/doc/glu1.3.pdf here]

Latest revision as of 18:31, 28 October 2025

Script error: No such module "Distinguish". Script error: No such module "Unsubst". Script error: No such module "Infobox".Template:Template other Script error: No such module "Check for unknown parameters".Script error: No such module "Check for conflicting parameters". 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.

All GLU functions start with the glu prefix. An example function is gluOrtho2D which defines a two dimensional orthographic projection matrixand and gluLookAt that orientates a camera.

The GLU specification was last updated in 1998, and it depends on features which were deprecated with the release of OpenGL 3.1 in 2009.[1] Specifications for GLU are still available here

See also

References

  1. Script error: No such module "citation/CS1".