Giter VIP home page Giter VIP logo

3d-voxel-game-engine's Introduction

3D Voxel Game

A 3D voxel game (very much inspired by Minecraft) using OpenGL, C# and GLSL. The focus of this project is to figure out and solve the different challenges that come with making a voxel engine/game like Minecraft: how to represent the world and the different blocks, how to generate the world, how to interact with it, how to update the world (after an interaction), how (smooth) lighting works etc.

It features:

  • Procedurally generated world with biomes using perlin noise.
  • Multiplayer with a client-server architecture.
  • Multithreading for networking, terrain generation and tesselation.
  • Different biomes each with different terrain generation and decoration properties.
  • Lighting system (with the option of smooth or flat shading) supporting different colored blocks.
  • Baked ambient occlusion.
  • Customizable skydome shader for simulating day/night cycles.
  • Interactions with the world (breaking blocks, placing blocks, interacting with blocks).
  • Different types of blocks like normal blocks (dirt, stone for example) and more complex blocks like plants (wheat, sugar cane for example).
  • Basic UI rendering system built with canvasses holding different UI components.
  • Rendering system with flexibility to define how a block should be rendered to avoid rendering unnecessary parts.
  • Support for different texture packs.
  • Collision detection and response.

Features that could be added/looked at:

  • Save and load worlds to/from file.
  • Make the game a lot more mod friendly by making it more data-driven.
  • Add support to generate large(r) structures like villages.
  • Add basic mob spawning and AI.
  • Add caves.
  • Add items and a survival mode.

3d-voxel-game-engine's People

Contributors

ladadoos avatar

Stargazers

Aleksandar Milačić avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.