Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 1.36 KB

README.md

File metadata and controls

49 lines (42 loc) · 1.36 KB

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

Minecraft Blocks rendered in OpenGL    Specular and diffuse maps
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