FdF is a project inside the 42 Common core. It consists on the development of a topographic map visualizer using pure C and the (very limited) MiniLibX graphic library.
FdF maps should be described in a plain text file where any point in the map is written as a number, separated with spaces in a grid.
And the color of a point is described in hexadecimal, separated with a comma next to the point.
The program is able to render maps, rotate them around X Y and Z axis, toggle between an Axonometric/Isometric perspective and parallel perspective, zoom in and out and translate the rendered image in the screen x and y axis.
To use the program just run it in a terminal using the map file path as an argument:
./fdf maps/luna/brazil.fdf
Zoom in and out with the scroll wheel, rotate each axis with X, Y and Z keys, toggle the perspective with the P key, transpose the rendered image with the arrow keys.