Would it be better to set the camera direction to the ray direction and position then do the typical matrix operations on geometry and then check to see if the 2D geometry covers the center of the screen than the typical intersection tests for the GPU? I guess you could do a whole triangle at a time too, just gotta check however many pixels the triangle covers from around the center of the screen.
↧