Minecraft-Block-Viewer
Minecraft-Block-Viewer copied to clipboard
OpenGL program to interact with Minecraft Bocks
Minecraft Block Viewer
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.
Preview
Block textures redered using OpenGL with diffuse and specular maps
Features
- Enable/disable lights
- Phong Lighting
- Rendering transparent/translucent object
- Block hover animation
- Multiple texture faces
- Specular and Diffuse maps
Build instructions
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
Controls
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 |