Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
I have gotten the AABB-ray and triangle-ray intersection code working. Here I've selected a red piece using the mouse. I can select the red and black pieces, or the sphere, or the background. If there's multiple intersections, I always take the position that's closest to the main_camera.eye
Instead of transforming the triangle vertices on the CPU, and using an OBB intersection test, I am transforming the eye ray and doing an AABB intersection test. No need to transform the vertices on the CPU. The code is now one or two orders of magnitude faster.