This project was completed in February 2019 as part of the 42 school cursus. The aim is to generate a projection grid using the minilibx visual library from map files (grids of altitudes). The complete instruction can be found in the resources folder.
🍌 This project was completed with Xeska
Simple graphic library, segment layout, events, 3D to 2D projection
This project was a way to familiarize ourselves with a graphic library, the minilibx in this case.
As an added bonus, this project offers:
- different color schemes (one generated from the map, a static rainbow, a changing rainbow, and one generated from the altitude given on the map to emulate a terrain map)
- zooming
- moving the grid
- rotating the map
Clone the repository. The project uses the minilibx library which can be found in the resources/
folder. To install the minilibx library, follow the instructions here.
Compile the project using make
, then you can try with any of the maps in the resources/maps
folder.
./fdf resources/42.fdf
./fdf resources/julia.fdf
🍌 Team Unbananable: