
Allows creation of customised height data source for a terrain renderer instead of using the standard TGLBitmapHDS and TGLHTFHDS height data sources. It has a onstartpreparingdata handler which is called by the terrain renderer whenever it wants a tile and in the handler it is possible to specify whatever height values you want.
Important TGLCustomHDS handler:
onstartpreparingdata (heightData: THeightData)
Handler passes the heightData tile which can be modified with your own height values. Refer to THeightData on how to do this.
Demo: CVS/Demos/meshes/synthterr
Unit: GLHeightData
Descends from THeightDataSource.
Comments (0)
You don't have permission to comment on this page.