Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

2d to 3d points

This topic is 5128 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

Here''s the problem. I first had my 3d points and I needed to find the intersection polygon between a square polygon and a triangle polygon. So the easiest way to do that is using 2d points instead of 3d, since the triangle and square were on the same plane. So I used the tangent vector and binormal and did this: out.x = Dot(tangent, point); out.y = Dot(binormal, point); that worked well. But now that I have my new 2d points how could I convert them back to 3d if I have the tangent, binormal and normal information? Thanks.

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!