← Back to results

UV mapping - Wikipedia Jump to content Main menu Main me

nu move to sidebar hide Navigation Main page Contents Current events Random article About Wikipedia Contact us Contribute Help Learn to edit Community portal Recent changes Upload file Special pages Search Search Appearance Donate Create account Log in Personal tools Donate Create account Log in Contents move to sidebar hide (Top) 1 Process 2 Application techniques Toggle Application techniques subsection 2.1 UV unwrapping 3 Finding UV on a sphere 4 See also 5 References 6 External links Toggle the table of contents UV mapping 19 languages العربية Català Deutsch Español Français Italiano 한국어 Lietuvių Latviešu Nederlands Polski Português Română Русский ไทย Türkçe Українська 粵語 中文 Edit links Article Talk English Read Edit View history Tools Tools move to sidebar hide Actions Read Edit View history General What links here Related changes Upload file Permanent link Page information Cite this page Get shortened URL Print/export Download as PDF Printable version In other projects Wikimedia Commons Wikidata item Appearance move to sidebar hide From Wikipedia, the free encyclopedia 3D model's surface projected to a 2D image The application of a texture in the UV space related to the effect in 3D. A representation of the UV mapping of a cube . 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 [ edit ] 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. [ 1 ] 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. [ 2 ] 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. Application techniques [ edit ] A checkered texture map on a sphere using 3D XYZ space (left) and using 2D UV space after being UV mapped (right) In the example image, a sphere is given a checkered texture in two ways. On the left, without UV mapping, the sphere is carved out of three-dimensional checkers tiling Euclidean space. With UV mapping, the checkers tile the two-dimensional UV space, and points on the sphere map to this space according to their latitude and longitude . UV checker map with grid, labeled from A to H, and 0 to 7 UV unwrapping [ edit ] When a model is created as a polygon mesh using a 3D modeller , UV coordinates (also known as texture coordinates ) can be generated for each vertex in the mesh. One way is for the 3D modeller to unfold the triangle mesh at the seams, automatically laying out the triangles on a flat page. If the mesh is a UV sphere, for example, the modeller might transform it into an equirectangular projection . Once the model is unwrapped, the artist can paint a texture on each triangle individually, using the unwrapped mesh as a template. When the scene is rendered, each triangle will map to the appropriate texture from the " decal sheet ". A UV map can either be generated automatically by the software application, made manually by the artist, or some combination of both. Often a UV map will be generated, and then the artist will adjust and optimize it to minimize seams and overlaps. If the model is symmetric, the artist might overlap opposite triangles to allow painting both sides simultaneously. UV coordinates are optionally applied per face. [ 2 ] This means a shared spatial vertex position can have different UV coordinates for each of its triangles, so adjacent triangles can be cut apart and positioned on different areas of the texture map. The UV mapping process at its simplest requires three steps: unwrapping the mesh, creating the texture, and applying the texture to a respective face of polygon. [ 1 ] UV mapping may use repeating textures , or an injective 'unique' mapping as a prerequisite for baking . Finding UV on a sphere [ edit ] For any point P {\displaystyle P} on the sphere, calculate d ^ {\displaystyle {\hat {d}}} , that being the unit vector from P {\displaystyle 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 ] {\displaystyle [0,1]} can then be calculated as follows: u = 0.5 + arctan2 ⁡ ( d z , d x ) 2 π , {\displaystyle u=0.5+{\frac {\operatorname {arctan2} (d_{z},d_{x})}{2\pi }},} v = 0.5 + arcsin ⁡ ( d y ) π . {\displaystyle v=0.5+{\frac {\arcsin(d_{y})}{\pi }}.} See also [ edit ] Cartographic projection Geodesic Least squares conformal map Mesh parameterization NURBS Polygon mesh Radon transformation Lightmap Digital sculpting Barycentric coordinate system References [ edit ] ^ a b Mullen, T (2009). Mastering Blender. 1st ed. Indianapolis, Indiana: Wiley Publishing, Inc. ISBN   9780470496848 ^ a b Murdock, K.L. (2008). 3ds Max 2009 Bible. 1st ed. Indianapolis, Indiana: Wiley Publishing, Inc. ISBN   9780470417584 External links [ edit ] Wikimedia Commons has media related to UV mapping . LSCM Mapping image with Blender Blender UV Mapping Tutorial with Blender Example of UV mapping ). UV Checker Map Maker v t e Texture mapping techniques Local Displacement mapping Normal mapping Parallax mapping UV mapping UVW mapping Relief mapping Alpha mapping Bump mapping Occlusion mapping Specular mapping Environment Cube mapping Sphere mapping Environment mapping Retrieved from " https://en.wikipedia.org/w/index.php?title=UV_mapping&oldid=1332617681 " Category : Texture mapping Hidden categories: Articles with short description Short description is different from Wikidata Commons category link from Wikidata This page was last edited on 12 January 2026, at 21:37  (UTC) . Text is available under the Creative Commons Attribution-ShareAlike 4.0 License ; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy . Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. , a non-profit organization. Privacy policy About Wikipedia Disclaimers Contact Wikipedia Legal & safety contacts Code of Conduct Developers Statistics Cookie statement Mobile view Search Search Toggle the table of contents UV mapping 19 languages Add topic