• This repository has been archived on 21/Jul/2024
  • Stars
    star
    160
  • Rank 233,945 (Top 5 %)
  • Language
    C++
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Tiny Minecraft clone made with C++ and OpenGL.

discord license hunter

Minecraft Logo

Created by Samuel Rasquinha using C++17 and OpenGL 3.3 🎲

A Tiny Minecraft Clone

A Tiny Minecraft clone made with C++ and OpenGL.

Project status

This project has long since been abandoned and I will not be adding any new features to it.

Current Features

  • 3D Perspective FPS style camera with smooth movement
  • Terrain generation using simplex noise
  • 4 Types of terrain generation options
  • World structures such as trees and cactus
  • Biome generation by noise quantization
  • Infinite Terrain
  • High Definition texture pack
  • Support for fully translucent blocks such as Glass and models
  • Fast chunk meshing
  • Face culling
  • Frustum culling
  • Complete day/night cycle
  • Exponential fog
  • 3D AABB Collision detection
  • Dynamic voxel based lighting
  • Fast world saving and loading
  • Complete main menu and GUI interface using ImGui
  • Logger
  • Over 20 types of blocks (more blocks can be added very easily)
  • Cloud Skybox using cubemaps
  • Accurate block editing using a voxel transversal algorithm
  • Connected textures/blocks support.
  • Water generation
  • Efficient particle emitter
  • Fully 3D Audio
  • No OS Specific dependencies
  • Supports windows and linux. (Should work on mac but not tested)

Features to come

  • Smooth lighting with Ambient Occlusion
  • Multiplayer and networking
  • Dynamic Sun and clouds
  • Weather
  • Multithreading

Compiling

This project compiles with Clang and MSVC. (Should also compile with GCC not tested.)

Contact me

  • See github "about me"

Credits

The block art, skybox art and fonts are not made by me. All credits go to their owners.
Notable Websites :

  1. https://opengameart.org/

Special Thanks

  1. Dan Bechard (Discord : @dandymcgee#2568)
  2. Krazer (Discord : @Krazer7877)

References

License

This project is under the MIT license. See LICENSE for more info

Screenshots

Minecraft Menu

The Menu screen

Minecraft in-game

Minecraft in-game

Nice looking terrain generation using simplex noise


Minecraft light-1


Minecraft light-2


Minecraft light-3

Lighting Demo with lamps


Supporting

If you like this project, please consider starring it on github. Thankyou :)

More Repositories

1

GLGame

A Tiny 2D OpenGL based C++ Game Engine that is fast, lightweight and comes with a level editor.
C++
76
star
2

Candela

Pathtraced Realtime Engine
C++
66
star
3

Glide3D

A Tiny 3D Game Engine
C++
37
star
4

Lumen-3D

A 3D Toy Graphics Engine/Framework
C++
32
star
5

VoxelPathTracer

A Voxel Tracer
C++
16
star
6

Blocks

A Voxel Engine that has an emphasis on graphics and performance.
C++
14
star
7

GPUSimulation

Simulation!
C++
8
star
8

VolumetricClouds

Sandbox to play around, explore and learn about volumetric clouds
C++
6
star
9

WaterSurfaceSimulator

C++
6
star
10

Pi-Estimator

This program was also written by me in C when I was 12. It just generates better and better estimations of PI. Use it how you wish. It also may use your CPU like crazy due to lots of calculations.
C
3
star
11

Abstract-OpenGL

This is just a project that abstracts the main modern OpenGL functions into classes.
C
2
star
12

Lumen

Lumen is a 3D renderer
C++
2
star
13

VolumetricDisplay

Volumetric Display SIMULATION using a rapidly rotating screen
C++
2
star
14

linear-mafs

A Tiny Linear Algebra Maths library
C++
2
star
15

Ray-Tracer

A Tiny CPU/GPU Side Raytracer
C++
1
star
16

TicTacToe

I wrote this program when I was 12 years with C++. This program is used to play tic tac toe with some basic AI. The AI is very primitive in this program but still it helped me to start thinking better.
C++
1
star
17

Path-Tracer

A Path Tracer.
C++
1
star
18

Candela-Mechanics

Candela.. but with.. PHYSICS! :D
C++
1
star
19

OpenGL-Template

A Visual Studio OpenGL Template project.
C++
1
star
20

BGI-2d-Game-Engine

This is a basic C++ game engine which is based on WinBGI (A GCC implementation of the old borland graphics library)
C
1
star