CG1 Framework is a framework for OpenGL used in the Computer Graphics 1 lecture at Ulm University. It is loosely based on Glitter. It compiles and statically links every required library.
Here you can see some images of our final project:
This framework needs cmake to create platform-specific makefiles or project files. To generate a project file or makefile for your platform you need the IDE installed that you want to use. Don't forget to set the Start-Up Project in Visual Studio or the Target in Xcode.
# UNIX Makefile
cmake ..
# Mac OSX
cmake -G "Xcode" ..
# Microsoft Windows
cmake -G "Visual Studio 14" ..
cmake -G "Visual Studio 14 Win64" ..
...
CG1 Framework uses the following dependencies (already included in the source package as git submodules).
Functionality | Library |
---|---|
OpenGL Function Loader | glad |
Windowing and Input | glfw |
OpenGL Mathematics | glm |
Texture Loading | stb |
Model Loader | assimp |
GUI | imgui |
To pull all submodules from remote do
or use the --recursive
when cloning the repository.