Skip to content

A OpenGL renderer for a voxel world like MineCraft

Notifications You must be signed in to change notification settings

fotcorn/VoxelWorld

Repository files navigation

VoxelWorld

Play it in your browser now: https://fotcorn.github.io/VoxelWorld/

Screenshot

Screentshot

Features

  • Procedurally generated endless voxel world
  • Optimized vertex data generation from voxel world
  • OpenGL 4 based renderer
  • Simple water simulation
  • Adding/removing blocks with raycasting from mouse position to 3D block position
  • UI library based on HTML/CSS with flexbox layout support

Dependencies

Install the following tools:

  • conan
  • cmake

Setup and build

Linux (gcc/clang)

mkdir build
cd build
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
conan install .. --build=missing
cmake ..
cmake --build .

Windows (Visual Studio)

mkdir build
cd build
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
conan install .. -s build_type=Debug -s compiler="Visual Studio" -s compiler.runtime=MDd --build=missing
cmake .. -G "Visual Studio 15 2017 Win64"
cmake --build .

Sources

About

A OpenGL renderer for a voxel world like MineCraft

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published