比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。

We set grouping membership to geometry with the categories parameter on the geometry in order to use them in trace set or shadow subset. 

...

 


トレースセットまたはシャドウサブセットで使用するために、ジオメトリのcategoriesパラメータを使用して、Grouping Membershipをジオメトリに設定します。

...

 

シンプルなトークン:

  • Asterisk * - Everything, the default全てデフォルト

  • Only the object name/path - Include the following object, sphere_object次のオブジェクト、sphere_objectを含みます。

  • Caret ^ - Exclude the following object, 次のオブジェクトを除外します。 ^sphere_object

  • The @ The @ symbol - Include this bundle/grouping of objects, @carEngine

As an example of its usage, in the PxrRectLight below, we simply specify that grouping membership name in the Light Mask and add the caret ^ to exclude the specified light path. In the example below, the grid object is not lit by the PxrRectLight. Note that this can be done through the UI for the Light Bank and light Linking but also works for trace sets. You may also just say ^pxrrectlight and omit the /obj/ path

...

Below we omit the reflection of a sphere object as well as the light from the rect light.

...

Another common requirement is to ignore shadows cast from specific objects. To do this, Edit the Parameter Interface (the cog wheel at the Object Name field)

You can add the Shadow Mask by copying and renaming the Reflection Mask as shown below. You can then use the field to select what objects are allowed to or excluded from shadowing the object.

...

  • このバンドル/オブジェクトのグループ化を含みます。 (例:@carEngine)

使用例として、以下のPxrRectLightから、ライトマスクでGrouping Membership名を指定します。そして、指定されたライトパスを除外するために、Caret^を追加します。以下の例では、グリッドオブジェクトは、PxrRectLightによって照らされていません。これは、Light BankおよびLight LinkingのUIを介して実行することができますが、トレースセットにも機能することに注意してください。 ^ pxrrectlightと/ obj /パスを省略することもできます。

...

以下では、スフィアオブジェクトの反射とRect Lightからのライトを省略します。

...

 

もう1つの一般的な要件は、特定のオブジェクトからプロジェクションされた影を無視することです。これを実行する場合は、パラメータインタフェース([Object Name]フィールドの歯車)を編集します。

以下に示すように、リフレクションマスクをコピーして名前を変更することでシャドウマスクを追加することができます。その後、フィールドを使用して、どのオブジェクトが影付けを許可または除外されるかを選択することができます。

...