git clone or dowload, got to the git folder in command prompt :
-
if minilibx is not installed run
make mlx
-
then just run
make
./fdf <file> [<alti1> <red1> <green1> <blue1> ...]
cat file | ./fdf [<alti1> <red1> <green1> <blue1> ...]
cat <name.palette> | xargs ./fdf <file>
cat lava.palette | xargs ./fdf test_maps/mars.fdf
- Arrow key : rotate arround vertical and horizontal axis
- W,A,S,D : move arround horizontaly
- Q,Z : move up and down
- Numpad +/- : zoom in/out
- ,/. : more/less perpective (for perspective modes only)
- Space : change to next display mode (4 avalable)
- PageUp/PageDown : increase or lower map reliefs
- Escape: close the simulaltion