wip reamde instructions
This commit is contained in:
32
README.md
32
README.md
@@ -1,10 +1,10 @@
|
|||||||
# FDF - fil de fer
|
# FDF - fil de fer
|
||||||
|
|
||||||
this program is written in C
|

|
||||||
|
|
||||||
this is an exercize to discover 3D drawing, keyboard events, and pixel images manipulation
|
**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 :
|
it reads a map, which is a simple text file like this :
|
||||||
|
|
||||||
```
|
```
|
||||||
0 0 0 0 0
|
0 0 0 0 0
|
||||||
@@ -14,10 +14,32 @@ what it does is to read a map, which is a simple text file like this one :
|
|||||||
0 0 0 0 0
|
0 0 0 0 0
|
||||||
```
|
```
|
||||||
|
|
||||||
and it will convert it into a rectangular net, like a landscape with the height equal to the numbers :
|
and it 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
|
we can modify the map to change the 3D drawing :
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
then it listent to keyboards events to transform the 3D, like turning around, zooming... :
|
||||||
|
|
||||||
|
**zoom :**
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**turn :**
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**move :**
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**change height :**
|
||||||
|
|
||||||
|

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