This a simple 3D graphics program to demonstrate some of the capabilities of OpenGL. It is written in C, using the Win32, OpenGL and GLEW APIs. It uses custom shaders written in GLSL to achieve effects such as normal mapping.
- Mouse to look around
WforwardAleftSbackwardDrightCcrouchSPACEjumpESCquit
The following dependencies are required in order to build this project:
- Windows
- OpenGL version >= 4.4
- GLEW version >= 1.10
If you are using Visual Studio, import all C source and header files into your solution, and follow these steps:
- Set your solution platform to Win32
- Follow the installation instructions for GLEW. To summarize, download the windows binaries, extract the archive, copy the following with administrator priviledges:
bin\Release\Win32\glew32.dlltoVC\binlib\Release\Win32\glew32.libtoVC\libinclude\GL\glew.htoVC\include\GLinclude\GL\wglew.htoVC\include\GL
- Add as additional library dependencies to the linker:
opengl32.lib,glu32.lib,glew32.lib.
This project is distributed under the MIT license.