编辑

展开之后,要对UV进行整理,使之可以用于贴图或绘制。编辑要达到的效果是:

  • 将一些碎片(UV贴图)重新缝合到一起。

  • 最大化地利用图像空间。

  • 对细节面进行放大。

  • 调整/缩放被拉伸的面。

  • 缩小过于粗糙和细节过多的面。

使用最小的给定空间,让大多数像素点给予UV贴图尽可能多的细节和精度。一个UV面可以小到一个像素(组成整张图像的小点)大小,也可以达到填满整个图像。你可能需要先做一些大的调整,然后再对布局进行微调。

变换

参考

编辑器

UV编辑器

模式

编辑模式

工具

工具栏 ‣ 移动、旋转、缩放、变换

菜单

UV ‣ 变换

  • Move G

  • 旋转 R

  • 缩放 S

  • 切变 Shift-Ctrl-Alt-S

锁定轴向

在执行变换操作时,按下 X 或者 Y 可以锁定变换的轴向。同时,按住 MMB 也可以限制变换轴向为X或Y轴。

随机

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ Transform ‣ Randomize

Randomize the scale, rotation and offset of selected UV islands. The Randomize Transform tool in the UV editor works similar to Randomize Transform tool in the 3d view.

随机种

Changes the random seed used by the pseudo-random number generator, producing a different transform result for each seed value.

位置

Amount to randomize location.

旋转

Amount to randomize rotation.

等比例缩放

Apply the same scale to the U coordinate and V coordinate.

比例|缩放

Amount to randomize scale in U and V coordinates.

镜像

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 镜像

快捷键

Ctrl-M

可以通过X轴或Y轴镜射UV:

  • 镜射X

  • 镜像Y

您也可以使用热键 XY ,或者按住 MMB 并沿镜像方向拖动。

复制镜像UV坐标

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 复制镜像UV坐标

将镜像所得网格一侧的UV复制到另一侧。仅影响选中顶点(两侧)。

轴线方向

正向/负向

精度

查找顶点副本的容差。

吸附

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 吸附

快捷键

Shift-S

UV编辑器中的吸附与 3D视图中的吸附 类似。吸附到像素点选项需要以载入图像为前提。

选中项到像素点

Moves selection to nearest pixel. See also Round to Pixels below.

选中项到游标

移动选中项到2D游标位置。

选中项到像素点(偏移)

移动选中项到2D游标位置,但保持选中顶点与中心点的距离。

选中项到临近未选项

移动选中项到临近(共用顶点)的未选中元素。

游标到像素点

吸附游标至最近像素点。

光标至选定

移动游标至选中项中心点。

例子1 : 在编辑模式下,将物体原点设置为1,3,2,将X、Y和Z输入分别设置为1,3,2,将 操作 设置为游标,点击 绝对 按钮来移动游标。点击 原点到游标 工具,原点被移动,但几何体不会从世界空间的绝对位置移动。

将游标放置到世界的原点(位置0,0,0)。

合并

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 合并

快捷键

M

到中心

将选中项上/下移一位。

到游标

移动选中项到2D游标位置。

按距离

合并指定 合并距离 内的选定 UV。

拆分

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 拆分

快捷键

Alt-M

选中项 Y

将选中项与其他网格拆分(断开)。会对边界线的未选中元素进行复制。

要注意的是 "复制元素" 仍位于原来的位置,所以需要使用 G 移动后才能看的比较清楚...

展开

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 展开

快捷键

U

Blender提供了几种UV映射方式。比较简单的投影方法使用三维空间到二维空间的映射公式,将点的位置朝点/轴面确定的表面插值。更高级的方法可以用于更加复杂的模型,并有更具体的用途。

钉固和取消钉固

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 钉固/取消钉固

快捷键

P, Alt-P

钉固UV可以防止多次展开操作后的UV顶点移动。在模型展开时,有时需要 "锁定" 特定的UV顶点,以使部分UV保持原本形状和/或原本位置。选择UV,然后选择 UV 菜单的 钉固 选项或快捷键 P ,即可钉固UV。快捷键 Alt-P 用于 取消钉固

在对生物体展开UV时,钉固是十分高效的。使用 镜像修改器 建模就是一个例子。镜像轴上的UV顶点是与其镜像部分共用的。可以钉固中心线对应的UV顶点,然后将其X轴对齐,固定这些顶点的位置。

Pinning also work great with the Live Unwrap tool. If you pin two or more UVs, with Live Unwrap on, dragging pinned UVs will interactively unwrap the model. This helps with fitting a UV island to a certain shape or region.

标记/清除缝合边

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 标记/清除缝合边

缝合边

沿孤岛边线生成缝合边

参考

模式

视图模式

菜单

UV ‣ 沿孤岛边线生成缝合边

将现有UV孤岛边界标记为缝合边,可用在修改已展开网格的UV时。

拼排孤岛

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 拼排孤岛

拼排孤岛 工具用于生成无重叠的最优UV布局,试图充分填充 纹理空间

First it will uniformly scale the selected islands, then individually translate each island so that they maximize the usage of the UV space.

打包(Pack)

UDIM 网格,用于将UV岛打包到其中。

最近。

Pack islands to the UDIM closest to the center of the selection.

UDIM分块

Pack islands to active UDIM image tile or, if no image is available, the UDIM grid tile where the 2D cursor is located.

