AGI Components with Insight3D Alpha 2008 r8
Example Applications

Example applications are in the Examples folder. Build them by opening and building Examples\Examples.sln.

Example Description
HowTo Task-based examples demonstrating the library's capabilities.
LotsOfSatellites Visualization of 10,000 satellites with propagation and access computations.
QuickStart Simple application with a 3D globe to use as a template for your applications.
HowTo

The HowTo example presents many of the library's capabilities organized by namespace and object. Click on a task, and the 3D window is immediately updated. In addition, the code used to create the visualization is shown in the code view for easy copy and paste.

The code shown in the code view is parsed directly from the HowTo source. Each example task is encapsulated in a separate object. When a task is selected, the code within the #region CodeSnippet for that task is shown in the code view.

LotsOfSatellites

This example uses DGL's SGP4 propagator to propagate 10,000 satellites. DGL is also used to compute access to a ground station. The satellites shown in red have access.

Click on the moon icon in the toolbar to view the moon. Then, position the camera to view the satellites orbiting earth as shown below.

QuickStart

The QuickStart example provides a simple template to help jumpstart your application. It includes:

  • References to the 3D control and library
  • A toolbar with animation control and basic camera control
  • Initialization code, in Program.Main, to configure DGL and setup data paths. Most of this initialization is optional. Depending on the requirements of your application, you will be able to remove parts of it as indicated by the comments in the code.
  • Post-build events to copy Insight3D binaries into the application's output directory and create a manifest file. This step is required for registration-free COM, since no Insight3D binaries need to be registered.

To create a new application, it is strongly recommended to make a copy of the QuickStart folder and rename it, along with the ProjectGuid in the .csproj file. Since the QuickStart uses relative paths, create your project folder in the Examples folders. You can place your project elsewhere by changing the relative paths in Program.Main and the post-build event.

For experimentation, it is sufficient to just make a copy of the QuickStart folder and start developing.

In a future version, we intend to provide a wizard for creating projects based on the QuickStart.