Redshift Matte Options遮罩选项

[复制链接]
123456835 发表于 2022-7-27 13:44 | 显示全部楼层 |阅读模式
欢迎学习这篇关于CINEMA4D的文章,以下是本文内容。
General概述

The per-object matte options in Redshift allow you to turn an object into a matte object at render time, for compositing. It overrides the materials that are currently applied to an object and is essentially meant to be a more practical alternative to the old Redshift Matte Shadow Catcher material shader.
在每个物体的Redshift选项栏中,操做遮罩选项能够在渲染时将物体视为遮罩,以用于后期合成。它会强迫覆盖掉物体所用的材质。简单的说,这是一种替代过去使用Matte Shadow Catcher材质的方案。

When matte is enabled, by default the object will be‘invisible’ in the beauty render, essentially cutting a hole in the scene, revealing the environment instead. This allows you to easily composite CG objects against a photographic back-plate. Redshift has additional options to allow you to catch shadows on the object, and show some of the underlying original material reflections, refractions and Diffuse/GI.
当遮罩(Matte)被开启时,物体在颜色渲染(Beauty层)时是不成见的。也就是说,它在场景中开了一个洞,洞里能够使用其它环境替代这个物体的光影信息。在渲染以传神照片为后台的CG合成效果时,这个选项非常有用。Redshift添加了另一个选项,用来捕捉物体的上阴影,并提供原始材质的反射、折射和环境漫反射信息。

Autodesk Maya

There are two ways of using matte nodes in Maya:
Maya中有两种方案使用遮罩节点

The easiest way is to edit the Matte options under the shape’s Redshift options, as
shown below. You can enable them by checking the ‘Enable’ attribute as seen
below.
最简单的方案是在Shape节点下找到Redshift选项栏,如下图所示。勾选“Enable”激活这个功能。

Redshift Matte Options遮罩选项-1.jpg
The second, more advanced, way is to attach RedshiftMatte nodes to your Maya objects. Redshift Matte nodes are custom object set nodes which gives you the flexibility of using a single Redshift Matte node to control the matte properties of multiple objects (the same matte parameters will be applied to all objects connected to a Redshift Matte node).
第二种方案是为Maya物体连接一个Redshift Matte节点。假如你想用一个选项控制所有物体,使用这种方案比较便利。

To assign a Redshift Matte node to one or more objects in your scene, select the objects and, from the main menu, choose Redshift > Object Properties > Create RedshiftMatteParametersNode for Selection, as shown below
要为一个或者多个物体设置Redshift Matte, 能够在主窗口中选择Redshift > Object Properties > Create RedshiftMatteParametersNode for Selection,如下图:

Redshift Matte Options遮罩选项-2.jpg

Options选项

Matte遮罩
Enable开启
Enables the matte object override.开启遮罩物体形式

Show Background显示后台
Shows the global environment shader background image in the matte objects place. When this option is not checked, the matte object will be black.
用全局环境着色器中的后台图片交换遮罩范畴的物体颜色。但关闭这个功能时,遮罩范畴是全黑的。

Apply to Secondary Rays受遮罩光影响
Enables the matte object override for secondary rays, such as reflections, refractions and GI.
在二级采样、反射、折射和GI中使用遮罩交换原材质。

Affected by Matte Lights受遮罩光影响
This enables the capture of diffuse illumination from Matte lights.
让遮罩承受光投射的漫反射光。

In order to receive illumination from Matte lights, the ‘Matte Shadow Illuminator’ option needs to be checked for the light.
假如要承受遮罩光的影响,遮罩光的中“Matte Shadow Illuminator”选项也要开启。

Alpha通明通道
This is the alpha channel replacement value.
交换Alpha通道中的数值。

Reflection Scale反射缩放
Scales the amount of reflection visible from the underlying materials that have been overridden.
缩放使得改为遮罩物体原材质中的反射可见。

Refraction Scale折射缩放
Scales the amount of refraction visible from the underlying materials that have been overridden.
缩放使得改为遮罩物体原材质中的折射可见。

Diffuse Scale漫反射缩放
Scales the amount of diffuse/GI visible from the underlying materials that have been overridden.
缩放使得改为遮罩物体原材质中的漫反射/GI可见。

Shadow阴影

Enable开启
This turns the matte object into a ‘shadow catcher’. For added realism, capturing CG shadows on the matte object is especially useful when compositing CG objects onto photographic back-plates.
将遮罩物体做为Shadow Catcher(投影捕捉器)。在合成前景模型与后台照片时,这个选项很有用。

Affects Alpha影响Alpha
When this option is enabled, the intensity of the matte shadows will be stored in the alpha channel.
开启时,遮罩阴影的强度将被写入Alpha通道。

Color颜色
This is the base color of the shadows. The darker the shadow, the more of this color is applied. For example, if the cast shadow is solid black, then it is effectively replaced with this color.
设置阴影的根底颜色。阴影越深,这种颜色就呈现更多。假如投射出全黑阴影则阴影区域内整个后台的颜色将被交换成这个颜色。

