# UV映射

**UV映射**是将称为UV的二维纹理坐标分配给三维[多边形网格](https://www.edgepedia.org/zh/polygon-mesh)顶点的过程，以便将图像纹理包裹到模型表面。每个顶点在二维纹理空间中获得一对坐标，按惯例标记为U和V，以区别于几何空间的X、Y和Z，渲染器在表面上每个点的插值坐标处对纹理进行采样。<sup>[1](https://www.doc.ic.ac.uk/~bkainz/graphics/notes/GraphicsNotes08.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 坐标 | 三维物体的每个顶点除了XYZ位置外，还携带UVW空间中的纹理坐标；整个模型通常使用单张纹理，这适合硬件加速图形。<sup>[1](https://www.doc.ic.ac.uk/~bkainz/graphics/notes/GraphicsNotes08.pdf)</sup> |
| 标准投影方法 | Maya等工具提供平面、柱面、球面、基于摄像机、最佳平面、用户定义和自动映射。<sup>[2](https://help.autodesk.com/cloudhelp/2022/ENU/Maya-Modeling/files/GUID-CA8808FD-9645-4537-9D2E-7BD680BC0F6E.htm)</sup> |
| 展开算法 | Blender的展开操作器提供基于角度的展平（ABF），能给出良好的二维表示，以及最小二乘共形映射（LSCM），后者通常精度较低，但在较简单的物体上表现更好。<sup>[3](https://docs.blender.org/manual/en/5.0/modeling/meshes/editing/uv.html)</sup> |
| 接缝 | 展开沿标记的接缝切割网格，就像剥橙子一样；接缝越多意味着拉伸越少，但纹理制作越困难，因此接缝应尽可能少，并隐藏在不会被看到的地方。<sup>[4](https://archive.blender.org/wiki/2015/index.php/Doc%3A2.6/Manual/Textures/Mapping/UV/Unwrapping/)</sup> |
| 平铺纹理空间 | UDIM（“U DIMension”）将纹理空间划分为多个瓦片，每个瓦片由磁盘上单独的纹理文件表示，从而取消了此前UV坐标0到1的限制。<sup>[5](https://www.sidefx.com/docs/houdini/solaris/udim.html)</sup><sup> • </sup><sup>[6](https://help.maxon.net/c4d/2025/en-us/Content/html/Udim.html)</sup> |
| 光照贴图UV | 烘焙光照需要第二套UV布局，其中每个面都有唯一的、不重叠的空间，图表之间有填充；通常至少需要四个纹素以避免渗色，因为DXT纹理压缩以4x4纹素块为单位操作。<sup>[7](https://dev.epicgames.com/documentation/en-us/unreal-engine/understanding-lightmapping-in-unreal-engine)</sup> |
| 纹素密度 | 可以计算所选UV多边形的平均纹素密度，并将其转移到其他多边形，使纹理质量在UV岛之间保持一致。<sup>[8](https://help.maxon.net/c4d/en-us/Content/html/UV_Get_Texel_Density.html)</sup> |

## UV坐标是如何创建的

每种UV映射技术都根据其固有的投影方法，将纹理坐标投影到表面网格上来生成纹理坐标。Maya在其创建工具中列出了自动、平面、柱面、球面、用户定义、最佳平面和摄像机映射，并指出初始结果很少是最终布局，因此通常需要在UV编辑器中进行进一步编辑；它还建议仅在模型完成后才映射UV。<sup>[2](https://help.autodesk.com/cloudhelp/2022/ENU/Maya-Modeling/files/GUID-CA8808FD-9645-4537-9D2E-7BD680BC0F6E.htm)</sup>

**投影类型。** 平面投影从单一平面将贴图平直地投射到物体上，就像投影幻灯片一样，适用于只需要映射一侧或映射对称物体两侧的情况。柱面投影将贴图包裹在物体周围，适用于大致呈圆柱形的形状，除非使用无缝贴图，否则会有可见的接缝。球面投影包围物体，并在顶部和底部显示接缝和映射奇点，即位图边缘在球体两极处相接的位置。<sup>[9](https://download.autodesk.com/us/3dsmax/2012help/files/GUID-78327298-4741-470C-848D-4C3618B18FC-524.htm)</sup> 基于摄像机的映射与平面投影相同，但使用当前摄像机作为平面。<sup>[10](https://help.autodesk.com/cloudhelp/2022/ENU/Maya-Modeling/files/GUID-73BF7546-3BF2-44F3-9192-15A024CEC173.htm)</sup>

**自动映射。** 自动映射通过从多个平面同时投影来创建UV，以找到最佳放置位置，适用于平面、柱面或球面投影无法生成有用UV的复杂形状，尤其是向外突出或中空的组件。它会生成多个UV贴图片段，即壳，这对于自动处理UV的工具来说是可以接受的，例如标准毛发和投影模式下的3D绘画，但如果要手动处理UV，则必须使用移动并缝合功能将壳重新缝合在一起。<sup>[11](https://help.autodesk.com/cloudhelp/2022/ENU/Maya-Modeling/files/GUID-CD17C2C5-A442-4960-91DB-A2E5099EBF61.htm)</sup>

## 展开与接缝

对于有机形状，通常的方法是沿接缝切割网格，将其展平，然后将各片段铺在UV贴图上，就像切割和剥橙子皮一样。Blender的展开操作器沿接缝切割选定的面，将其展平，并覆盖任何现有的UV坐标。<sup>[3](https://docs.blender.org/manual/en/5.0/modeling/meshes/editing/uv.html)</sup> 这种权衡贯穿整个工作流程：接缝越多，拉伸越少，但大量接缝会使纹理制作复杂化，因此目标是尽可能少的接缝和最小的拉伸，并将接缝放置在不会被看到的地方。<sup>[4](https://archive.blender.org/wiki/2015/index.php/Doc%3A2.6/Manual/Textures/Mapping/UV/Unwrapping/)</sup> 简单的投影方法一旦形状偏离理想形态就会产生畸变，因此立方体、圆柱和球面投影适用于真正具有这些形状的物体。<sup>[12](https://www.blendertutoring.com/blog/uv-unwrapping-blender-beginners)</sup>

Blender还提供快速立方体、圆柱、球面和摄像机投影，带边缘接缝和顶点固定的共形和基于角度的展开，多个UV层，以及UV布局图像导出。<sup>[13](https://www.blender.org/features/modeling/?frame=0)</sup>

## 平铺UV空间与UDIM

传统上，UV映射被限制在坐标从0到1的单一正方形纹理空间内。UDIM及相关的UVTILE方案对此进行了扩展：纹理空间被划分为多个瓦片，每个瓦片由磁盘上单独的纹理文件表示，此前使用的UV空间对应于瓦片1001，即坐标0.0。<sup>[5](https://www.sidefx.com/docs/houdini/solaris/udim.html)</sup><sup> • </sup><sup>[6](https://help.maxon.net/c4d/2025/en-us/Content/html/Udim.html)</sup> [Cinema 4D](https://www.edgepedia.org/zh/cinema-4d)自2025.3版本起支持这两种扩展，每个瓦片可以分配一个文件名包含瓦片编号的图像文件，每张图像可以有单独的分辨率。<sup>[6](https://help.maxon.net/c4d/2025/en-us/Content/html/Udim.html)</sup> 通常推荐使用UDIM而非UVTILE，因为其连续编号更易于阅读。<sup>[6](https://help.maxon.net/c4d/2025/en-us/Content/html/Udim.html)</sup>

在[虚幻引擎](https://www.edgepedia.org/zh/unreal-engine)的流式虚拟纹理中，UDIM命名约定允许多个纹理图像映射到网格的独立UV区域，并作为单个虚拟纹理资产导入。每张图像可以有不同的分辨率，从而实现非均匀像素密度：一组2x2的纹理，包含两张2048x2048和两张128x128的图像，在逻辑上像单张4098x4098纹理一样被采样，较小的图像被拉伸以填充其区域，而不增加额外的磁盘或运行时内存开销。<sup>[14](https://dev.epicgames.com/documentation/en-us/unreal-engine/streaming-virtual-texturing-in-unreal-engine)</sup> Maxon的一个示例使用67个UV瓦片为[伦敦塔桥](https://www.edgepedia.org/zh/tower-bridge)模型制作纹理。<sup>[6](https://help.maxon.net/c4d/2025/en-us/Content/html/Udim.html)</sup>

## 光照贴图UV与烘焙

UV映射的第二种不同用途是存储预计算的光照。光照贴图UV保存烘焙的光照和阴影信息，与纹理UV不同，它要求模型的每个面都有自己唯一的空间，面与面之间不重叠，并且UV图表之间有足够的填充以避免漏光伪影。<sup>[7](https://dev.epicgames.com/documentation/en-us/unreal-engine/understanding-lightmapping-in-unreal-engine)</sup> 虚幻引擎可以在导入时通过重新打包纹理UV的岛来自动生成光照贴图UV，而不切割或拆分它们，或者艺术家可以在建模软件中构建自定义的光照贴图展开。<sup>[7](https://dev.epicgames.com/documentation/en-us/unreal-engine/understanding-lightmapping-in-unreal-engine)</sup> [Unity](https://www.edgepedia.org/zh/unity-game-engine)的渐进式光照贴图器同样要求UV图表不重叠，面积和角度误差小，且图表之间有足够的边距。<sup>[15](https://docs.unity.com/en-us/engine/6000.3/manual/lighting-overview/direct-and-indirect-lighting/lightmapping/baking-before-runtime/lightmappers)</sup>

填充要求也普遍适用于纹理烘焙：2K贴图至少需要16像素的出血，4K贴图至少需要32像素，以防止mipmap降采样时将边缘颜色渗入可见多边形；对于切线空间[法线贴图](https://www.edgepedia.org/zh/normal-mapping)，必须为网格的每条硬边拆分UV。<sup>[16](https://normalmap.ai/learn/normal-map-creation-workflows-guide/)</sup><sup> • </sup><sup>[17](https://nastyrodent.com/high-poly-to-low-poly-baking/)</sup>

## 研究方向

自动展开仍然是一个活跃的研究领域。PartUV是一种基于部件的流水线，构建在基于学习的PartField分解之上，它生成更少的、与部件对齐的图表，同时将每个图表的畸变保持在用户指定的阈值以下；在一个圆柱形物体上，它生成了19个图表，而Blender为277个，xatlas为3,614个；在人工制作、CAD、AI生成和Common Shapes数据集上，它在图表数量和接缝长度方面优于现有工具和最近的神经方法，且畸变相当。<sup>[18](https://arxiv.org/abs/2511.16659)</sup> 其他近期工作针对艺术家风格的展开，模拟专业流程的两个阶段：表面接缝预测和艺术家风格的参数化。<sup>[19](https://arxiv.org/abs/2509.20710)</sup>

## References

1. [Texture Mapping (Imperial College London graphics notes)](https://www.doc.ic.ac.uk/~bkainz/graphics/notes/GraphicsNotes08.pdf)
2. [Creating UVs, Autodesk Maya 2022 documentation](https://help.autodesk.com/cloudhelp/2022/ENU/Maya-Modeling/files/GUID-CA8808FD-9645-4537-9D2E-7BD680BC0F6E.htm)
3. [UV Operators, Blender 5.0 Manual](https://docs.blender.org/manual/en/5.0/modeling/meshes/editing/uv.html)
4. [Unwrapping Using Seams, BlenderWiki (2.6 manual archive)](https://archive.blender.org/wiki/2015/index.php/Doc%3A2.6/Manual/Textures/Mapping/UV/Unwrapping/)
5. [UDIM, SideFX Houdini Solaris documentation](https://www.sidefx.com/docs/houdini/solaris/udim.html)
6. [UDIM and UVTILE in the Texture UV Editor, Maxon Cinema 4D 2025 help](https://help.maxon.net/c4d/2025/en-us/Content/html/Udim.html)
7. [Understanding Lightmapping in Unreal Engine, Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/understanding-lightmapping-in-unreal-engine)
8. [Get Texel Density, Maxon Cinema 4D help](https://help.maxon.net/c4d/en-us/Content/html/UV_Get_Texel_Density.html)
9. [UVW Map Modifier, Autodesk 3ds Max 2012 help](https://download.autodesk.com/us/3dsmax/2012help/files/GUID-78327298-4741-470C-848D-4C3618B18FC-524.htm)
10. [UV Editor overview, Autodesk Maya 2022 documentation](https://help.autodesk.com/cloudhelp/2022/ENU/Maya-Modeling/files/GUID-73BF7546-3BF2-44F3-9192-15A024CEC173.htm)
11. [Automatic UV mapping, Autodesk Maya 2022 documentation](https://help.autodesk.com/cloudhelp/2022/ENU/Maya-Modeling/files/GUID-CD17C2C5-A442-4960-91DB-A2E5099EBF61.htm)
12. [UV Unwrapping in Blender, Without the Panic, Blender Tutoring](https://www.blendertutoring.com/blog/uv-unwrapping-blender-beginners)
13. [Modeling features, Blender.org](https://www.blender.org/features/modeling/?frame=0)
14. [Streaming Virtual Texturing in Unreal Engine, Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/streaming-virtual-texturing-in-unreal-engine)
15. [Introduction to lightmaps and baking, Unity Editor documentation](https://docs.unity.com/en-us/engine/6000.3/manual/lighting-overview/direct-and-indirect-lighting/lightmapping/baking-before-runtime/lightmappers)
16. [Normal Map Creation: 4 Production Workflows for 3D Art, NormalMap.ai](https://normalmap.ai/learn/normal-map-creation-workflows-guide/)
17. [High-Poly to Low-Poly: How Normal Map Baking Works in Game Production, Nasty Rodent](https://nastyrodent.com/high-poly-to-low-poly-baking/)
18. [PartUV: Part-Based UV Unwrapping of 3D Meshes, arXiv:2511.16659](https://arxiv.org/abs/2511.16659)
19. [ArtUV: Artist-style UV Unwrapping, arXiv:2509.20710](https://arxiv.org/abs/2509.20710)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 21, 2026 · Edited: Oct 15, 2026; Oct 21, 2026 · Last review: Oct 21, 2026*

Topic: 体育、游戏与休闲 › 电子游戏与数字游戏 › 游戏产业 › Development and technology › Graphics and rendering technology

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/uv-mapping

English original: https://www.edgepedia.org/uv-mapping
