Super Fast Ray Casting in Tiled Worlds using DDA @javidx9
Super Fast Ray Casting in Tiled Worlds using DDA  @javidx9
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
Super Fast Ray Casting in Tiled Worlds using DDAEmbedding Lua in C++ Part 3: Meh... Just use Sol...Code-It-Yourself! Sound Synthesizer #2 - Oscillators & Envelopes[LIVE] Programming Fireworks! Celebrating Lots Of Subscribers!Huge 2^64 Conways Game Of Life Sim, using Sparse Encodingolc::PixelGameEngine 3.0 Tech PreviewBrute Force ProcessingThe Game Prince (?!)OLC Video Blog #1 -  Nintendo NostalgiaOLC 2020Code-It-Yourself! Frogger - Programming from Scratch (Quick and Simple C++)Introducing 2D Geometry Library
javidx9 |

Super Fast Ray Casting in Tiled Worlds using DDA

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER