Page 25/36
[TODO]
TGLPFXRenderer
PFX renderer is a helper object which has to present in the scene so any object can have
Effects properly functioning. The system works like this: PFX manager describes settings for the
effect, scene object has the effect in Effects list and PFX renderer takes care about rendering
particles. This seems to be too complicated but it is very flexible.
Environment objects
By default background color of the scene is light gray. The color is defined by
SceneViewer.Buffer.BackGroundColor property. If you want other background than uniform color
use environment object.
TGLEarthSkyDome
[TODO]
TGLSkyDome
Sky dome creates gradients of color stripes along horizontal plane. You can make as many
stripes as you want. You can add small dots in Stars list. Stars can even glitter.
TGLSkyBox
Sky box is a large cube with inverted normals and six textures covering whole skyline.
The textures must align each to another and create panoramic illusion.
HUD objects
HUD is Heads Up Display. These objects are rendered as bitmaps on screen. Their
position is defined only by X and Y values. X is horizontal and Y is vertical position of HUD
object. The origin [0,0] point is upper left corner. You do not have to care about rendering order of
HUD objects (only among each other), they always get rendered last.
TGLHUDSprite
Universal HUD object. Displays bitmap on the screen. Use material library to store the
texture. Transparent textures are often used. Texture should have power of two dimensions. You
can rescale the size of the object with its Width and Height values. HUD sprite can turn around
center with Rotation property.
TGLHUDText
This HUD object displays characters in its Text property. How is the text displayed is
determined by GLScene font component.
GUI objects
GUI objects are described in TGLGUILayout section.
GLScene beginner's guide, Jan Zizka, 2005