Tracking error: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
[[Image:UVMapping.png|thumb|The application of a texture in the UV space related to the effect in 3D.|400px]]
Alyson is what my husband enjoys to call me but I don't like when individuals use my complete title. To climb is some thing she would by no means give up. Her family members lives in Ohio but her husband wants them to move. Credit authorising is how he tends to make cash.<br><br>Here is my website ... [http://www.zavodpm.ru/blogs/glennmusserrvji/14565-great-hobby-advice-assist-allow-you-get-going tarot card readings]
[[Image:UV mapping checkered sphere.png|thumb|A checkered sphere, without (left) and with (right) UV mapping (3D checkered or 2D checkered).]]
[[Image:Cube Representative UV Unwrapping.png|thumb|A representation of the UV mapping of a [[cube]]. The flattened cube [[Net (polyhedron)|net]] may then be textured to texture the cube.]]
'''UV mapping''' is the [[3D modeling]] process of making a 2D image representation of a 3D model.
 
==UV mapping==
This process projects a [[texture mapping|texture map]] onto a 3D object. The letters "U" and "V" denote the axes of the 2D texture<ref group="note">when using [[quaternions]] (which is standard), "W" is also used; cf. [[UVW mapping]]{{Citation needed|date=August 2011}}</ref> because "X", "Y" and "Z" are already used to denote the axes of the 3D object in model space.
 
UV texturing permits polygons that make up a 3D object to be painted with color from an image. The image is called a UV texture map,<ref name=mullen>Mullen, T (2009). Mastering Blender. 1st ed. Indianapolis, Indiana: Wiley Publishing, Inc.</ref> but it's just an ordinary image. The UV mapping process involves assigning pixels in the image to surface mappings on the polygon, usually done by "programmatically" copying a triangle shaped piece of the image map and pasting it onto a triangle on the object.<ref name=murdock>Murdock, K.L. (2008). 3ds Max 2009 Bible. 1st ed. Indianapolis, Indiana: Wiley Publishing, Inc.</ref> UV is the alternative to XY, it only maps into a texture space rather than into the geometric space of the object. But the rendering computation uses the UV texture coordinates to determine how to paint the three dimensional surface.
 
In the example to the right, a sphere is given a checkered texture, first without and then with UV mapping. Without UV mapping, the checkers tile XYZ space and the texture is carved out of the sphere. With UV mapping, the checkers tile UV space and points on the sphere map to this space according to their [[latitude]] and [[longitude]].
 
When a model is created as a [[polygon mesh]] using a [[3D modeler]], UV coordinates can be generated for each [[vertex (geometry)|vertex]] in the mesh. One way is for the 3D modeler 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 modeler 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|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 applied per face,<ref name="murdock"/> not per vertex. This means a shared vertex can have different UV coordinates in 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.<ref name="mullen"/>
 
==Finding UV on a sphere==
 
For any point <math>P</math> on the sphere, calculate <math>\hat d</math>, that being the unit vector from <math>P</math> to the sphere's origin.<br/>
 
Assuming that the sphere's poles are aligned with the Y axis,  UV coordinates in the range <math>[0, 1]</math> can then be calculated as follows:<br/>
 
<math>u = 0.5 + \frac{\arctan2(d_z,  d_x)}{2\pi}</math><br/><br/>
<math>v = 0.5 - \frac{\arcsin(d_y)}{\pi}</math><br/>
 
==See also==
* [[Cartographic projection]]
* [[Least squares conformal map]]
* [[Mesh parameterization]]
* [[NURBS]]
* [[Polygon mesh]]
* [[Sculpted prim]]
* [[Texture mapping]]
* [[UVW mapping]]
 
==Notes==
{{Reflist|group=note}}
 
==References==
{{Reflist}}
 
==External links==
* [http://de.wikibooks.org/wiki/Bild:Blender3D_LSCM.png LSCM Mapping image] with [[Blender (software)|Blender]]
* [http://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro/UV_Map_Basics Blender UV Mapping Tutorial] with [[Blender (software)|Blender]]
* [http://blog.nobel-joergensen.com/2011/04/05/procedural-generated-mesh-in-unity-part-2-with-uv-mapping/ Rare practical example of UV mapping] from a blog (not related to a specific product such as Maya or Blender).
 
[[Category:Texture mapping]]

Latest revision as of 15:53, 25 August 2014

Alyson is what my husband enjoys to call me but I don't like when individuals use my complete title. To climb is some thing she would by no means give up. Her family members lives in Ohio but her husband wants them to move. Credit authorising is how he tends to make cash.

Here is my website ... tarot card readings