CleSucre / fdf

This project is about creating a simple wireframe model of a landscape.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FDF for 42

⚠️ Project has not been tested yet. ⚠️

What is it?

FDF ("File de fer" in french) is about representing a landscape as a 3D object in which all surfaces are outlined in lines.

#TODO: image of final progam

Trigonometry

The FDF project involves utilizing trigonometric functions to transform 2D points into a 3D representation, creating a visually appealing landscape. Understanding trigonometry is crucial for manipulating angles and distances to accurately position points in the 3D space.

#TODO

3D & 2D

#TODO

Frustum

#TODO

Frustum 2

Usage

To use the FDF program, follow these steps:

  1. Clone the repository:

    git clone https://github.com/CleSucre/fdf.git
  2. Navigate to the project directory:

    cd fdf
  3. Build the executable:

    make
  4. Run the program with a provided map file:

    ./fdf maps/42.fdf

Map Files

The FDF program requires map files that define the landscape. These files contain a grid of integer values, where each value represents the height of a point on the grid. Exemple files are provided in the test_maps directory.

⚠️ Note: This project is currently under development and has not been thoroughly tested. Use at your own risk. ⚠️

About

This project is about creating a simple wireframe model of a landscape.


Languages

Language:C 95.4%Language:Makefile 4.6%