Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.3 KB

README.md

File metadata and controls

35 lines (30 loc) · 1.3 KB

FDF

42.fdf map 42.fdf map 42.fdf map

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.

Mathematics And MiniLibX Sources

Also many thanks to these very informative sites:

Installation

git clone https://github.com/Mohamed-Moumni/FDF.git
make 
./fdf ./test_maps/map.fdf

For Bonus Use This Rule

make bonus
./fdf ./test_maps/map.fdf