wip readme presentation

This commit is contained in:
asus
2024-01-15 23:06:59 +01:00
parent 5f3588466f
commit 91ff4568ff
10 changed files with 9 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ we can modify the map to change the 3D drawing :
![example 3D of map after modifications](assets/fdf_demo_2.jpg) ![example 3D of map after modifications](assets/fdf_demo_2.jpg)
then it listent to keyboards events to transform the 3D, like turning around, zooming... : then it listen to keyboards events to transform the 3D, like turning around, zooming... :
**zoom :** **zoom :**
@@ -28,17 +28,14 @@ then it listent to keyboards events to transform the 3D, like turning around, zo
**turn :** **turn :**
![example 3D of map after modifications](assets/fdf_loop_turn_left_pyramide.gif) ![example 3D of map after modifications](assets/fdf_loop_turn_down_pylone.gif) ![example 3D of map after modifications](assets/fdf_loop_turn_left_pyramide.gif)
![example 3D of map after modifications](assets/fdf_loop_turn_down_pylone.gif)
**move :** **move :**
![example 3D of map after modifications](assets/fdf_loop_move_left_tube.gif) ![example 3D of map after modifications](assets/fdf_loop_move_down_tune.gif)
![example 3D of map after modifications](assets/fdf_loop_move_down_tube.gif)
**change height :** **change height :**
![example 3D of map after modifications](assets/fdf_loop_change_height_50.gif) ![example 3D of map after modifications](assets/fdf_loop_change_height_50.gif)
![example 3D of map after modifications](assets/fdf_loop_flying_tube.gif)

BIN
assets/fdf (copy 1).gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

BIN
assets/fdf.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 MiB

BIN
assets/fdf1.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

BIN
assets/fdf2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

BIN
assets/fdf2_sav.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

BIN
assets/fdf3.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

BIN
assets/fdf4.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
assets/fdf4_sav.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

@@ -94,9 +94,9 @@ int **parse_map(t_fdf *fdf, int fd);
- test : white - pink - test : white - pink
*/ */
// color for altitude // color for altitude
# define COLOR_START 0xa263f6 // purple
/*
# define COLOR_START 0xf263a6 // pink # define COLOR_START 0xf263a6 // pink
/*
# define COLOR_START 0xa263f6 // purple
# define COLOR_START 0xffffff // white # define COLOR_START 0xffffff // white
# define COLOR_START 0x1423e6 // blue # define COLOR_START 0x1423e6 // blue
# define COLOR_START 0x877264 // brown # define COLOR_START 0x877264 // brown
@@ -104,18 +104,18 @@ int **parse_map(t_fdf *fdf, int fd);
*/ */
/* /*
# define COLOR_END 0x877264 // brown # define COLOR_END 0x877264 // brown
# define COLOR_END 0x00d700 // green
# define COLOR_END 0xa263f6 // purple # define COLOR_END 0xa263f6 // purple
# define COLOR_END 0x1423e6 // blue # define COLOR_END 0x1423e6 // blue
# define COLOR_END 0xf263a6 // pink # define COLOR_END 0xf263a6 // pink
*/
# define COLOR_END 0xffffff // white # define COLOR_END 0xffffff // white
*/
# define COLOR_END 0x00d700 // green
// pixels deplacement for each keypress // pixels deplacement for each keypress
# define MOVE 10 # define MOVE 10
// minimum time in milliseconds between two keypress // minimum time in milliseconds between two keypress
# define DEBOUNCE_TIME 10 # define DEBOUNCE_TIME 50
# define ESCAPE 65307 # define ESCAPE 65307
# define UP 65362 # define UP 65362