No More Retake

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

メニュー

Houdini:Error(SOP)

Houdiniノード勉強回。
更新に困ったときの、こんなノードあったのか回。

このノードは、任意の条件でエラーや警告を発生させられるノード。
つまり自分ルールでErrorやWarningを追加できるってこと。
エラーをねつ造もできそう。

パラメータは少ない。
“Number of Errors”
発生させたいエラーや警告の数。

“Error Message”
表示させたいメッセージを記述。

“Severity”
重要度。Massage / Warning / Errorの3つから選ぶ。

“Report This Error”
値が0の時はデータは素通り、1の時はエラーや警告等の表記を発生させる。
ここにエラー検出したい条件やなんかを記述しとく。

 

 

試しにこんなネットワークを組んでみた。

ジオメトリのポリゴン総数が指定した数以上だとエラーを生成、ジオメトリのBounding Boxの最大Xサイズが0.1よりも大きかったら警告が出るようにしてみた。
デフォルトは警告状態にしてある。エラー発生の条件を満たすと、いつものエラーとなる。

他には、破片分割で小さすぎるパーツが出来てしまったときに警告を出したり、とかかなぁとかとか。

以上、こんなノードがあったのか回でした!
またね!

関連記事

  1. 2015.12.18

    Houdini:Marble Ball
  2. 2017.08.20

    Houdini:Escher
  3. 2017.08.17

    Houdini:MoebiusRing

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

このサイトについて

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%2F2017%2F12%2F11%2Fhoudini_error_sop%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%2F2017%2F12%2F11%2Fhoudini_error_sop%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