3D Trajectory Simulation

Kamil Saykali and Tom Handal

 

 

            The 3D Trajectory Simulation project, written using the OpenGL graphics library, is a simulation of the flight path of a projectile based on variables. The variables that this simulation is based on are as follows:

 

Ø      Initial Velocity

Ø      Angle of Attack

Ø      Vertical Acceleration (Gravity)

Ø      Wind Drag

 

These variables are controlled by a Trajectory Control Panel, which allows the user of the program to control the listed variables. The control panel below is the screen snapshot.

 

 

            When the user is satisfied with the variable settings that they have selected, they can then launch the projectile by pressing the “LAUNCH!!” button. The values can also be reset back to defaults by pressing the “Reset Values” button.

 

            While the projectile is in flight, the Velocity and Distance is displayed in real time in a label under the Horizontal Acceleration (Wind) slide bar. The Velocity should remain constant during flight, unless the wind drag variable is non-zero. A negative value for the Horizontal Acceleration is a “wind” blowing left in the field of view and positive is a “wind” blowing to the right.

Here are the snapshots :


Here is zip file:3D Trajectory Simulation
The executable file is proj3.exe. If you want to run it, make sure to include the .raw files in the same directory.