/adventure3d

Simple raycaster using SFML

Primary LanguageC++GNU General Public License v3.0GPL-3.0

adventure3d

Simple raycaster using SFML

Screenshot

Just 1 file (scr/main.cpp) with a novel approach to raycasting, sending line data to the GPU, using SFML.

I based this on the raycasting tutorial at lodev I was inspired after seeing awk-raycaster on the Github popular projects list. I thought if someone can make a raycaster in less than 700 lines of AWK code, I could do it with C++ and SFML.

Released under GNU GPLv3, see also LICENSE. Though some code is taken from the raycasting tutorial and copyright by Lode Vandevenne. Its license is in LICENSE.tutorial. I've improved and SFML-ified many parts, but the basic calculations often use the same code.

The project uses the Open Sans font, which is under the [Apache license](data/font/Apache License.txt).

Textures from the SuperTuxKart project, downloaded from OpenGameArt and released under CC-BY-SA 3.0