|
|
|
|
|
by gh123man
1593 days ago
|
|
Ray casting is close to my heart as it's easy to understand and has a very high "effort to reward" ratio, especially to someone who is new to graphics programming. I built a game + engine around ray casting portals [1] (think the game Portal). It was a lot of fun trying to figure out how to bounce rays around a scene and intersect with different objects in the environment and immensely satisfying to have built the whole engine from the ground up. Though I'd probably not do it again. Your top-down ray debug view is very similar to one I came up with! Some of the interesting bits of the engine are open source: https://github.com/gh123man/Portal-Raycaster 1. https://blog.sb1.io/gateescape/ |
|
Sorry to be pedantic, but I think you mean the opposite? Big reward for modest effort?