Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | Draws a single point. | |
bgnpoint, endpoint | glBegin ( GL_POINTS ), glEnd | Interprets vertices as points. |
pntsize | glPointSize | Sets point size in pixels. |
pntsmooth | glEnable ( GL_POINT_SMOOTH ) | Turns on point antialiasing. (For more information on point antialiasing, see Porting Antialiasing Functions.) |
For information about related get functions, see glPointSize.
??