carsonclarke570 / Metacraft

A C-based Minecraft Clone
Apache License 2.0
2 stars 0 forks source link

Metacraft - A C-based Minecraft Clone

A C-based Minecraft clone written in OpenGL utilizing advanced rendering techniques such as PBR shading, environment mapping and deferred rendering.

Getting Started

cloen da repo

Prerequisites

Please ensure you have the latest versions of CMake and OpenGL (4.3) installed.

Install OpenGL:

sudo apt install xorg-dev libgl1-mesa-dev libglu-dev libassimp-dev

Install CMake:

sudo apt install cmake

If the version of CMake is out of date (because Ubuntu), uninstall it with:

sudo apt purge --auto-remove cmake

and reinstall manualy with the latest version: (i.e. version = 3.14, build = 3)

mkdir ~/temp
cd ~/temp
wget https://cmake.org/files/v<version>/cmake-<version>.<build>.tar.gz
tar -xzvf cmake-<version>.<build>.tar.gz
cd cmake-<version>.<build>/
./bootstrap
make -j4
sudo make install
cd ..
rm -r temp

Building

Create a build directory in the project, run CMake in that directory, run the generated Makefile, and execute the program:

mkdir build
cd build
cmake ..
make
./Daybreak

The program should launch in a new window.

Built With

Contributing

TO-DO

Versioning

TO-DO

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache License - see the LICENSE.md file for details

Acknowledgments