An interactive application developed using OpenGL and C++ to view and interact with Minecraft blocks.
The purpose behind the developement of this project was solely learning Computer Graphics and getting used to the OpenGL library.
Block textures redered using OpenGL with diffuse and specular maps
- Enable/disable lights
- Phong Lighting
- Rendering transparent/translucent object
- Block hover animation
- Multiple texture faces
- Specular and Diffuse maps
Run the following script in the project folder to fetch block texture atlases
./fetch_textures.sh
Build the project
mkdir build
cd build
cmake ..
make
Run the program
./minecraft_block_viewer
Key | Description |
---|---|
PageUp | Switch to next block |
PageDown | Switch to previous Block |
L Key | Toggle Lighting in scene |
Mouse Hold | Break Block |
Escape key | Exit |
Arrow Keys | Rotate Block |