Skip to content

FelBenini/FDF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

         _          _            _      
        /\ \       /\ \         /\ \    
       /  \ \     /  \ \____   /  \ \   
      / /\ \ \   / /\ \_____\ / /\ \ \  
     / / /\ \_\ / / /\/___  // / /\ \_\ 
    / /_/_ \/_// / /   / / // /_/_ \/_/ 
   / /____/\  / / /   / / // /____/\    
  / /\____\/ / / /   / / // /\____\/    
 / / /       \ \ \__/ / // / /          
/ / /         \ \___\/ // / /           
\/_/           \/_____/ \/_/            
                                                                                      

Fil de Fer // 3D Wireframes

fdf demo

This project consists on rendering 3D wireframes, it was made with C and the MLX graphics library developed by 42. Example files that can be passed as input can be found at ./maps. You may realize that some directories can be passed as an input to the program, those are the animated maps, and each file inside them corresponds to a frame (example above).

Requirements

MLX42 is dependent of X11, so you will need to be using it as your window system.

Compiling, Installing and Running

First, clone the repository

git clone https://github.com/FelBenini/FDF.git
cd FDF

After cloning, run the following command inside the project's directory:

make bonus

If you simply run 'make', it will compile a more basic with less features version of the program.

Finally, you will be able to run the program passing a file as an argument.

./fdf ./path/to/the/file/map

Generating any map with an image

For this step you might want to take a look at my other repository: img_to_fdf!

Showcase

image image image image

About

Animated 3D wireframes // FDF Project from 42 School with bonuses included

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published