Transparency通明度
This scales the amount of shadow that can be received, between 0 and 1, with larger values effectively making the shadow more transparent.
在0与1之间缩放阴影的通明度。能够让阴影通明一些。

Below is an example of a simple scene containing two spheres, a reflective plane and a dome light with back-plate enabled for the background image.
下面例子的场景有两个球体,一个反射平面和一个带后台图片的球幕光源组成。

Without the Matte Parameters object properties.没有开启物体的遮罩属性。

Redshift Matte Options遮罩选项-3.jpg

With the default Matte Parameters options applied to the plane object, you now see the plane effectively disappear. The two spheres look like they are now floating in the scene. Furthermore, the reflection in the closest sphere of the matte plane still shows its original material.
平面开启了默认的遮罩属性。能够不雅察看到,平面消失了。两个球体仿佛悬在空中。近景中的球体照旧反射出了遮罩平面的原始材质。

Redshift Matte Options遮罩选项-4.jpg

Enabling the ‘Matte Shadow’ and ‘Apply to Secondary Rays’ parameters make the spheres appear to be part of the back-plate photograph.
开启“Matte Shadow”和“Apply to Secondary Rays”。两个球体仿佛成了后台图片的一部门。

Redshift Matte Options遮罩选项-5.jpg

Below shows an example of how the Reflection and Diffuse Scales can be used to show some of the properties of the original material of the matte plane.
以下例子说明了Reflection Scale和Diffuse Scale的用处。它们能够用来显示用做遮罩的原始材质一些属性。

The second sphere has been made emissive. Without the Matte Parameters property override, the plane surface material would be receiving diffuse GI. With the matte properties override, by default you will see no additional GI.
第二个球体被设为发光体。没有使用遮罩强迫属性,平面材质将接收Diffuse GI。开启强迫遮罩属性后,默认条件无法看到额外的GI。

Redshift Matte Options遮罩选项-6.jpg

Setting the ‘Diffuse Scale’ to a value other than 0 will allow some of the diffuse GI of the underlying material through. Here we use a value of 0.5 to demonstrate.
将Diffuse Scale改为一个大于0的值。Diffuse GI将呈现隐藏的平面上。这里我们用了0.5

Redshift Matte Options遮罩选项-7.jpg

Recall that the original plane material is also reflective. Setting the ‘Reflection Scale’ to 0.5 here now shows some of the underlying material’s reflection.
回忆一下,原始的平面也被赋予了一个反射材质。设置Reflection Scale为0.5。隐藏的平面中现出了一些反射。

Redshift Matte Options遮罩选项-8.jpg

Below shows an example of adding a purple diffuse area light that will be configured to illuminate the matte plane.
下面的例子中添加一些紫色的漫反射区域光,用来照亮遮罩平面。

Here the spherical area light affects the two spheres in the scene, and casts matte shadows on the matte plane.
这个区域影响到两个球体,而且向遮罩平面投射了遮罩阴影。

Redshift Matte Options遮罩选项-9.jpg

Enabling the ‘Matte Shadow Illuminator’ option on the light turns off its matte shadow casting capability, because the matte surface is expected to be actually illuminated by this light.
在光源中开启Matte Shadow Illuminator选项后遮罩阴影投射被关闭,因为遮罩平面实际上应该被这个光源亮堂。

Redshift Matte Options遮罩选项-10.jpg

Redshift Matte Options遮罩选项-11.jpg

Enabling the ‘Affected by Matte Lights’, with a ‘Diffuse Scale’ value of 0.5 now allows the matte surface to be illuminated by the matte shadow illuminator light.
开启Affected by Matte Lights,Diffuse Scale设为0.5。如今遮罩平面被遮罩阴影投射光源照亮。

Redshift Matte Options遮罩选项-12.jpg

Redshift Matte Options遮罩选项-13.jpg

Below shows examples of the shadow options.  下面的例子展示阴影选项。
Here we’ve made the shadow ‘Color’ red (1.0, 0.0, 0.0)…
将阴影Color 设置为红色(1.0, 0.0, 0.0)

Redshift Matte Options遮罩选项-14.jpg

And set the ‘Transparency’ to 0.75, to make the shadows more ‘transparent’. Note that setting the ‘Transparency’ to 1.0 would effectively disable matte shadows altogether.
将Transparency设为0.75。使得阴影减弱一点。当设置Transparency为1的时候,遮罩阴影会被关掉。

Redshift Matte Options遮罩选项-15.jpg

When ‘Affects Alpha’ is checked, this is what the alpha channel will look like.
Affects Alpha勾选时,Alpha通道是这样的。

Redshift Matte Options遮罩选项-16.jpg
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

菜鸟C4D推荐上一条 /9 下一条

菜鸟C4D与你一起从零开始!
菜鸟C4D微信公众号

( 浙ICP备13033195号-2 )Copyright 2013-2022;菜鸟C4DPowered by Discuz! 技术支持:菜鸟C4D