Skip to content
/ fdf Public

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

Notifications You must be signed in to change notification settings

CleSucre/fdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Dependencies

The FDF program requires the following dependencies:

  • libx11-dev
  • libxext-dev
  • libbsd-dev

On Debian/Ubuntu

sudo apt-get update
sudo apt-get install libx11-dev libxext-dev libbsd-dev

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published