added more gif and start readme
This commit is contained in:
24
README.md
24
README.md
@@ -1,13 +1,23 @@
|
||||
# FDF
|
||||
# FDF - fil de fer
|
||||
|
||||
quick description
|
||||
this program is written in C
|
||||
|
||||
- [subject here](./fdf_subject.pdf)
|
||||
this is an exercize to discover 3D drawing, keyboard events, and pixel images manipulation
|
||||
|
||||

|
||||
what it does is to read a map, which is a simple text file like this one :
|
||||
|
||||
### ressources
|
||||
```
|
||||
0 0 0 0 0
|
||||
0 0 0 0 0
|
||||
0 10 0 0 0
|
||||
0 0 0 0 0
|
||||
0 0 0 0 0
|
||||
```
|
||||
|
||||
- minilibx : https://harm-smits.github.io/42docs/libs/minilibx
|
||||
- draw a line : https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm
|
||||
and it will convert it into a rectangular net, like a landscape with the height equal to the numbers :
|
||||
|
||||

|
||||
|
||||
if we modify the map it will modify the 3D drawing
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user