Skip to content

Minecraft implementation from scratch using C++ and OpenGL for advanced computer graphics final work

License

Notifications You must be signed in to change notification settings

RodrigoPAml/MinecraftFromScratch

Repository files navigation

Minecraft From Scratch

Minecraft implementation from scratch using C++ and OpenGL for advanced computer graphics final work

image

Check some results

mine1gif

Minecraft de pobre 2024-06-21 03-18-01 (2)

Features

  • Chunk division
  • Level distance optimization
  • Block face culling optimization
  • Insert blocks and remove blocks
  • Walk in the terrain

Limitations

  • Unable to save modifications on the map, so if the chunk despawn the modifications are lost
  • Only can remove and place block from the top of a chunk (for simplicity of implementation)
  • Some shrubs and plants may change orientation when the chunk is rebuilt because of the use of randomness
  • Sometimes the ray don't hit the closer block, so you will remove/add in the "wrong" location (i forgot to sort that)

Libs

How to use

  • You can change the movement speed
  • Change the mode from fly or walk
  • Change the mode from erase block to insert block
  • You can select 4 types of block to insert

Images

image

image

image

image

About

Minecraft implementation from scratch using C++ and OpenGL for advanced computer graphics final work

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages