Coding Challenge #146: Rendering Raycasting
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