Aug 19, 2010 at 3:51 PM
Edited Aug 19, 2010 at 4:45 PM
Thanks for making concerted effort of constantly expanding and improving the quality of the samples, it really help newbie like myself to learn Silverlight 3D through Balder.
I have been scanning through the sample for ideas how to determine the texture coordinate of the hit point in triangle and I was joy when I found the FacePicket sample.
private void Box_MouseMove(object sender, Input.MouseEventArgs args)
var pickRay = Game.Viewport.GetPickRay((int)args.Position.X, (int)args.Position.Y);
var distance = Box.Intersects(pickRay, out face, out faceIndex, out
faceU, out faceV);
if( null != distance )
Visualizer.FaceIndex = faceIndex;
Is there a possibility to determine the "Point in Triangle" from the method above.
What exactly is faceU and faceV. Is it related to texture U and V coordinate of the ray hit point in the triangle.?
if not, a sicnere request for an improved tutorial or sample illustrating how to do that.