Skip to content

This is the fdf project from the 42 school. This project is about creating a simplified 3D graphic representation of a relief landscape.

Notifications You must be signed in to change notification settings

agardina/fdf_42

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fdf_42

This is the fdf project from the 42 school. This project is about creating a simplified 3D graphic representation of a relief landscape.

Usage

Compile using the command: make
Then run the program with the command: ./fdf test_maps/the_map_you_want.fdf

Projections

Two types of projection are implemented:

  • Isometric projection
  • Cabinet projection

However, using the rotation options you can basically achieve any type of 3D projection.

Options

The following options are available:

  • Switch projection
  • Rotations (on the X, Y or Z axis, or all three at the same time)
  • Zoom in/out
  • Color change (6 colors are available, as well as a cartographic mode)
  • Center the object
  • Move the camera up/down or left/right
  • Reset the current projection

img1

img2

img3

Compatibility

This project is based on a grapical library named "minilibx" provided by 42.

This repository includes the minilibx version which is compatible with MacOS. This program should then run on MacOS without any problem.
However this program won't work on Linux-based systems, since another version of the minilibx (which is not included here) is needed.

About

This is the fdf project from the 42 school. This project is about creating a simplified 3D graphic representation of a relief landscape.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published