Skip to content
/ FdF Public

🖼️ A graphics program that visualizes 3D wireframe projections.

Notifications You must be signed in to change notification settings

lareii/FdF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fdf badge

FdF

norminette

🖼️ A graphics program that visualizes 3D wireframe projections.

About

FdF is a foundational graphics project in the 42 curriculum that involves creating a program capable of rendering 3D wireframe models in a 2D environment. The project challenges students to use mathematical concepts such as isometric projections and implement fundamental graphics programming techniques, including managing the window display, handling user interactions, and drawing lines efficiently. By completing FdF, students gain a deeper understanding of computer graphics, coordinate transformations, and algorithm optimization.

References

Install & Usage (Linux)

Prerequisites

  • MinilibX requires the following packages to be installed:
sudo apt-get install xorg libxext-dev zlib1g-dev

Installation

  1. Clone the repository recursively to include the MinilibX submodule:
git clone --recursive https://github.com/lareii/fdf.git
  1. Build the project:
make # 'make bonus' for bonus version

Usage

Run the program with a map file as an argument:

./fdf maps/42.fdf # './fdf_bonus <map_file> for bonus version.

Ta-da! 🥳 You should see a 3D wireframe projection of the map.

Preview

fdf preview

Watch the demo video to see the program in action.

Contributing

Contributions are welcome! If you would like to contribute to this project, please open a pull request.

About

🖼️ A graphics program that visualizes 3D wireframe projections.

Topics

Resources

Stars

Watchers

Forks