OpenGL.GL.ATI.pn_triangles
OpenGL extension ATI.pn_triangles
This module customises the behaviour of the
OpenGL.raw.GL.ATI.pn_triangles to provide a more
Python-friendly API
Overview (from the spec)
ATI_pn_triangles provides a path for enabling the GL to internally
tessellate input geometry into curved patches. The extension allows the
user to tune the amount of tessellation to be performed on each triangle as
a global state value. The intent of PN Triangle tessellation is
typically to produce geometry with a smoother silhouette and more organic
shape.
The tessellated patch will replace the triangles input into the GL.
The GL will generate new vertices in object-space, prior to geometry
transformation. Only the vertices and normals are required to produce
proper results, and the rest of the information per vertex is interpolated
linearly across the patch.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ATI/pn_triangles.txt
Functions
Constants
GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI (34801)
GL_PN_TRIANGLES_ATI (34800)
GL_PN_TRIANGLES_NORMAL_MODE_ATI (34803)
GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI (34807)
GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI (34808)
GL_PN_TRIANGLES_POINT_MODE_ATI (34802)
GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI (34806)
GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI (34805)
GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI (34804)