views:

51

answers:

2

I'm writing an application that calls for the conversion of image processing functions that take global x,y coordinates to ones that take u,v coordinates. How does the U,V coordinate system work?

A: 

U, V, and W are standard ways to express vectors in terms of direction/length, where X, Y, and Z represent a single point. If this is the intent of the library you're using, then it should translate directly from UVW to XYZ for the most part, just with a different spirit behind it.

drharris
+1  A: 

UV maps are flattened representations of 3d geometry, with coordinate points usually corresponding to the verticies of a 3d dimensional object.

UV

Bayard Randel
So how would you convert between the two?
Johnny
It depends on the geometry, but if you're just dealing with a 2d map, typically the bottom left corner is represented as UV [0,0], the top right as [1,1], upper left as [0,1] and bottom right as [1,0].
Bayard Randel