Skip to content
sarahmss edited this page Jul 3, 2022 · 7 revisions

You must create a “realistic” 3D graphical representation of the inside of a maze from a first-person perspective. You have to create this representation using the Ray-Casting principles mentioned earlier.

In mandatory part, to illustrate the process of ray-casting we will create a maze world where:

  1. Walls are always perpendicular to the floor
  2. floor is always flat
  3. Only vertical lines will be drowned To do so, we have to calculate the distance between the player and ever wall in his field of vision.

Clone this wiki locally