Barycentric coordinates?
ID3DXIntersect returns the point on a triangle that was hit by a ray if there was a collision. Unfortunately it returns this point as a barycentric coordinate (U,V), and this is of ABSOLUTELY NO USE to me.
How would I go about turning this barycentric coordinate into a vector (X, Y, Z) I can use to represent the hit point?
Minister of Propaganda : leighstringer.com : Nobody likes the man who brings bad news - Sophocles (496 BC - 406 BC), Antigone
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement