UV mapping
≈ 3 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
. The flattened cube net may then be textured to texture the cube. UV mapping in 3D graphics is a process for texture mapping a 3D model by projecting the model's surface coordinates onto a 2D image. The letters "U" and "V" denote the axes of the 2D texture because "X", "Y", and "Z" are already used to denote the axes of the 3D object in model space, while "W" (in addition to XYZ) is used in calculating quaternion rotations, a common operation in computer graphics.
. The flattened cube net may then be textured to texture the cube.]] UV mapping in 3D graphics is a process for texture mapping a 3D model by projecting the model's surface coordinates onto a 2D image. The letters "U" and "V" denote the axes of the 2D texture because "X", "Y", and "Z" are already used to denote the axes of the 3D object in model space, while "W" (in addition to XYZ) is used in calculating quaternion rotations, a common operation in computer graphics.
Process
UV texturing permits polygons that make up a 3D object to be painted with color (and other surface attributes) from an ordinary image. The image is called a UV texture map. The UV mapping process involves assigning pixels in the image to surface mappings on the polygon, usually done by "programmatically" copying a triangular piece of the image map and pasting it onto a triangle on the object. UV texturing is an alternative to projection mapping (e.g., using any pair of the model's X, Y, Z coordinates or any transformation of the position); it only maps into a texture space rather than into the geometric space of the object. The rendering computation uses the UV texture coordinates to determine how to paint the three-dimensional surface.
Finding UV on a sphere
For any point P on the sphere, calculate \hat d , that being the unit vector from P to the sphere's origin. Assuming that the sphere's poles are aligned with the Y axis, UV coordinates in the range [0, 1] can then be calculated as follows: u = 0.5 + \frac{\operatorname{arctan2}(d_z, d_x)}{2\pi}, v = 0.5 + \frac{\arcsin(d_y)}\pi.
See also
Cartographic projection Geodesic Least squares conformal map Mesh parameterization NURBS Polygon mesh Radon transformation Lightmap Digital sculpting Barycentric coordinate system
References
External links
LSCM Mapping image with Blender Blender UV Mapping Tutorial with Blender Example of UV mapping). UV Checker Map Maker
Text derived from https://en.wikipedia.org/w/index.php?oldid=1332617681 under CC BY-SA 4.0; modifications have been made.