Page 13/36 Sound library is similarly like material library a storage room for sound tracks. Load different sound files in Samples. Wav and mp3 formats are supported. Beware that longer mp3 sounds like music may produce errors when playing through sound library. Sound library has to be used together with TGLSMWaveOut, TGLSMBASS or TGLSMFMOD. To play the sound add sound behavior to scene object, specify which sound to play by index or name and the sound will be emitted by the object in 3D space. GLSMWaveOut [TODO] GLODEManager ODE is ‘Open Dynamics Engine’. It is physics simulation library. Its home page is www.ode.org . You can find documentation and help files there. ODE is distributed in single dll file. ode.dll must be in the same directory as your application executable file or in Windows system directory. Simply said any scene object with ODE behavior will naturally react to gravity, collide and bounce off other objects. You can create cars, rag doll effect simple machines. To make ODE object in the scene add ODE behavior to it. There are two kinds of ODE behaviors: 1.  Static – objects are supposed to remain stable in the scene. They will not move whatever may hit them. Example would be ground floor or walls. 2.  Dynamic – objects have their weight and can move around the scene interacting with other objects or joints. Example is a ball. Apart from the kind of behavior you must select proper collider. It is a shape attached to the object that stands for the mass of the object. Collider can be simple cube, sphere, cylinder or can be extracted from mesh geometry or heightfield data. One object can have multiple colliders creating complex shape. ODE manager runs the simulation through ode.dll and updates each object’s position and rotation. You must call Step procedure every frame for the system to progress. This is usually done in cadencer’s onProgress event. GLODEJointList If you want to use joints in ODE you must add them in the joint list. Each item describes the type of the joint, the two objects it attaches and other parameters like joint restrictions, angles, offset positions etc. For more information about joints go to www.ode.org . GLSMBASS BASS is a sound library. Again bass.dll must be either in application or Windows system directory. TGLBASS is sound manager that is used together with  TGLSoundLibrary  and object sound behavior to play sounds. GLSMFMOD Same as BASS only uses fmod.dll. GLScene PFX GLScene beginner's guide, Jan Zizka, 2005