CSCI441 OpenGL Library GitHub Repo
This library is intended to be used with OpenGL for CSCI441 at the Colorado School of Mines but can be used with any OpenGL application.
When building your application, this library must be compiled and linked against:
- OpenGL v3.3+ (Features up through OpenGL 4.3 are supported, but library is backwards compatible with earlier versions)
- GLFW v3.4
- glad2
- glm v1.0.1
The OpenGL and GLFW libraries must be previously built and installed on your machine. The corresponding header files are included with this distribution for proper compilation, but proper linking is left to the user to ensure success.
To build, run
make examples
then run one of the following programs:
./bin/hudcamera
: user can select which of the CSCI441 3D Objects to display using SimpleShader3 for diffuse illumination and OpenGL3DEngine for an Arcball camera. The currently selected object shape is displayed in the lower corner via a Heads-Up Display Camera./bin/simpleobjects3
: user can select which of the CSCI441 3D Objects to display using SimpleShader3 for diffuse illumination and OpenGL3DEngine for an Arcball camera./bin/simpletri2
: displays a rotating triforce on the screen using SimpleShader2 and OpenGLEngine