Copyright VirtualSim 2004-2020 - All rights reserved
Delta3D
This viewer used the Delta3D game engine, available for download at http://delta3d.org
Delta3d is a game and simulation engine appropriate for a wide variety of simulation and entertainment applications. It uses best-of-breed open source technologies to create a fully integrated game engine and with content creation tools.
vsTASKER supports the version 2.7 of Delta3D that is compatible with OSG 3.1.5.
If a newer version must be used, the viewer code will have to be updated.
Compatibility problems might arise with the different OSG version between the version 3.1.5 of vsTASKER 5 and the one of Delta3D 2.8
Main Files
Wrapper main files (header and source) embedding the simulation engine and managing the Delta3D main window and loop.
/runtime/delta3d/vt_delta3d.h/cpp are the default wrapper files.
When checked, display some textual data on 2D projection.
The object used is /src/osg/osg_hud.cpp
The function called at each frame is drawImplementation().
Either the 2D OpenGL code is entered here, either it is put into the HUD panel of the HMI property window (in such case, do not disable the HMI to allow code generation).
Header and Source code can be modified into this window or directly from Visual Studio from the solution (or any other text editor).
If code is modified, it will be automatically saved when OK button is depressed.
It is a good idea to save the modified code under another file to keep the original one unchanged. Usebutton for that.
Refer to "Understanding Runtime" in the Tutorial document of vsTASKER.
Do not forget that all provided source code in vsTASKER environment is subject to change from one revision to one another. So, it is a good practice to change the name of any cpp wrapper if any change must be applied on it.