No More Retake

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

メニュー

Houdiniレシピ:続・影だけレンダリング

うっす、Houdini回ッス。
今回は、「続・影だけレンダリングする方法」っす。

以前、影だけレンダリングする用のマテリアルを取り上げましたが、
今回はその関連で、”特定のオブジェクトの影だけをレンダリングする方法”、です。

Re_ShadowOnly_001上のようなシーンで影だけレンダリングするとこうなります。(地面にshadowmatteマテリアルを適応、キャラをPhantom)
Re_ShadowOnly_002キャラの影だけ欲しいのですが、キャラの影以外にも地形のSelf Shadowが含まれてしまっています。
この場合は、次のようにすると良いと思います。
ライトのShadowの設定項目にある”Shadow Mask”を次のように設定してみます。
Re_ShadowOnly_003この状態でレンダリングすると・・・。
Re_ShadowOnly_004キャラの影だけレンダリング出来ました。

Shadow Maskで指定したオブジェクトは、光源をマスキングして影を生成します。
デフォルトでは*(アスタリスク)になっており、すべてのオブジェクトの影がレンダリングされます。
ここでは、「* ^Ground」と設定しました。
これを日本語に訳すと、「すべてのオブジェクトの影を生成する、ただし、Groundは除く」でしょうか。
Houdiniでは^は除外を意味します。
これで、目的のオブジェクトの影だけを生成できました。

以上、今回はここまで。
ではまた次回!

 

【参考】
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=28955&highlight=&sid=f4e7d169a93981eccf1c70264f782bd2

関連記事

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

このサイトについて

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%2F2015%2F03%2F08%2Fhoudini_onlyshadow2%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%2F2015%2F03%2F08%2Fhoudini_onlyshadow2%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