Cub3d is a project from 42SP that introduces students to basic 3D graphics programming using raycasting, similar to early first-person shooter games like Wolfenstein 3D. The goal is to render a simple 3D environment from a 2D map.
- Raycasting engine for 3D rendering
- Player movement and rotation
- Basic wall textures and map parsing
- Clone the repository:
git clone https://github.com/gxsilva/42SP_Cub3d.git
- Initialize submodules:
git submodule update --init --recursive
- Build the project:
make
- Run the program with a map file:
./cub3d maps/example.cub
- Linux environment
gcc
compilercmake
compilermake
- MiniLibX graphics library
This project is for educational purposes at 42SP.