scndcorp
Available
Work
École 42 ParisStudent, École 42 project

Cub3D: pseudo-3D rendering engine using raycasting

École 42 project, a pseudo-3D rendering engine in C in the style of Wolfenstein 3D: raycasting from a 2D map, wall textures, first-person movement, using the MiniLibX library.

École 42 Paris

Challenge

Understand the fundamentals of real-time 3D rendering by implementing a raycasting engine, in the style of early FPS games, from a 2D map and the MiniLibX graphics library.

Impact

  • Functional pseudo-3D rendering engine using raycasting
  • Wall textures and first-person view
  • Parsing and validation of the scene file

What was done

A raycasting engine: projection of the 2D map into a first-person view, computation of ray/wall intersections, application of textures based on orientation, player movement and rotation, and parsing of the scene file.

Stack

The technologies used on this mission.

  • C
  • MiniLibX
  • Raycasting
  • Textures

A similar project in mind?

Let's talk through your challenges and see how to turn your vision into maintainable, tested technical reality.