Earth 3D
Earth 3D is basically, a c++ and a java application. Both these application are used on windows and MacoS and on Linux. In addition, the speed of these two applications is same. The java version doesn’t have slow speed and therefore both of these versions are same. Moreover, there are lots of users who are using this application so that they can view the earth.
From observation, we come to know that there are several people, who wish to incorporate a 3D earth into the program, which they already have. Therefore, these people can take the help of earth 3D library, which offers you a Q T widget, which displays the earth. You will get the guidelines if you want to make use of earth 3D library so that in your application, you can set up a 3D view of the earth and you are also able to add your own content.
Building: The building method is same for all platforms only this method includes various prerequisites.
Prerequisites
Linux: you require to install libpng and openGL development packages and QT4 development packages.
Windows: First, you must compile and then install QT 4. QT installation has lib directory, which should be added to the path. glext.h should be added into the include directory. Libpng must be copied to c:\lib or the project file. In addition, the main thing is that earth 3dlib.pro should be changed to point to the right location. Here you are able to download the binaries and you can also copy various files from zip file in the lib directory to “c:\lib”.
MacOS X: The building process is same for Linux build process. You should install and then compile Q T 4.
Downloading: The source code is checked out, either from sourceforge’s CVS or it can be downloaded as a snapshot.
Compiling: To compile run you have to follow various commands that are given below.
Linux, MacOS X: $ QTDIR/bin/qmake earth3dlib.
Pro Windows: QTDIR/bin/qmake earth3Dlib.pro
Running: In order to run the application when you are making use of MacoS X you will find it as earth3dlib in project’s directory.
Expanding the view: It is very simple task adding new visuals in 3D. For this only you must implement a class, which inherits the draw class and insert it into the view by making use of Earth3dwidget: : addDrawObject (). In the 3D you will observe the globe has a radius of 1and is positioned in the at the center side of coordinate system. It is in static mode and not in rotated mode. If the user will move, the earth by making use of mouse then earth does not move but camera the camera moves. Now we can say that placing objects on foxed coordinates calculating coordinates for moving elements is very easy task. The Earth3dWidget view designed in three phases that are given below.
Phase 0: can be used for background.
Phase first: earth. In this phase earth is displayed.
Phase second: In this phase, you are able to display various things, which are on the surface of the earth such as buildings, satellites, and signs.
Phase third: This phase is foe displaying head up information. Whichever information is displayed into this phase is fixed not to earth but to the camera.
Technorati Tags: other satellite programs, earth 3D, earth in 3D, using Earth 3D,
Tags: Other Satellite Programs
























