Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gusario/Fdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FdF

Screenshot 2020-03-07 at 15 48 10

This project is about creating a simplified graphic “wireframe” (“fils de fer” in french, hence the name of the project) representation of a relief landscape linking various points (x, y, z) via segments using Bresenham's line algorithm. The coordinates of this landscape are stored in a file passed as a parameter to your program. Examples you can find in the folder maps. Use my maps or create your own. Each number corresponds to a point in space:

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

Interesting features:

  • Rotating
  • Moving
  • Zooming
  • Relief changing
  • Gradient lines

Run the project:

git clone https://github.com/gusario/Fdf.git
cd Fdf
make
./fdf maps/example.fdf

🍏 Works only on Mac OS

Screenshot 2020-03-07 at 15 52 32

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published