Skip to content
/ ft_FdF Public

3D wireframe program. Cool visuals inside, click me please!

Notifications You must be signed in to change notification settings

42kmira/ft_FdF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_FdF



This is the first of the graphics projects in the graphics branch. This project involves reading a map, some example maps are in the maps folder, and converting that map into a 3D wireframe. It uses a basic graphics library, one that interacts with the kernel to announce key events, make a window, and draw raw pixels on said window, called minilibx.

This project was entirely done in C. Rotations, translation and zoom were implemented from scratch. How keys presses are handled was up to the programmer. These keys are non blocking i.e. multiple keys can be pressed at the same time. The controls are:

Rotation:

Numpad 8
Numpad 2
Numpad 4
Numpad 6

Translation:

Arrow Left
Arrow Right
Arrow Up
Arrow Down

Zoom:

Z
X

Change Map Height:

<
>


Also supports RGB maps!



About

3D wireframe program. Cool visuals inside, click me please!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published