No More Retake

3DCG屋さん向けTips&Referenceサイト

メニュー

Maya:『mib_amb_occlusion』ノード その2

前回に引き続き、『mib_amb_occlusion』のパラメータについてです。
残りは”id_inclexcl”と”id_nonself”。
mib_amb_occlusion_15

どちらもIDによって、オクルージョン効果を管理するパラメータです。
オブジェクトに”miLabel”というアトリビュートを追加することで、使うことができます。
(いちいちアトリビュートを作らなきゃいけないのが面倒だけど。
Mayaはこういうのほんと多い。中にはマニュアルに記載されていないのとかもあったりして・・・ブツブツ)
mib_amb_occlusion_16
では、引き続きパラメータを見ていきます。

id_inclexcl

IDと一致するmiLabelアトリビュートを持つオブジェクトのみ、オクルージョンを発生or除外する。0は特殊でid_inclexcl無効という意味。
mib_amb_occlusion_17_IDd

サンプルレンダリング画像。
ドラゴンのmiLabelを1、背景のmiLabelを2に設定してあります。
ドラゴンも背景も両方ともオクルージョン効果が有効です。

mib_amb_occlusion_17_IDe
左はid_inclexclを1に設定したもの。ドラゴンのオクルージョンのみが有効で、背景が及ぼすオクルージョン効果がなくなっているのが確認できます。右側は、id_inclexclを-1にしたもの。ドラゴンオブジェクトが及ぼすオクルージョン効果のみ無くなっています。

 

 

id_nonself

IDと一致するmiLabelアトリビュートを持つオブジェクトのみ、セルフオクルージョンを無効にする。0は特殊でid_nonself無効という意味。
mib_amb_occlusion_17_IDg上のレンダリング画像はid_nonselfでドラゴンのセルフオクルージョンのみ無効にしたもの。

特定のオブジェクトのみオクルージョンを発生させたくない、影響を受けたくない、などの場合にはこれらのパラメータを駆使することになる。

 


 

ひとまず、これでmib_amb_occlusionについてはおしまい。
次は、mia_materialについて勉強しなおしてみるかな。
Mayaは2012の英語版を使用しています。
最新のバージョンとは異なる可能性がありますのであしからず。

 

関連記事

コメントをお待ちしております

このサイトについて

3DCG Tipsサイト。Houdiniの記事が多めです。

RSS

follow us in feedly

Archives

  • 2024 (1)
  • 2023 (2)
  • 2022 (9)
  • 2021 (14)
  • 2020 (46)
  • 2019 (17)
  • 2018 (33)
  • 2017 (29)
  • 2016 (36)
  • 2015 (64)
  • 2014 (54)
  • 2013 (60)
  • 2012 (55)

スポンサードリンク

言語切り替え

  • English (United States)
  • 日本語

スポンサードリンク

言語切り替え

  • English (United States)
  • 日本語

Houdiniを使えるようになる本


Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/home/nomorere/nomoreretake.net/wordpress/wp-content/themes/n1-custom/functions/social.php on line 132

Warning: file_get_contents(): Failed to enable crypto in /usr/home/nomorere/nomoreretake.net/wordpress/wp-content/themes/n1-custom/functions/social.php on line 132

Warning: file_get_contents(http://api.facebook.com/restserver.php?method=links.getStats&urls=http%3A%2F%2Fnomoreretake.net%2F2012%2F06%2F02%2Fmaya_mib_amb_occlusion_part02%2F): failed to open stream: operation failed in /usr/home/nomorere/nomoreretake.net/wordpress/wp-content/themes/n1-custom/functions/social.php on line 132

Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/home/nomorere/nomoreretake.net/wordpress/wp-content/themes/n1-custom/functions/social.php on line 132

Warning: file_get_contents(): Failed to enable crypto in /usr/home/nomorere/nomoreretake.net/wordpress/wp-content/themes/n1-custom/functions/social.php on line 132

Warning: file_get_contents(http://api.b.st-hatena.com/entry.count?url=http%3A%2F%2Fnomoreretake.net%2F2012%2F06%2F02%2Fmaya_mib_amb_occlusion_part02%2F): failed to open stream: operation failed in /usr/home/nomorere/nomoreretake.net/wordpress/wp-content/themes/n1-custom/functions/social.php on line 132