Skip to content

greyear/FdF

Repository files navigation

FDF

The project is about creating a simple wireframe model representation of a 3D land-scape by linking various points.

Details

The coordinates (x, y, z) of the landscape are stored in a .fdf file passed as a parameter to your program.

Here is an example of input file:

Each number represents a point in space:

  • The horizontal position corresponds to its axis.
  • The vertical position corresponds to its ordinate.
  • The value corresponds to its altitude.

Executing program using the example file should render a landscape similar to:

Program displays the image in a window, and management of the window should remain smooth (changing to another window, minimizing, and so forth).

Pressing ESC or clicking on the cross on the window’s frame closes the window and quits the program in a clean way.

FDF uses the images of the MLX42 library (https://github.com/codam-coding-college/MLX42), which provides primitive tools to draw textures onto the window.

How to run the program

Results

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors