Copyright VirtualSim 2004-2020 - All rights reserved
GoogleEarth
This Viewer is requested to use Google-Earth (GE) application to be used as a 3D viewer.
Setting up
In order to use GE as a 3D viewer for vsTASKER simulation engine, an old version of GE (v7 and before) must be used because the COM+ capability has been deprecated by Google.
Also, an Apache server must run in order to command GE.
Installing Apache
Go into /runtime/geath/3rd party directory.
Run appserv-win32-2.6.0.exe file and install only Apache.
Give whatever server name and email you want.
Finish installation but do not run yet Apache server.
Once installed, go to C:/AppServ/Apache2.2/conf and edit file httpd.conf
Search for DocumentRoot.
Replace with the following:
DocumentRoot "D:/VirtualSim/LocalHost"
Create the directory D:/VirtualSim/LocalHost
Use this directory in the below window setting, for the field http://localhost
Start Apache in C:/AppServer/Apache2.2/bin/httpd.exe
Installing GoogleEarth
Go into /runtime/geath/3rd party directory.
Run GoogleEarthWin_7.exe file and install.
Close GE.
Now, you can try to run the samples provided in /Data/Db/GEarth directory.
Main File
Wrapper main file used to communicate with GE application (using COM API) as an output of the simulation engine.
/runtime/gearth/vt_gearth.cpp is the default wrapper file.
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.