Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.84 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.84 KB
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.