A minimalistic minecraft clone built from scratch in C++ using OpenGL
2026-09-07.22-48-40.mp4
this project relies on the following core libraries to handle windowing, math, rendering, and gui:
- OpenGL – graphics rendering API.
- GLFW – cross-platform window creation and input handling.
- GLM – header-only mathematics library for graphics and matrix transformations.
- stb_image – lightweight, single-file public domain library for loading textures.
- Dear ImGui – Bloat-free immediate mode graphical user interface for debugging and configuration.
you must have a modern C++ compiler (supporting C++20 or higher) and CMake v3.24 installed on your system.
- cloning the repo:
git clone https://github.com/pinkytoefoo/minecraft-plusplus cd minecraft-plusplus - generating build files:
mkdir build && cd build cmake .. cmake --build .
- running the executable:
./MC-Clone
track the progress of features planned for this project:
- basic opengl / glfw / imgui setup
- renders basic voxels
- camera movement
- chunk management system
- terrain generation
- main & settings menu
- voxel and vertex optimization
- player movement & physics
- collisions
- day / night lighting cycle