olehsamoilenko / FdF

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FdF

You can watch the project preview on my Instagram. Don't worry to like and subscribe.

Picture

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
  • Intro window

Run the project:

git clone --recursive https://github.com/olehsamoilenko/FdF.git
cd FdF
make
./fdf maps/example.fdf

🍏 Works only on Mac OS

Picture

About

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


Languages

Language:C 83.1%Language:Roff 9.7%Language:Objective-C 6.0%Language:Makefile 1.0%Language:Perl 0.3%