README update

This commit is contained in:
2026-02-07 10:59:11 +01:00
parent 6cdb1c2d31
commit a48dec2d0d

View File

@@ -8,17 +8,15 @@
**cub3D** is a graphical programming project inspired by the classic game *Wolfenstein 3D*, **cub3D** is a graphical programming project inspired by the classic game *Wolfenstein 3D*,
one of the first First-Person Shooters ever created. one of the first First-Person Shooters ever created.
The goal of this project is to build a **real-time 3D representation of a maze** from a **2D map**, The objective of this project is to create a **real-time 3D representation of a maze** from a **2D map**,
using the **ray-casting technique**, written in **C** and rendered with **MLX42**. using the **ray-casting technique**, written in **C** and rendered with **MLX42**.
Each vertical stripe of the screen is rendered by casting a ray from the players The rendering is done column by column by casting rays from the player's point of view, detecting wall intersections, calculating distances, and projecting textured walls with proper persepective correction.
point of view, detecting wall intersections, computing distances, and projecting
textured walls with correct perspective.
Floor and ceiling colors are also rendered to complete the scene. Floor and ceiling colors are also rendered to complete the scene.
This project focuses on: This project focuses on:
- Low-level graphics programming - Low-level graphics programming
- Mathematical projection - Mathematical projection and geometry
- Parsing and validation - Parsing and validation
- Real-time rendering performance - Real-time rendering performance
@@ -105,6 +103,28 @@ Example:
## Resources ## Resources
The following resources were used during the development of this project
to understand ray-casting, cub3D structure, and common mistakes:
- **42 cub3D Approach (ES)**
https://42-fran-byte-f94097.gitlab.io/docs/cub3d/cub3d-approach-es/#/
Overview of the cub3D project.
- **Harm Smits cub3D Docs**
https://harm-smits.github.io/42docs/projects/cub3d
One of the most complete references for cub3D, including math, ray-casting concepts,
and implementation strategies.
- **Ray Casting in C (Medium)**
https://ismailassil.medium.com/ray-casting-c-8bfae2c2fc13
Clear explanation of ray-casting fundamentals with C-oriented examples.
- **Raycasting Tutorial (YouTube)**
https://www.youtube.com/watch?v=G9i78WoBBIU
Visual explanation of the ray-casting technique, useful for understanding
perspective projection and wall rendering.
### AI Usage ### AI Usage
AI tools were used only as assistance, specifically for: AI tools were used only as assistance, specifically for: