Porting Points

OpenGL has no command to draw a single point. Otherwise, porting point functions is straightforward. The following table lists IRIS GL functions for drawing points and their equivalent OpenGL functions.

IRIS GL Function OpenGL Function Meaning
pnt Draw a single point.
bgnpoint, endpoint glBegin(GL_POINTS), glEnd Interpret vertices as points.
pntsize glPointSize Set point size in pixels.
pntsmooth glEnable(GL_POINT_SMOOTH) Turn on point antialiasing. (For more information on point antialiasing, see Porting Antialiasing Functions.)

For information about related get functions, see glPointSize.