
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:

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.
Comments (0)
You don't have permission to comment on this page.