lragnarsson / Emerald-Engine

3D graphics engine using OpenGL
MIT License
66 stars 21 forks source link

Emerald Engine

3D graphics engine written in C++ using OpenGL. This project was first created as part of a course in computer graphics at Linköping University. Grass, shadows, bloom and more was added in a later course.

Many parts of this project have been based on tutorials and examples found online, learnopengl.com in particular has been a good source of inspiration. The grass was inspired by this blog post.

Project members:

A video showcasing the procedural grass: https://www.youtube.com/watch?v=xNea72F_aws

An older video: https://www.youtube.com/watch?v=Tt9o01yyQiw

FEATURES

INSTALLATION

Debian / Ubuntu

Install dependencies with apt-get:

sudo apt-get install build-essential libgl1-mesa-dev libsdl2-dev libglew-dev libglm-dev libsdl2-image-dev libassimp-dev

Go to the AntTweakBar download page and download the zip file. Extract the folder and move inside its src/ folder. Run make. Move the contents of /include to /usr/local/include and the contents of lib to /usr/local/lib. run

sudo ldconfig

Run make

MAC OS X

Install dependencies with brew:

brew install glm assimp sdl2 sdl2_image anttweakbar

Run make