Sign in to follow this  

XYZ to UV an vice versa

This topic is 4914 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
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
Its alright, I solved it myself, thanks anyway.

Share this post


Link to post
Share on other sites

This topic is 4914 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this