A 2D animation created using C++ and OpenGL (GLUT), this project visually simulates a rocket launch from Earth into space and landing on Mars. It showcases dynamic meteor showers, space travel, flame effects, and crater rendering.
This animation was developed as a group submission for the Computer Graphics (KP24803) course at Universiti Malaysia Sabah (UMS).
It is now published here as a personal portfolio project by the contributor, with full credit to the original group members.
- 🌠 Dynamic background stars and meteor generation
- 🚀 Rocket animation from Earth to Mars
- 🔥 Realistic flame and tail effects
- 🌑 Crater and planetary surface rendering
- 🧩 Scene control using modular functions
- C++
- OpenGL (GLUT)
- Visual Studio
- NuGet packages:
nupengl.corev0.1.0.1nupengl.core.redistv0.1.0.1
MissionToMars/
├── src/
│ ├── main.cpp
│ ├── launching.cpp
│ ├── landing.cpp
│ ├── inside_rocket.cpp
│ ├── space.cpp
│ └── scenes.h
├── 2D-Animation.sln
├── 2D-Animation.vcxproj
├── packages.config
├── .gitignore
├── LICENSE
└── README.md
- Clone this repository:
git clone https://github.com/anake-an/MissionToMars.git
- Open 2D-Animation.sln in Visual Studio
- Right-click the solution and choose "Restore NuGet Packages"
- Build and run the project (ensure GLUT/OpenGL packages are installed)
This project was originally developed as a group assignment for the KP24803 Computer Graphics course.
| Name | Profile Link |
|---|---|
| Aniq Najmuddin Bin Sharifuddin | |
| Muhammad Faris Bin Huzaimi | |
| Muhammad Isyraf Ahnaf Bin M. Zamri | |
| Muhammad Saifullah Bin Rosman |