https://github.com/depp/raycast
Simple software raycaster in C
https://github.com/depp/raycast
Last synced: about 1 month ago
JSON representation
Simple software raycaster in C
- Host: GitHub
- URL: https://github.com/depp/raycast
- Owner: depp
- License: mit
- Created: 2020-10-06T03:53:45.000Z (over 5 years ago)
- Default Branch: trunk
- Last Pushed: 2020-10-06T03:54:11.000Z (over 5 years ago)
- Last Synced: 2025-03-22T12:18:46.034Z (about 1 year ago)
- Language: C
- Size: 194 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Raycast
In October 2011, I felt like making a raycaster. This is it. Features:
- Software renderer
- Smooth lighting
- Load textures from JPEG
- Uses fixed-point math, no floats

## Building & Running
Only ever tested this on Linux. You need autotools, LibJPEG, LibSDL (version 1!), and PangoCairo. Once you have all that,
$ autoreconf -i
$ ./configure
$ make
$ ./src/run.sh
Use the arrow keys to move. You can also use a gamepad, but don’t expect many gamepads to be compatible. Tested with Logitech Rumblepad 2.
## License
This code is licensed under the MIT license. See LICENSE.txt for details.
The textures are available under the CC0 license. See data/LICENSE.txt for details.