Skip to content

TheWeaklessOne/fdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FDF Project

Overall overview

FDF is the first project on the graphical branch at 42. The program takes a map as a parameter and draws 3D representation. You can rotate image around 3 axis with keyboard and mouse, change color style and change types of projection. All transformations are done with simple functions described in rotate.c and transform.c files without matrixes. Colors slowly change to the next point's color. Also if map contains a specific color for a point it handles it correctly. Please use a menu on the left for additional information.

pic

Useful links

  1. man mlx
  2. Key hooks codes for Mac
  3. Bresenham line algorithm

Installation

make
./fdf some_map.fdf

Works on Mac and Linux.

About

Implementation of FdF project at School21

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published