SketchpunkLabs | WebGL 2.0 : 044 : Ray to Triangle Intersection @SketchpunkLabs | Uploaded 6 years ago | Updated 1 day ago
We continue learning ray intersections by determining if the intersection point is within the range of a triangle that exists in our scene. We explore two different algorithm to achieve this goal, Edge Checking and Barycentric Coordinates. We step through the algorithms and visualize certain bits to try to understand how they work.
======================================================
GitHub :: https://github.com/sketchpunk/FunWithWebGL2
Patreon :: https://www.patreon.com/sketchpunk
Tumblr :: http://sketchpunklabs.tumblr.com/
We continue learning ray intersections by determining if the intersection point is within the range of a triangle that exists in our scene. We explore two different algorithm to achieve this goal, Edge Checking and Barycentric Coordinates. We step through the algorithms and visualize certain bits to try to understand how they work.
======================================================
GitHub :: https://github.com/sketchpunk/FunWithWebGL2
Patreon :: https://www.patreon.com/sketchpunk
Tumblr :: http://sketchpunklabs.tumblr.com/