This extension supports additional geometric characteristics of points. It can be used to render particles or tiny light sources, commonly referred to as "Light points".
The raster brightness of a point is a function of the point area, point color, point transparency, and the response of the display's electron gun and
phosphor. The point area and the point transparency are derived from the point size, currently provided with the size parameter of
PointSize.
The primary motivation is to allow the size of a point to be affected by distance attenuation. When distance attenuation has an effect, the final point size decreases as the distance of the point from the eye increases.
The secondary motivation is a mean to control the mapping from the point size to the raster point area and point transparency. This is done in order to increase the dynamic range of the raster brightness of points. In other words, the alpha component of a point may be decreased (and its transparency increased) as its area shrinks below a defined threshold.
Promoted to core in OpenGL 1..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_POINT_DISTANCE_ATTENUATION_ARB
Accepted by the |
| public static final int | GL_POINT_FADE_THRESHOLD_SIZE_ARB
Accepted by the |
| public static final int | GL_POINT_SIZE_MAX_ARB
Accepted by the |
| public static final int | GL_POINT_SIZE_MIN_ARB
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |||
|---|---|---|---|---|
| public static native void | glPointParameterfARB(int
the parameter to set. One of: pname, float
the parameter value param)Sets the float value of a pointer parameter. | |||
| public static void | glPointParameterfvARB(int
the parameter to set. Must be: pname, FloatBuffer
the parameter value params)Pointer version of | |||
| public static void | ||||
| public static native void |
| GL_POINT_DISTANCE_ATTENUATION_ARB | back to summary |
|---|---|
| public static final int GL_POINT_DISTANCE_ATTENUATION_ARB Accepted by the | |
| GL_POINT_FADE_THRESHOLD_SIZE_ARB | back to summary |
|---|---|
| public static final int GL_POINT_FADE_THRESHOLD_SIZE_ARB Accepted by the | |
| GL_POINT_SIZE_MAX_ARB | back to summary |
|---|---|
| public static final int GL_POINT_SIZE_MAX_ARB Accepted by the | |
| GL_POINT_SIZE_MIN_ARB | back to summary |
|---|---|
| public static final int GL_POINT_SIZE_MIN_ARB Accepted by the | |
| ARBPointParameters | back to summary |
|---|---|
| protected ARBPointParameters() | |
| glPointParameterfARB | back to summary | |||
|---|---|---|---|---|
| public static native void glPointParameterfARB(int pname, float param) Sets the float value of a pointer parameter.
| ||||
| glPointParameterfvARB | back to summary | |
|---|---|---|
| public static void glPointParameterfvARB(int pname, FloatBuffer params) Pointer version of
| ||
| glPointParameterfvARB | back to summary |
|---|---|
| public static void glPointParameterfvARB(int pname, float[] params) Array version of: | |
| nglPointParameterfvARB | back to summary |
|---|---|
| public static native void nglPointParameterfvARB(int pname, long params) Unsafe version of: | |