Akwd22 / opengl-dragon

A small OpenGL learning project with dragon modeling. Built in C++ for Linux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


OpenGL Learning Project – Dragon

Table of Contents
  1. About The Project
  2. Context
  3. Built With
  4. Documentation
  5. Getting Started
  6. Usage
  7. Contributors

About The Project

Might be ugly, but hey, I'm not expert in 3D modeling.

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.

(back to top)

Context

This project is an academic project made during the third year of a Bachelor of Computer Science.
The development was done by 2 people.

(back to top)

Built With

Entire project was built with C++ and OpenGL and is only compatible with Linux.

(back to top)

Documentation

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).

(back to top)

Getting Started

To get a local copy up and running follow the steps:

Prerequisites

To compile the project, you will need:

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

Installation

  1. Clone the repo:
    git clone https://github.com/Akwd22/opengl-dragon.git
  2. Open and compile the project with Code::Blocks IDE.

(back to top)

Usage

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

(back to top)

Contributors

This project was made by:

(back to top)

About

A small OpenGL learning project with dragon modeling. Built in C++ for Linux.

License:The Unlicense


Languages

Language:C++ 97.7%Language:C 1.7%Language:Batchfile 0.3%Language:Shell 0.3%