MineGL

Project Specification

  • Tools/Languages: C++, GLFW (Source), OpenGL (Source), FastNoiseLite (Source), Git, Visual Studio
  • Environment: Personal Project
  • Timeline: Ongoing. Started in 2021.
  • GitHub: Repository

Description

GLFW is an OpenGL library that allows me to use shaders to add shapes to the screen output. With the help of random noise generation and Minecraft texture packs (this is a non-commercial and personal project), I was able to create a simple Minecraft world and fly around it.

A picture of the randomly generated world: You can see the height and elevation, creating a mountainous world.

Some features:

  • There's a tool near the top of the window that allows you to do some cool debugging.
  • I am working on a meshing algorithm to cull invisible shapes that players cannot see. It allows the program to run faster.

You can see the red lines indicating the edge of a chunk. Blocks are generated in 16 (X) * 16 (Z) * 256 (Y) chunks.

Blocks that are not usually visible to the player (such as being underground) won’t be loaded. You can see the culling in this picture.

Disclaimer

I am not going to upload the texture files to the repository for obvious reasons (you have to find placeholder images for the texture yourself). This repository is meant for educational purposes only.

Address

Surprise, AZ, United States of America