FDF ("Fil de Fer") is a program that reads a map file and visualizes it as a wireframe 3D model. The name "FDF" is derived from the French phrase "Fil de Fer," meaning "wireframe model."
The first two images are object manipulations, and the last two are camera manipulations, which can rotate and translate respectively.
- 3D Wireframe Visualization: Reads map files and generates interactive wireframe models.
- Interactive Controls: Independently manipulate object and camera position, zoom, rotation, and elevation.
- Orthogonal Projection: Offers orthogonal projections without perspective distortion.
It's also written in the manual, which you can view by pressing the 'F1' button.
| Control | Action |
|---|---|
Mouse Scroll |
Zoom in / Zoom out |
+, - |
Adjust object elevation |
TAB |
Switch between OBJECT and CAMERA modes |
ALT |
Toggle Axis display ON/OFF |
W, A, S, D, Z, X |
Adjust Position (Object/Camera independently) |
I, O, K, L, <, > |
Adjust Rotation (Object/Camera independently) |
R |
Reset all transformations |
KEY 1~8 |
Switch between various isometric views |
NUMPAD 1~9 |
Switch between general predefined views |
F1 |
Toggle manual menu |
-
libft (custom):
- A personal C library providing common utility functions such as string manipulation, memory management, and linked lists. Developed for reuse across multiple projects.
-
MiniLibX (mlx):
- A graphical library provided by École 42 for simple graphics rendering, window management, and event handling.
Clone the repository and compile using the provided Makefile:
git clone https://github.com/Yonaim/FdF.git
cd FdF
makeRun the executable with a valid map file:
./fdf [map_file]Example:
./fdf maps/42.fdf





