Open kae1506 opened 4 years ago
A 3D version would be nice. He's done a 2D Raycasting and it was really cool. (Not sure if ray casting and ray tracing are the same thing, though. Sorry if they're different things)
They are different things, very different, though i can see the confusion. I loved the ray casting videos as well. You can read the articles for more info. Enjoy!
My bad, then! Hope he does it!
You should attempt to make a simple ray tracer in p5.js or processing! It would be epic.
Wikipedia: https://en.wikipedia.org/wiki/Ray_tracing_(graphics)#:~:text=In%203D%20computer%20graphics%2C%20ray,its%20encounters%20with%20virtual%20objects.
Article: https://www.scratchapixel.com/lessons/3d-basic-rendering/introduction-to-ray-tracing/implementing-the-raytracing-algorithm