OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Oldest known version of this page was edited on 2006-07-22 16:55:42 by skinhat []
Page view:

Reference Manual - TGLCustomHDS

image

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.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0574 seconds