/42-fdf

Infographic ~ Map Viewer

Primary LanguageC

FDF Project

Project Overview

FDF is a 42 Project to learn about 3d programming. The program takes a map as parameter and creates its 3d representation. * Render a 3D map from a 2D representation. Initially I was using vectors and simple formulas as illustrated by formula.c file. Later I switched to matrixes. * You can rotate, increase altitude coefficient and zoom in/out. All transformations are done through matrixes transformations except for the one translating the picture. * Colors of the map altermate according to seasons and altitude. Colors slowly change to the next point's color. The program can parse colored maps and also handle transparency. Brightness of the image can also be decreased or increased. Please use menu (H button) for a full list of available options.

Credits

  • Thanks to my dear friend Janwalsh91 for the miscellaneous tips and the awesome colors.

Mathematics Sources

Installation

$> make
$> ./fdf map.fdf

"Quand la liberte reviendra, je reviendrai" Victor Hugo

Project Schema

Contact & contribute

To contact me and helping me to (fix bugs || improve) FDF, feel free to e-mail me at angavrel at student dot 42 dot fr