사용자:어우쌤과따따단/UV매핑

위키백과, 우리 모두의 백과사전.
UV매핑이 안 된 격자 무늬 모양의 구와 UV매핑이 된 구.
A representation of the UV mapping of a cube. The flattened cube net may then be textured to texture the cube.

UV 매핑은 2차원 이미지를 3차원 모델로 표현하는 3차원 모델링의 한 과정이다. UV맵은 3차원 물체의 이미지(흔히 텍스쳐라고 한다.)로 변환된다. 원래 3차원 물체에게는 X,Y,Z의 좌표계가 있는 반면에, 변환된 물체에게는 U,V의 좌표가 있다. 이것은 3차원 물체의 표면에 이미지를 칠하는 효과를 만든다.

예를 들어 오른쪽 그림에 격자 무늬의 구가 있다. 첫번째 왼쪽의 것은 UV매핑이 안된것이고, 두번째 것은 UV매핑이 된것이다. UV매핑이 안 된 구에서는 격자무늬가 XYZ공간에 놓여지고, 격자가 쪼개진것 처럼 보인다. 하지만 UV매핑이 된 구는, 격자무늬가 UV공간에 놓여지고, 구의 점들은 위도경도에 따라 UV공간으로 변환된다.

When a model is created as a polygon mesh using a 3D modeler, UV coordinates can be generated for each 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 a 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.

It is important to note that UV coordinates are applied per face, 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.

Finding UV on a sphere[편집]

UV coordinates represent the projection of the unit spacevector onto the xy-plane.


See also[편집]

External links[편집]