No More Retake

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

メニュー

Maya:『Contour系ノード』 その2

前回に引き続きContourについてです。
検証バージョンはMayaは2012の英語版です。
より新しいバージョンでは設定が変更になっている可能性もありますのであしからず。

Contourノードを使ってラインを描画する場合は次の手順で行います。
(ここでは極力、Contourノードのみで設定する方法を紹介します)

Contourノードは下の絵の赤枠内のノード群のことです。
Contour_22

ではやっていきます。

step1

CustomShadersのContrastShaderに”contour_contrast_function_level”もしくは”contour_contrast_function_simple”をコネクト。
このノードで何処にラインを描画するかを定義します。

step2

customShadersのStore Shaderに”contour_store_function”もしくは”contour_store_function_level”をコネクト。
Contour_19

step3

ContoureShader(ここではcountour_shader_simple)を作成し、マテリアルのSG(ShadingEngine)の”ContourShader”にコネクト。
マテリアルはラインを出したいオブジェトにアサイン。
このContourShaderでラインの色や太さを定義します。
Contour_20

step4

カメラのShapeNodeにContourOutputをコネクト(ここではラインのみ出力するcontour_onlyをコネクト)。
HyperShadeで、こうドラッグしてデフォルトでコネクトすると楽です。

 

step5

カメラのLegacyOutputShadersにある”Contour”をONにします(ContourOutputをカメラにコネクすればAttributeEdditorに出てきます)。
これでこのカメラでレンダリングした場合のみラインが描画されます。
Contour_21レンダリングするとラインのみ描画されます。

今回はここまで。
次回は各Contourノードを見ていきたいと思います。

Mayaは2012の英語版を使用しています。
最新のバージョンとは異なる可能性がありますのであしからず。

その1へ その2へ その3へ その4へ

参考URL

http://me.autodesk.jp/wam/maya/docs/Maya2010/mr/shaders/node28.html#SECTION26

Related Posts Plugin for WordPress, Blogger...

関連記事

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

このサイトについて

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%2F2013%2F04%2F11%2Fmaya_contour_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%2F2013%2F04%2F11%2Fmaya_contour_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