Mohamed-Moumni / FDF

FDF is a 42 Project to learn about 3d programming. The program takes a map as parameter and creates its 3d representation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

FDF is a 42 Project to learn about 3d programming. The program takes a map as parameter and creates its 3d representation.


Languages

Language:C 95.6%Language:Makefile 4.4%