Y

YouLibs

Remove Touch Overlay

Super Fast Ray Casting in Tiled Worlds using DDA

Duration: 30:03Views: 89KLikes: 3.8KDate Created: Feb, 2021

Channel: javidx9

Category: Science & Technology

Tags: pixelgameenginegame enginec++gamelearningolc::pixelgameengineolcconsolegameengineonelonecodercommand promptbeginnertutorialone lone coderasciiprogramming

Description: 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/olcPixelGameEngine/blob/master/Videos/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

Swipe Gestures On Overlay