请输入您要查询的百科知识:

 

词条 OpenGL Utility Library
释义

  1. See also

  2. References

{{distinguish|OpenGL Utility Toolkit}}{{no footnotes|date=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.

All GLU functions start with the glu prefix. An example function is gluOrtho2D which defines a two dimensional orthographic projection matrix.

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 [https://www.opengl.org/registry/doc/glu1.3.pdf here]

See also

  • FreeGLUT
  • OpenGL User Interface Library (GLUI)
  • OpenGL Utility Toolkit (GLUT)

References

1. ^{{cite web|url=http://www.opengl.org/registry/ |title=The OpenGL Registry |publisher=Opengl.org |date= |accessdate=May 2, 2013}}

1 : OpenGL

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/12 9:41:20