Uploaded February 2021 | Updated September 2026, 1 week ago
In this video I look at how the "traditional OLC" method of raycasting in various videos is in fact terrible, and look at the more intelligent DDA algorithm which can significantly (orders of magnitude) be more effective at determining ray length in tile or voxel based worlds.
Source: github.com/OneLoneCoder/Javidx9/blob/master/PixelGameEngine/SmallerProjects/OneLoneCoder_PGE_RayCastDDA.cpp
Demo: community.onelonecoder.com/members/javidx9/RayCastDDA
Also: lodev.org/cgtutor/raycasting.html
Patreon: patreon.com/javidx9
YouTube: youtube.com/javidx9
youtube.com/javidx9extra
Discord: discord.gg/WhwHUMV
Twitter: twitter.com/javidx9
Twitch: twitch.tv/javidx9
GitHub: github.com/onelonecoder
Homepage: onelonecoder.com
In this video I look at how the "traditional OLC" method of raycasting in various videos is in fact terrible, and look at the more intelligent DDA algorithm which can significantly (orders of magnitude) be more effective at determining ray length in tile or voxel based worlds.
Source: github.com/OneLoneCoder/Javidx9/blob/master/PixelGameEngine/SmallerProjects/OneLoneCoder_PGE_RayCastDDA.cpp
Demo: community.onelonecoder.com/members/javidx9/RayCastDDA
Also: lodev.org/cgtutor/raycasting.html
Patreon: patreon.com/javidx9
YouTube: youtube.com/javidx9
youtube.com/javidx9extra
Discord: discord.gg/WhwHUMV
Twitter: twitter.com/javidx9
Twitch: twitch.tv/javidx9
GitHub: github.com/onelonecoder
Homepage: onelonecoder.com


![[LIVE] Programming Fireworks! Celebrating Lots Of Subscribers!
This community has put me in a party mood! Lets celebrate!
Sorry about the slow start its my pre-stream test roll.
https://discord.gg/WhwHUMV
Blog: http://www.onelonecoder.com
Twitter: @javidx9
Twitch: javidx9 [LIVE] Programming Fireworks! Celebrating Lots Of Subscribers!](https://i.ytimg.com/vi/OmTD5IoqHJU/mqdefault.jpg)







