glscene

 

TGLPoints

Page history last edited by skinhat 3 yrs ago

Allows the drawing of 3D points in space. You can create a list of points or just display one point with this object. An array of points in one TGLPoints is much faster to display than lots of TGLPoints. TGLPoints have a 'Size' parameter which determines how many pixels in diameter the point will have on screen. If the point has size 3 it will be represented by 3 pixels on screen whether the point may be close to the camera or far away from the camera. Perspective does not apply here. Points can be rounded or squared and antialiased.

Important properties of TGLPoints:

positions: TAffineVectorList

List of 3D points.

colors: TVectorList

Color associated with each point.

size: integer

How many pixels wide the point is. The size of a point is does not change ie is camera invariant.

style: TGLPointStyle

Whether the point is a square or round.

Demo: CVS/Demos/graph/points

Unit: GLObjects

Descends from TGLImmaterialSceneObject.

Comments (0)

You don't have permission to comment on this page.