Patchwork 3D Community 2021.1 X5

表面自动定位

工具栏中提供了三种自动定位模式,并可从表面 > 自动方向菜单中进行选择:

图标

功能

auto_orient_surfaces_1.png

自动定位可见表面

auto_orient_object_1.png

自动定位选定的表面

auto_orient_object_interior_1.png

自动定位朝向内部的表面

auto_orient_surfaces_1.png可见表面:从当前角度自动定位所有可见的曲面。为确定是否从该视点可见表面的正面或背面,执行渲染。将红色像素的数量与表面的可见像素中的另一种颜色的像素的数量(即未被另一表面遮挡的像素)进行比较。如果大多数像素是红色的,则表面被认为是里面朝外并且其方向是翻的。

Initially, some of the seat’s surfaces are inside out (left).
With the door closed (middle), some of these surfaces are not visible.
The auto-orientation function for visible surfaces is used (right): the inside out, non-visible surface retains its original orientation.

可见曲面函数的自动定向示例。最初,一些座位的表面里面朝外(左)。门关闭时(中间),其中一些表面不可见。使用可见表面的自动定位功能(右):里面朝外,不可见表面保留其原始方向。

auto_orient_object_1.png选定表面:自动定位选定的表面。当选择一组表面时,该功能将确定相应的边界体积。所选表面的14个渲染是针对在边界体积周围的相机位置执行的。如果给定表面上看到比另一种颜色的像素更多的红色像素,则该表面被认为里面朝外并且其方向是翻的。

警告

只考虑可见像素。如果一个表面在选区中被另一个表面完全遮挡,则永远不会颠倒。

Initially, some of the seat’s surfaces are inside out (left).
All the surfaces of the seat are selected (top right).
All the surfaces of the seat are closed (bottom left).
The auto-orientation function for selected surfaces is used in order to orient the surface properly (bottom right).

选定表面功能的自动定向示例。最初,一些座位的表面里面朝外(左上)。选择座位的所有表面(右上),并关闭门(左下)。选定表面的自动定向功能用于正确定向(右下)。

image539.png
image540.png
image541.png
image542.png
image543.png
image544.png
image545.png
image546.png
image547.png
image548.png
image549.png
image550.png

The fourteen intermediate renderings of the selected surfaces performed for the example presented in the previous figure.
image552.png

所选表面的十四个中间渲染是针对前面图中提供的示例执行的。

auto_orient_object_interior_1.png朝向内部的表面:自动将表面朝向内部容积。考虑场景中所有表面的六个效果图从当前摄像机位置按照以下方向执行:向前,向后,向上,向下,向左和向右。如果给定表面上红色像素多于另一种颜色,则该表面被认为里面朝外且其方向翻转。.

警告

关于选定表面的自动定向功能,只考虑可见像素。如果在选择中一个表面完全被另一个表面遮挡,将永远不会颠倒。

Example of the auto-orientation function for surface interiors on the 3D scene in the left image.
Example of the auto-orientation function for surface interiors on the 3D scene: the surfaces identified as inside out have been reversed in the right image.

顶部图像中3D场景上的表面内部自动定向功能的示例:右标识为内侧的表面已被颠倒过来。

Renderings performed to identify the orientation of each surface with the auto-orientation function for surface interiors. Top: forward.
Renderings performed to identify the orientation of each surface with the auto-orientation function for surface interiors. Top: backward.
Renderings performed to identify the orientation of each surface with the auto-orientation function for surface interiors. Middle: up.
Renderings performed to identify the orientation of each surface with the auto-orientation function for surface interiors. Middle: down.
Renderings performed to identify the orientation of each surface with the auto-orientation function for surface interiors. Bottom: right.
Renderings performed to identify the orientation of each surface with the auto-orientation function for surface interiors. Bottom: right.

执行渲染以识别表面内部具有自动定向功能的每个表面的方向。上:向前和向后。中间:上下。底部:左侧和右侧。