3D graphics program. Draws a wireframe model of a relief landscape. Takes as input a map in the form of a text document where space-separated integers represent vertices of a model. The integer's position defines Y and X coordinate, and its value is for Z coordinate.
This is the first project in the graphics branch of School 42 curriculum.
Detailed description of the task is in fdf.en.pdf
Compile with make
. Then run:
./fdf [map.fdf]
Use files in the maps directory.
Tested only on Mac OS X.
- scroll
- zoom
- rotation (manual and auto)
- color gradient relative to altitude
- iso and parallel projections switch
- relief sharpness modification (Z coordinate scaling)