Copyright VirtualSim 2004-2020 - All rights reserved
OpenGL
OpenGL viewer is a module available in /Runtime/OpenGL under vt_opengl.cpp name.
It creates and display an windows whose size can be setup either using the Viewer property window.
The viewer will be linked against all plugin libraries selected in Database::Plugins::Sim.
Appropriate code will be automatically generated.
If user want to change representations on the 2D window, code can be modified in plugins/ directory.
If the DLL part is modified, the change will be shown in vsTASKER GUI map display.
If the LIB part is modified, the change will appear in the OpenGL Sim engine associated (viewer) display.
Source
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.
If checked, mouse click can select any displayed entity. Repositioning the selected entity is possible (maintain the left mouse button down while dragging).