Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42_fdf

Grade


🇫🇷 FRENCH VERSION

Ceci est un projet graphique de l'école 42 (réalisé en février 2024).

Préambule

Le but est de représenter en 3D un paysage à l’aide d’un modèle Fil de Fer (wireframe), en utilisant la bibliothèque MiniLibX. Ce projet a permis de découvrir les bases de la programmation graphique : comment représenter des points dans l’espace, les relier entre eux, et les observer selon différents points de vue.

Compétences:

  • Lecture et représentation de données en 3D
  • Projection isométrique d’un terrain
  • Utilisation de MiniLibX (gestion d’une fenêtre, rendu d’image, événements clavier/souris)
  • Manipulations de points dans l’espace (x, y, z)
  • Implémentation du zoom, rotation, translation (bonus)

Exemple d’entrée :

Installation & exécution

git clone https://github.com/N0fish/FDF.git
cd FDF
make
./fdf test_maps/42.fdf

Prereq

  • install minilibx
  • have x11 server

(Mac only)

brew install Xquartz
defaults write org.xquartz.X11 enable_test_extensions -boolean true

🇬🇧 ENGLISH VERSION

This is a graphic project at 42 School (completed in February 2024).

Preamble

The goal is to render a 3D landscape using a Fil de Fer (wireframe) model, with the help of the MiniLibX graphical library. Learned the fundamentals of graphics programming: how to place points in space, connect them with lines, and render the scene from a chosen viewpoint.

Skills:

  • Reading and rendering 3D data
  • Isometric projection rendering
  • Use of MiniLibX (window management, image rendering, keyboard/mouse events)
  • Manipulating 3D coordinates (x, y, z)
  • Implementation of zoom, rotation, and translation (bonus)

Installation & run

git clone https://github.com/N0fish/FDF.git
cd FDF
make
./fdf test_maps/42.fdf

Prereq

  • install minilibx
  • have x11 server

(Mac only)

brew install Xquartz
defaults write org.xquartz.X11 enable_test_extensions -boolean true

🇷🇺 RUSSIAN VERSION

Это графический проект в школе 42 (выполнен в феврале 2024 года).

Преамбула

Цель — визуализировать ландшафт в 3D в виде каркасной модели Fil de Fer (wireframe), используя библиотеку MiniLibX. В процессе изучая основы графического программирования: как отображать точки в пространстве, соединять их отрезками и наблюдать сцену под разными углами.

Навыки:

  • Чтение и отображение 3D-данных
  • Отрисовка изометрической проекции
  • Работа с MiniLibX (окна, изображения, события клавиатуры/мыши)
  • Работа с координатами в пространстве (x, y, z)
  • Реализация зума, поворота и перемещения (бонус)

Установка и запуск

git clone https://github.com/N0fish/FDF.git
cd FDF
make
./fdf test_maps/42.fdf

Prereq

  • install minilibx
  • have x11 server

(Mac only)

brew install Xquartz
defaults write org.xquartz.X11 enable_test_extensions -boolean true


FDF rendered output

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages