Recursive Shadowcasting 3d Demo
Behold my algorithmic prowess!!
This is a 3d implementation of an algorithm called recursive shadowcasting, alongside a visualizer so you can hopefully see what the heck is going on.
To my knowledge, the only other people who have implemented this algorithm in 3d are the devs of Cataclysm: Dark Days Ahead. This project aims to outdo their implementation in efficiency, robustness, and understandability. I'm also developing a 3d traditional roguelike, so the algorithm will come in handy.
Read about the 2d version of the algorithm on RogueBasin ( goated site for roguelike enjoyers btw ):
https://www.roguebasin.com/index.php/FOV_using_recursive_shadowcasting
Also, this project is open source. Here's the repository:
https://github.com/EliotTexK/RecursiveShadowcasting3d
Enjoy the ( field of ) view
Controls:
Use the mouse to control the camera
WASD + Q + E to move around
To do next:
1. Robust testing to iron out remaining edge cases
2. Make the visualization less cluttered
3. Instructions for building in the GitHub Repo
4. Optimization: below 1 millisecond for all test cases
Reach out to me:
If you think I'm competent enough to be worth collaborating with. I'm working on a 3d roguelike, which is why I implemented this algorithm.
Updated | 4 days ago |
Published | 5 days ago |
Status | Prototype |
Platforms | HTML5 |
Author | EliotTexK |
Genre | Educational |
Made with | Godot |
Leave a comment
Log in with itch.io to leave a comment.