Let's Build a Console Text-Mode Ray Tracer in C++

Let's Build a Console Text-Mode Ray Tracer in C++

5.043 Lượt nghe
Let's Build a Console Text-Mode Ray Tracer in C++
Check out *Math for Game Developers* 👉 https://www.youtube.com/playlist?list=PLCx70z_2M_-NUNmOlLn75rfaG8dzRIuKS Check out more *C++ Projects* 👉 https://www.youtube.com/playlist?list=PLCx70z_2M_-Mjx3N5A9H0qSZk_v0b9Qi2 ------------ In this video, we’ll implement a simple ray tracing in C++ that runs entirely in text mode using ASCII characters. We’ll cover the math behind ray-sphere intersection, implement it step by step, and render a 3D scene in the console - no graphics libraries required. #cpp #raytracing #math *Source Code* https://github.com/tucna/Programming-Basic-Concepts/blob/main/C%2B%2B/RayTracingASCII.cpp _For proper square characters in the console, run your IDE or compiled application as an administrator._ *Timestamps* 00:00 - Introduction 00:27 - Ray Tracing 01:22 - Source Code #1 02:47 - Math behind Ray-Sphere Intersection 04:03 - Source Code #2 05:44 - Conclusion *Follow Me* https://x.com/Dr_Vlasanek https://www.facebook.com/profile.php?id=61552905725146