GL_POLYGON_OFFSET_POINT ; GL_POLYGON_OFFSET_LINE

I have tried out GL_POLYGON_OFFSET_FILL and it works fine, but i really don’t get the idea of GL_POLYGON_OFFSET_POINT and GL_POLYGON_OFFSET_LINE. In what situations do we have to use GL_POLYGON_OFFSET_POINT and GL_POLYGON_OFFSET_LINE ?

GL_POLYGON_OFFSET_LINE is useful if you want to outline the edges of a filled polygon.

[This message has been edited by DFrey (edited 02-26-2001).]

All Polygon offset modes only apply to polygonal primitives i.e. triangles, trianglestrip, trianglefan, quads, quadstrip, polygon, NOT to points, lines ,linestrip, and lineloop.

The polygon offset for points and lines can only be used in conjunction with glPolygonMode(face, GL_POINT) and glPolygonMode(face, GL_LINE),
(resp. glPolygonMode(face, GL_FILL) for the solid drawing).

Precisely.

I think now 23 years later it now supports points?
it seems so at least on my Linux machine (I specified 3.3 core profile in my program)

Edit: I think it is implementation defined, I suppose the spec only specifies that it works with glPolygonMode(face, GL_POINT)