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

 

Reference Manual - TGLSkyDome

image

The Skydome is used to create a realistic sky. A skydome is made up of bands where at different angles in the sky you can define different colors. These colors are blended so that there is a continuous change in color in the sky:

image

The skydome also can draw stars so it is possible to use the skydome for the night sky.

Important TGLSkyDome properties and methods:
bands: This is a set of bands that are made up of band items. The band items have the attributes startangle (the starting angle of the band eg 30o), stopangle (end angle of the band eg 35o), startcolor (start color of the band) and stopcolor (the end color of the band).
addrandomstars: Method adds a random number of stars of certain color to the sky.

Demo: CVS/Demos/meshes/terrain

Unit: GLSkydome

Descends from TGLCameraInvariantObject.


  Attachment Size Date Added
    
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 19.8100 seconds