/fdf

This project is about creating a simplified 3D graphic representation of a relief landscape.

Primary LanguageC

Fdf

Fdf from the french "Fil de fer" and wireframe in english

This project is about creating a simplified 3D graphic representation of a relief landscape

Made with the minilibx

This code complies with the 42 school norm: https://github.com/AnthonyLedru/fdf/blob/master/norm.pdf

Screenshots

alt text

Features

  • Zoom (X, Y)
  • Translation (X, Y)
  • Change the height (Z)
  • Color palette in argument
  • Color gradient between 2 points of different height

Controls are show in the side menu

Compilation

Run make command to compile the project

Usage

./fdf [map] [c1] [c2] [c3] [c4] [c5]

Some maps are given in the repository

The 5 colors are optional

Subject

https://github.com/AnthonyLedru/fdf/blob/master/fdf.pdf