Table of Contents
This is a small project to learn the basics of OpenGL. The objective was to model a dragon with application of textures, animations, light management, and keyboard interactions.
This project is an academic project made during the third year of a Bachelor of Computer Science.
The development was done by 2 people.
Entire project was built with C++ and OpenGL and is only compatible with Linux.
You can find documentation such as technical details, and instructions in the folder docs
.
Doxygen docs can be generated in HTML with script file doxy/run_doxygen
(Doxygen must be installed on your system).
To get a local copy up and running follow the steps:
To compile the project, you will need:
- Code::Blocks
- OpenGL
- Debian (could also work with other distros)
apt-get install build-essential
apt-get install codeblocks
apt-get install libjpeg62-turbo-dev
apt-get install freeglut3-dev
apt-get install --reinstall libgl1-mesa-glx
Optional dependency:
apt-get install doxygen
- Clone the repo:
git clone https://github.com/Akwd22/opengl-dragon.git
- Open and compile the project with Code::Blocks IDE.
Control | Action |
---|---|
Z / z / Scroll up / Scroll down | Zoom in/out |
Left click + Mouse move | Turn around the dragon |
← | Rotate to the right |
→ | Rotate to the left |
↑ | Rotate downwards |
↓ | Rotate upwards |
Space | Play the fireball animation |
p | Set plain mode |
f | Set wireframe mode |
s | Set the vertex only mode |
d / D | Toggle depth test |
This project was made by: