FDF is a graphical project that involves creating a wireframe representation of a landscape. It visually represents a terrain in relief by connecting different points (x, y, z) with line segments.
Navigate through the sections using the index for quick access to specific information in the FDF - Fil De Fer README.
- Create the wireframe representation of a landscape.
- Use MiniLibX for graphical rendering.
- Provide a Makefile for compiling source files without relinking.
- Display the rendering using an isometric projection.
- Accept coordinates of the terrain from a parameterized file in the *.fdf format.
open
,close
,read
,write
,malloc
,free
,perror
,strerror
,exit
- All functions from the math library (compile with the -lm option)
- All functions from MiniLibX
- Libft is allowed
- Implement zoom in and zoom out functionality.
- Implement translation (movement) of the rendered terrain.
- Multiple background color gradient options.
- Objects have a gradient representing the Z value of the point.
Compile the program using the provided Makefile:
make
Run FDF with a parameterized file:
./fdf example.fdf
- Arrow Keys: Move the object/map in the pressed direction.
- "+" and "-" Keys: Zoom in and out, respectively.
- 1, 2, 3, and 0 Keys: Change the gradient of the background. Pressing 0 disables the background or makes it solid black.
- Esc Key: Close the program.
Feel free to navigate, zoom, adjust gradients, and explore the graphical representation using these interactive controls.
make
: Compile the program.make all
: Same asmake
.make clean
: Remove object files.make fclean
: Remove object files and the executable.make re
: Rebuild the program from scratch.
open
,close
,read
,write
,malloc
,free
,perror
,strerror
,exit
- All functions from the math library (compile with the -lm option)
- All functions from MiniLibX
Libft functions are authorized for use.
Enjoy exploring and visualizing landscapes with FDF!