Advertisement Jump to content
Sign in to follow this  

getting exact mouse pick coords

This topic is 4203 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm trying to to make a little cad/mesh editor program. I have plane set on the XY axises, i'm trying to draw on the plane. I'm trying resolve barycentric coordinates. I'm use mdx9, i think that im just making this to hard. the code IntersectInformation ii = new IntersectInformation(); if ( Mesh.Intersect( near, far, out ii) == false) return; now i know the vertixes of the triangle and the ii.U & ii.V are in barycentric coordinate system. now how do convert ii.U and ii.V back to 3d coords. And what Vertex is the origin vertex in relation to ii.v & ii.v, is it allways first one? thankful for any help. referenced links [Edited by - dan01 on July 15, 2007 12:13:48 AM]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!