Exploring raycasters and possibly make a little "doom like" game based on it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Zed A. Shaw 96b44a4eb2 Fenscaster is now using the first version of Lode's DDA raycasting algorithm but the coordinates/angles in the left map view don't matchthe right view, and the right view distorts the distance to far wall so they're viewed at 'infinity'. 16 hours ago
fenster Removed some of the constants to make it easier to change later. 2 days ago
scratchpad Basic fenster rewrite of the original sfml version, but need to bring back the keyboard controls. 2 days ago
scripts First build that actually works. SDL_main errors before but didn't figure out the cause. 1 week ago
tests First build that actually works. SDL_main errors before but didn't figure out the cause. 1 week ago
wraps First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 6 days ago
.gitignore First build that actually works. SDL_main errors before but didn't figure out the cause. 1 week ago
.vimrc_proj First build that actually works. SDL_main errors before but didn't figure out the cause. 1 week ago
Makefile First build that actually works. SDL_main errors before but didn't figure out the cause. 1 week ago
README.md Add a README to start. Not much in it. 5 days ago
charset.png First build that actually works. SDL_main errors before but didn't figure out the cause. 1 week ago
dbc.cpp First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 6 days ago
dbc.hpp First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 6 days ago
fenscaster.cpp Fenscaster is now using the first version of Lode's DDA raycasting algorithm but the coordinates/angles in the left map view don't matchthe right view, and the right view distorts the distance to far wall so they're viewed at 'infinity'. 16 hours ago
matrix.cpp First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 6 days ago
matrix.hpp Fenscaster is now using the first version of Lode's DDA raycasting algorithm but the coordinates/angles in the left map view don't matchthe right view, and the right view distorts the distance to far wall so they're viewed at 'infinity'. 16 hours ago
meson.build Initial setup for the fenster based raycaster. 2 days ago
miniaudio.cpp Initial setup for the fenster based raycaster. 2 days ago
miniaudio.h Initial setup for the fenster based raycaster. 2 days ago
point.hpp First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 6 days ago
pycaster.py First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 6 days ago
raycaster.cpp Did a version of the raycaster that uses a pixel buffer sent to a texture that goes to a sprite that goes on a frog that's on a log on the bottom of the ocean under a tortoise that's carrying a sack that has the... 3 days ago
raycaster_pixels.cpp Did a version of the raycaster that uses a pixel buffer sent to a texture that goes to a sprite that goes on a frog that's on a log on the bottom of the ocean under a tortoise that's carrying a sack that has the... 3 days ago

README.md

Simple Raycaster Study

This is a study project for me to learn the raycasting technique. It's an older technique that's not really used much but I'm learning game dev historically and it's definitely been used in the past (Doom).

I've been told to look into the following as well:

https://en.wikipedia.org/wiki/Gilbert%E2%80%93Johnson%E2%80%93Keerthi_distance_algorithm