Jump to content
  • Advertisement
Sign in to follow this  
Radan

XYZ to UV an vice versa

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

Given the information about the 3 vertices of a triangle: their XYZ coordiantes and their UV texture coordinates what would be the easiest way to caclute following: 1. XYZ coordiantes of a point inside a triangle Given its UV coordinates 2. UV coordinates of a point inside a triangle given its XYZ coordiantes(these XYZ coordinates definitely lie within the triangle) Any thoughts. I'm sure its an old and solved problem but I can't seem to find any explicit texts on the topic. Thanks for any replies

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by A Guy from CRO
Any thoughts. I'm sure its an old and solved problem but I can't seem to find any explicit texts on the topic.


I'm pretty sure it's in Graphics Gems, I couldn't tell you which volume, though.

Share this post


Link to post
Share on other sites
Try searching the forum archives. I'm sure this has been covered here before. I would use the following search terms:

"triangle uv"
"barycentric coordinates"

The latter search phrase should give you many more links via google.

Share this post


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

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!