Skip to content
Timmos edited this page Oct 11, 2016 · 10 revisions

Syzygy

This is a project in development.

Here we have a working showcase of the situation where we cast a single ray in the current view/walk direction. We show the intersections with the grid that are visited to check if a wall was hit. The wall that eventually gets hit is marked with a dot in the middle of the square. The player position is marked by the green dot.

Raycasting in action - topdown view

Improved UI.

Raycasting in action - improved UI

Now with casting all N rays (in user space, so unrelated to horizontal resolution) in a defined FOV. Here the FOV is 90 degrees and the number of casted rays is 64. The left and right boundary of this FOV are shown by 2 white dots.

Raycasting in action - casting all rays in FOVRaycasting in action - casting all rays in FOV

Clone this wiki locally