Volume Filter

音量过滤器

Basic 基础Coord.Filter 过滤器Fields 田野

Volume Filter

音量过滤器

General information about Volume Filters

有关体积过滤器的一般信息

Don’t be taken aback by the fact that various filters are all described in a single section. This is one and the same object, only with different settings each time.

不要因为各种过滤器都在一个单独的部分中描述而大吃一惊。这是同一个对象,只是每次设置不同。

What is a Volume Filter? First, imagine a bitmap: this is made up of pixels with (RGB) values. Photoshop, for example, has a filter with which these can be modified. The Volume Filters work analogous to this: if Voxels are viewed as pixels arranged in 3D space, Volume Filters do nothing more than modify the Voxel values.

什么是体积过滤器?首先,想象一个位图: 它由带有 RGB 值的像素组成。例如,Photoshop 有一个可以修改这些的滤镜。体积过滤器的工作原理与此类似: 如果体素被看作是像素排列在3D 空间,体积过滤器只是修改体素值。

Hence, Photoshop and Cinema 4D both have filters with a Gaussian Blur function:

因此,Photoshop 和 Cinema 4D 都有高斯模糊功能的滤镜:

If we continue with the analogy above: In Photoshop, a filter effect can be masked, i.e., restricted to a specific region, by selecting a filter function. This can also be done in Cinema 4D. However, this is not done via selection but by placing Fields in the Tab "field" with which you can define where the Volume Filter should have an effect.

如果我们继续上面的类比: 在 Photoshop 中,一个过滤器效果可以通过选择一个过滤器函数来掩盖,也就是说,限制在一个特定的区域。这也可以在C4D中实现。但是,这不是通过选择,而是通过将字段放置在 Tab“字段”中来实现的,通过这个字段,您可以定义体积过滤器应该在哪里起作用。

Volume Filters can, for example, be used to smooth or erode/ dilate:

例如,体积过滤器可以用于平滑或者腐蚀/扩张:

Tip: 提示:
Whenever you have the impression that a Volume Filter is not working correctly, make sure that enough Volume is being applied for the filter to work with. Especially for the 每当您觉得体积筛选器不能正常工作时,请确保应用了足够的体积以使筛选器工作。特别是对于那些Volume Type 音量类型SDF 自发辐射源, the Volume is initially made up of only a thin layer around the original polygon surface. Note the 体积最初只是由围绕原始多边形表面的一个薄层组成。注意Voxel Ranges 体素范围 in conjunction with this, which must be increased accordingly. 与此同时,必须相应地增加

There are several special settings for Volume Vectors that relate to the orientation of the vectors.

有几个与矢量的方向相关的体积矢量的特殊设置。

In order for the Volume Filter to work, they must be either:

为了使体积过滤器工作,它们必须是:

Examples

例子

Smooth Filter

平滑过滤器

Increasing Gaussian blur from left to right. Note the interior edges. 从左到右逐渐增加高斯模糊。注意内部边缘

The Smooth Filter blurs the Voxel value transitions. Imagine a Voxel A with a value of 0 and a neighboring Voxel with a value of 1. After smoothing is applied, these values will be modified to maybe 0.4 and 0.6, respectively. Abrupt transitions will be blurred. The visual effect is a rounding of sharp edges.

平滑过滤器模糊了体素值的转换。想象一个值为0的体素 a 和一个值为1的相邻体素。应用平滑后,这些值将分别修改为可能0.4和0.6。突然的过渡将会变得模糊。视觉效果是锐利的边缘圆满。

The Smooth Filter works similarly for Volume Vectors: it aligns the direction of neighboring vectors to one another; the result is a smoother, less erratic directional flow.

平滑过滤器的工作原理与体积矢量类似: 它将相邻矢量的方向对齐; 结果是一个更平滑、更稳定的方向流。

At left the initial vector field, at right with Smooth Filter. 左边是初始向量场,右边是平滑过滤器

Dilate and erode

膨胀和侵蚀

From left to right: small negative 从左到右: 小负数Offset 偏移量 and positive 而且是积极的Offset 偏移量 (Filter Type 过滤器类型 set to 开始Dilate/Erode 膨胀/侵蚀 with a spherical falloff). 球形下垂物)

Simply put, the Reshape Filter offsets surfaces in various ways along their surface Normals. Internally, the Voxel values will be increased or decreased with in the area affected by the filter.

简单地说,重塑过滤器偏移沿其表面法线以各种方式表面。在内部,体素值将增加或减少在过滤器影响的区域。