Skip to content

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

Notifications You must be signed in to change notification settings

Mohamed-Moumni/FDF

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published