Coding Challenge #146: Rendering Raycasting

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=vYgIKn7iDH8



Duration: 28:52
235,177 views
6,222


Building off of the previous coding challenge (2D Ray Casting) I attempt to make my own version the original Wolfenstein 3D Raycasting engine and visualize the "field of view" of the moving particle. Code: https://thecodingtrain.com/challenges/146-rendering-ray-casting

πŸ•ΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/yEzlR0_zq

πŸŽ₯ Previous video: https://youtu.be/TOEi6T2mtHo?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Next video: https://youtu.be/l0HoJHc-63Q?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

Community Suggested References:
πŸ’Ύ Code-It-Yourself! First Person Shooter (Quick and Simple C++): https://youtu.be/xW8skO7MFYw

References:
🌞 Gustavo Pezzi's Raycast 3D: http://www.gustavopezzi.com/projects/raycast3d/
🌞 Lode's Raycasting Tutorial: https://lodev.org/cgtutor/raycasting.html

Live Stream Archive:
πŸ”΄ Coding Train Live 177: https://youtu.be/-6iIc6-Y-kk?t=10910s

Related Coding Challenges:
πŸš‚ #145 Ray Casting 2D: https://youtu.be/TOEi6T2mtHo
πŸš‚ #168 The Mandelbulb: https://youtu.be/NJCiUVGiNyA

Timestamps:
0:00:00 Introduction
0:02:21 Coding Starts
0:03:15 Creating The Rendering Scene
0:09:22 Adjusting The Perspective
0:11:02 Adding Rotation
0:15:06 Fixing The View and Brightness
0:20:55 Changing The Field of View Dynamically
0:22:44 Small Fixes and Maintenance
0:27:50 Suggestions For Improvements

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

πŸš‚ Website: http://thecodingtrain.com/
πŸ‘Ύ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
πŸ’‘ GitHub: https://github.com/CodingTrain
πŸ’¬ Discord: https://thecodingtrain.com/discord
πŸ’– Membership: http://youtube.com/thecodingtrain/join
πŸ›’ Store: https://standard.tv/codingtrain
πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain
πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/

πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: https://p5js.org
πŸ”— p5.js Web Editor: https://editor.p5js.org/
πŸ”— Processing: https://processing.org

πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new

#raycasting #gamedevelopment #2draycasting #raymarching #wolfenstein3draycasting #p5js







Tags:
daniel shiffman
coding
the coding train
coding challenge
code challenge
programming challenge
ray casting
game development
2d ray casting
ray marching
ray casting javascript
p5.js
ray casting p5.js
raycasting explained
ray casting algorithm
ray casting tutorial
2d ray casting tutorial
p5.js tutorial
ray casting 3d
wolfenstein 3d ray casting
raycasting rendering
raycasting 3d