旋转

Allow islands to be rotated as well as translated to maximize texture usage.

Margin Method

The method to use when calculating the empty space between islands.

Scaled

Use scale of existing UVs to multiply margin. (The default from Blender 3.3 and later.)

相加

Simple method, just add the margin. (This is the default margin scale from Blender 2.8 and earlier.)

分数

Precisely specify the fraction of the UV unit square for margin. (Slower than other two methods.)

边距

The scale for the empty space between islands.

孤岛比例平均化

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 孤岛比例平均化

使用 孤岛比例均匀化 工具,会对每个孤岛执行缩放,使其获得近似的缩放比例。

非均匀有理B样条(Non-uniform Rational Basis Spline)

通过独立缩放U轴和V轴,减少岛屿内的平均纹理拉伸。

切变

通过对U轴的剪切,减少岛屿内的平均纹理剪切。

最小化拉伸

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 最小化拉伸

The Minimize Stretch tool, reduces UV stretch by minimizing angles. This essentially relaxes the UVs.

缝合

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 缝合

快捷键

Alt-V

缝合 工具,将连接共享顶点的选定UV。你可以在 调整上一步操作 面板中通过激活 使用限制 和调整 限制距离 来设置该工具以限制缝合的距离。

对齐

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 对齐

快捷键

Shift-W

对齐 工具将把选定的UV移动到一条线上,这条线由 轴*以不同方式指定。

拉直*选项将在两个端点之间计算出一条线段,并将所有选定的UV移动到这条线上。

X 对齐Y 对齐 选项将把所有选择的UV轴对齐到当前选择的中点。

轴向
拉直

将 UV 移动到线段上的最近点。

拉直

U 坐标移动到该行上。

拉直

V 坐标移动到直线上。

对齐X轴

U 坐标移动到所选内容的中点。

对齐Y轴

V 坐标移动到所选内容的中点。

自动对齐

选择自动 对准X对准Y

Align Rotation

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ Align Rotation

The Align Rotation tool aligns entire islands to either the U or V axis.

The tool has three different methods of operation. The different methods specify the source for the alignment, and also whether to align with both the U and V axes, or just the V axis alone.

When using the Auto method, islands are aligned so that UV edges are aligned to either the U axis or the V axis. This method works best with quads and meshes representing organic subjects.

When using the Edge method, only the selected edges are considered, and the islands will be aligned such that the selected edges are aligned with the V axis. This method works with the selection, so it works best when a particular edge, or edge loop, needs to be aligned in UV coordinates.

When using the Geometry method, the geometry is taken into consideration. Either the X axis, the Y axis, or the Z axis can be used. Suppose the X axis is chosen. Using this method, edges which have a positive extent in the X axis will be rotated in the UV map so that the edge extends upwards in the V axis. This method works best to align multiple islands which share some common geometric property, either in the X, Y or Z axis.

Note that in the Auto method, edges can end up aligned either up or down or left or right depending on the orientation of the island prior to activating the tool. In the Edge method, the alignment of selected edges can be either up or down in the V axis, whatever is closest to the current orientation of the UV island. By comparison, in the Geometry method, the alignment will always be pointing up in the V axis, ignoring any previous orientation.

显示/隐藏面

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 显示/隐藏面

  • 恢复显示隐藏项 Alt-H

  • 隐藏选中项 H

  • 隐藏隐藏未选项 Shift-H

导出UV布局图

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV ‣ 导出UV布局图

如果您使用的是外部应用进程,则需要知道要绘制的网格上的位置。

Note

插件 默认激活。

衰减编辑

参考

编辑器

UV编辑器

模式

编辑模式

标题栏

衰减编辑

菜单

UV ‣ 衰减编辑

快捷键

O

在UV编辑中可以进行衰减编辑。这些控件与3D视图中的控件是一样的,请参见 3D中的衰减编辑 以获得完整的参考资料。

UV选项

参考

编辑器

UV编辑器

模式

编辑模式

菜单

UV

实时展开

在转换钉住的顶点时,持续地解开选定的UV岛。注意,这与三维视口中的 实时展开 选项不同。

Round to Pixels

During UV transforms, you can use Round to Pixels to help with matching features in the image or ensure your UVs have precise horizontal, vertical or diagonal alignment.

Note that Round to Pixels is applied after any snapping modes.

禁用

UVs will not be rounded.

拐角

Will force the UVs to round to the corner of the nearest pixel of an image if loaded.

中心

Will force the UVs to round to the center of the nearest pixel of an image if loaded.

约束至画布边缘

对于标准纹理,这个选项可以防止UV被移动到0到1的UV范围之外。对于 UDIMs 纹理,此选项可以防止UV被移动到最近的UDIM瓦片之外。

3D 视图

旋转 UV

参考

编辑器

3D 视图

模式

编辑模式

菜单

人脸 ‣ 人脸数据 ‣ 旋转 UV

UV贴图的朝向是由每个面定义的。比如,如果图像是上下颠倒的或者侧向的,可以使用 面 ‣ 旋转UV (3D视图面旋转模式下)菜单对每个面的UV旋转90度。

翻转UV

参考

编辑器

3D 视图

模式

编辑模式

菜单

人脸 ‣ 人脸数据 ‣反转 UV

面 ‣ 翻转UV 工具对UV面进行逐面镜射,翻转图像,显示颠倒的图像。