Page 23/36
TGLAnimatedSprite
Animated sprite is based on sprite only it displays animated sequence. The animated
sequence is stored in single bitmap. The bitmap is divided in rows and columns. The grid contains
individual frames for the animation. This technique is great for smoke or explosion effects but you
have to make the bitmap yourself.
TGLArrowLine
Arrow line is a combination of cylinder and cone. You can change the width and height of
both. It points in Direction vector.
TGLAnnulus
A hollow tube.
TGLExtrusionSolid
[TODO]
TGLMultiPolygon
[TODO]
TGLPipe
[TODO]
TGLRevolutionSolid
[TODO]
TGLTorus
[TODO]
Mesh objects
Mesh is a pool of polygons defined with vertices, texture coordinates and connectivity
information. Group of mesh objects in common has same feature: its geometry has to be loaded
from a file. Such file is usually created by 3D modeling programs like 3DS MAX, Maya or
Milkshape. Supported formats are 3ds, obj, [TODO].
TGLActor
This is an object you will use if you want geometry that will change shape in time. Living
creatures are good example. Actor has same base as TGLFreeForm but it is optimized for moving.
Animations have to be loaded to Animations. Actor needs AnimationControler component. You can
use Quake md2 format. This format contains set of meshes in key frame positions. Subsequent
frames are then interpolated between the key positions. This format is fast and suitable for low poly
models. Another format is Halflife smd. It uses skeletal model animation. Actor has skeletal
structure with vertices attached to bones. The animation is described by recorded angle values
between individual bones in time. You can combine different animations at one time. Following
animations can have interpolated transitions.
GLScene beginner's guide, Jan Zizka, 2005