glscene

 

TGLBitmapHDS

Page history last edited by skinhat 4 yrs ago

The TGLBitmapHDS is used by the TGLTerrainRenderer to define the height at different points in the terrain. The heights are defined in a greyscale bitmap which has white as the highest point while black is the lowest. You can assign the TGLBitmapHDS to the heightsource of the terrain renderer at design time.

Important TGLBitmapHDS attributes include:

picture: TGLPicture

Defines the greyscale bitmap picture

infinitewrap: boolean

If set to true then the greyscale bitmap will be tiled to infinite meaning that the terrain will be of infinite size made up of infinitely repeating terrains defined by the greyscale bitmap

Demo: CVS/Demos/meshes/terrain

Unit: GLHeightData

Descends from THeightDataSource.

Comments (0)

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