Some notes on the new polygon tessellator in GLU version 1.2

GLU version 1.2 introduces a new polygon tessellator. The following routines have become obsolete and should not be used for new development based on GLU version 1.2 and later.

	Obsolete Routine	Replace with



	gluBeginPolygon		gluTessBeginPolygon; gluTessBeginContour

	gluEndPolygon		gluTessEndContour; gluTessEndPolygon

	gluNextContour		gluTessEndContour; gluTessBeginContour

The following routines are new in GLU version 1.2:


	gluGetTessProperty

	gluTessBeginContour

	gluTessBeginPolygon

	gluTessEndContour

	gluTessEndPolygon

	gluTessNormal

	gluTessProperty



Some routines have had an argument or return-value changed from ``GLUtriangulatorObj *'' to ``GLUtesselator *''. Since the GLU header file for version 1.2 has a typedef from GLUtriangulatorObj to GLUtesselator, source code should not need any immediate changes. However, at some time the source code should be moved to the GLU version 1.2 name.


	gluBeginPolygon

	gluDeleteTess

	gluEndPolygon

	gluNewTess

	gluNextContour

	gluTessCallback

	gluTessVertex

One routine has been expanded to support more valid values for the which argument:


	gluTessCallback

To distinguish what version of the GLU library you are using at compile time, check for the following pre-processor symbols:


	none defined			version 1.0

	GLU_VERSION_1_1			version 1.1 or later

	GLU_VERSION_1_2			version 1.2 or later

Digital Open3D supports the following versions of the GLU library:


	Digital Open3D Version		GLU Version Supported



	Before Version 2.6		version 1.0

	Version 2.6			version 1.1

	Version 3.0 and later		version 1.2




Introduction | Alphabetic | Specification

Last Edited: Thursday, September 28, 1995

AFV