Skip to content
/ fdf Public

This project is about representing a landscape as a 3D object in which all surfaces are outlined in lines.

Notifications You must be signed in to change notification settings

iflis7/fdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FDF

This project is about representing a landscape as a 3D object in which all surfaces are outlined in lines. Version: 2.

42cursus' libft

Development repo for 42cursus FDF project
For further information about 42cursus and its projects, please refer to 42cursus repo.

Made with C GitHub code size in bytes Number of lines of code Code language count GitHub top language GitHub last commit

This project is about representing a landscape as a 3D object in which all surfaces are outlined in lines. Version: 2.
You can read the subject: fdf_subject.pdf

Discription of mandatory part

This project is about creating a simple wireframe model representation of a 3D landscape by linking various points (x, y, z) thanks to line segments (edges). Your project must comply with the following rules:

  • You must use the MiniLibX. Either the version available on the school machines, or installing it using its sources.
  • You have to turn in a Makefile which will compile your source files. It must not relink.
  • Global variables are forbidden.

Rendering

  • Your program has to represent the model in isometric projection.

• 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.

Graphic management

  • Your program has to display the image in a window.
  • The management of your window must remain smooth (changing to another window, minimizing, and so forth).
  • Pressing ESC must close the window and quit the program in a clean way.
  • Clicking on the cross on the window’s frame must close the window and quit the program in a clean way.
  • The use of the images of the MiniLibX is mandatory.

Bonus part

You are allowed to use other functions to complete the bonus part as long as their use is justified during your evaluation. Be smart! You will get some extra points if you can:

  • Include one extra projection (such as parallel or conic)!
  • Zoom in and out.
  • Translate your model.
  • Rotate your model.
  • Add one more bonus of your choice.

All errors like: wrong commands, permission to files and etc, need be handle.

hsaadi's 42 FdF Score

About

This project is about representing a landscape as a 3D object in which all surfaces are outlined in lines.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published