Minecraft implementation from scratch using C++ and OpenGL for advanced computer graphics final work
Check some results
- Chunk division
- Level distance optimization
- Block face culling optimization
- Insert blocks and remove blocks
- Walk in the terrain
- 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)
- GLFW https://github.com/glfw/glfw
- DB Perlin https://github.com/daniilsjb/perlin-noise
- GLM https://github.com/g-truc/glm
- GLAD https://github.com/Dav1dde/glad
- ImGUI https://github.com/ocornut/imgui
- STB IMAGE https://github.com/nothings/stb
- To move use WASD or the arrows
- To look around drag the mouse with left click
- Break or insert a block use the right click
- You can change the movement speed in the UI
- Change the mode from fly or walk in the UI
- Change the mode from erase block to insert block in the UI
- You can select 4 types of block to insert in the UI






