Skip to content

🕹️ A simple 3D raycasting engine built with C, inspired by Wolfenstein 3D. Part of the 42 School curriculum

License

Notifications You must be signed in to change notification settings

gxsilva/42SP_Cub3d

Repository files navigation

42SP_Cub3d

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.

Features

  • Raycasting engine for 3D rendering
  • Player movement and rotation
  • Basic wall textures and map parsing

Getting Started

  1. Clone the repository:
    git clone https://github.com/gxsilva/42SP_Cub3d.git
  2. Initialize submodules:
    git submodule update --init --recursive
  3. Build the project:
    make
  4. Run the program with a map file:
    ./cub3d maps/example.cub

Requirements

  • Linux environment
  • gcc compiler
  • cmake compiler
  • make
  • MiniLibX graphics library

License

This project is for educational purposes at 42SP.

About

🕹️ A simple 3D raycasting engine built with C, inspired by Wolfenstein 3D. Part of the 42 School curriculum

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •