rodrigo-br / fdf_42

Wireframe 3D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fdf 42 Project

What is it?

This project is about representing a landscape as a 3D object in which all surfaces are outlined in lines. It's my first graphical project in C and i had to use the school graphical library: the MiniLibX. This library was developed internally and includes basic necessary tools to open a window, create images and deal with keyboard and mouse events.


A few rules

As most of 42's Projects, this one also have a few rules (such as the prohibition of the use of for, VLA, global variables and others).


Requirements for Linux

(from https://github.com/42Paris/minilibx-linux)

  • MinilibX only support TrueColor visual type (8,15,16,24 or 32 bits depth)
  • gcc
  • make
  • X11 include files (package xorg)
  • XShm extension must be present (package libxext-dev)
  • Utility functions from BSD systems - development files (package libbsd-dev)

How to use it

sudo apt-get install gcc make xorg libxext-dev libbsd-dev

git clone git@github.com:rodrigo-br/fdf_42.git

cd fdf_42/

make

ls maps/

(choose a map)

./fdf maps/(map).fdf





About

Wireframe 3D

License:MIT License


Languages

Language:C 98.0%Language:Makefile 2.0%