Skip to content

richim96/42-fdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wireframe 3D - Landscape modeling with X-Window

The program displays a given .fdf map using 3D wireframe representation. It leverages 42's graphical library minilibx.

Install and run

This program only runs on MacOS, due to the minilibx OS-specific dependency attached. To work correctly, it also requires OpenGL: if you don't have it yet, please install it.

brew install opengl

Once you've taken care of this, simply run make in the project folder to generate the executable. To launch the program, use the following command with a map of choice:

./fdf assets/maps/pyra.fdf

pyra.png



Keep in mind, the bigger the map, the less details you will be able to see!

pylone.png



france.png