| On this page | |
| Since | 20.0 |
このノードは、リグコンポーネントを使用して、プロシージャルに(APEXグラフとして)リグスクリプトを構築することができます。 このリグスクリプトは、一気にキャラクタに適用可能な“レシピ”のように作用します。 リグスクリプトを使用することで、より下位レベルのリグコンポーネントから上位レベルのリグコンポーネントを作成することができます。
構築されたリグスクリプトは、このノードのRigScript入力/出力を通過します。
APEX Autorig Component SOPには、RigScript入力/出力がありません。
パラメータ ¶
Component Source
現在利用可能なリグコンポーネントのリストからリグコンポーネントを選択します。 このリストには、以下の事前構築済みコンポーネントが含まれています:
Component Name
現在のコンポーネントのロジックを含んだリグスクリプトグラフ(RigScript入力)内のサブネットの名前。 デフォルトは、このノード名になっています。
Component File
When Component Source is set to File, this is the file path of the rig component to use.
Edit Source
Allows you to edit a component’s source code. Clicking sets the Component Source to Snippet, fetches the source code of the component, and inserts it into the Snippet parameter as APEX Script code. It also populates some of the fields in the Save tab. This is useful if you want to use a component’s code as a starting point for creating a custom component.
Component Output File
Component Source が Use Second Input に設定されている場合、ここで Save to Disk の出力ファイルパスを指定します。
Save to Disk
Saves the component to Component Output File.
Note
If you store the component script under $HIP/apexcomponent/ or $HOME/apexcomponent/, it is automatically picked up by Component Source.
Rig Source
CharacterStream入力内のリグに対して実行するオペレーション。
Add or Update
CharacterStream入力内の( Name で指定した)リグを追加/更新します。 リグが存在しない場合、可能であれば作成されます。
Add or Replace
CharacterStream入力内の( Name で指定した)リグを追加/置換します。
Name
CharacterStream入力内のリグの名前。
このセクションには、( Component Source で設定されている)現在のリグコンポーネントに固有のパラメータが含まれていて、 その選択したコンポーネントに応じて、このパラメータインターフェースのセクションが変わります。 パラメータは、コンポーネントスクリプトグラフのパラメータ入力から派生します。 つまり、APEX Rigscript Component SOPは、コンポーネントスクリプト入力を設定するためのインターフェースとして機能します。
事前構築済みコンポーネントのリンクに関しては、 Component Source パラメータを参照してください。
Promoted Parms
リグスクリプトのコンポーネントからプロモートするリグパラメータのセット。
Parm
リグスクリプトパラメータの名前。
Alias
プロモートされたリグスクリプトパラメータに使用するエイリアス。
View Log
Opens the log viewer.
Reset Setup Parms
コンポーネントスクリプトの入力として使用されているすべてのSpareパラメータを削除します。
Reload Setup Parms
このセクション内のパラメータを現在のコンポーネントのパラメータに更新します。 これは、入力コンポーネントスクリプトのパラメータが変わった場合に役立ちます。
このセクションは、 Component Source が Snippet に設定されている時に利用可能です。
Snippet
実行するAPEXスクリプトスニペット。
Inspect Line
有効にすると、 Snippet 内の指定した行番号のコードが赤で表示されます。これはデバッグで役に立ちます。
Show Traceback
有効にすると、フルのトレースバック付きですべてのエラーメッセージを表示します。
When turned on, a header and footer is added to the snippet. Headers and footers are predefined code snippets that are inserted before and after the current snippet, and are executed together with the snippet. The header and footer help to standardize common operations such as converting a geometry input to a graph and then back into a geometry, and fetching a rig graph from a character folder structure.
Template
The header template to use for the current snippet.
Basic
Adds an empty template.
Graph
Converts a geometry that is bound to one of the graph inputs to a graph (in the header), and rewrites the graph back to geometry (in the footer).
Component
Fetches the rig graph from a packed character geometry (in the header), and updates the packed character geometry with the graph at the footer.
Custom
Allows the user to edit the header and footer.
Fuse Graph
Provides the variable, template_graph, which contains the fuse graph that is piped into the second input on this node.
Add Version
有効にすると、Houdiniバージョンがヘッダーに追加され、使用するAPEX関数のバージョンが設定されます。 これによって、異なる引数を持つ新しいバージョンの関数が追加された場合でも下位互換を保つことができます。 詳細は、特別な関数を参照してください。
Show
有効にすると、ヘッダーとフッターが表示されます。
Edit
有効にすると、ヘッダーとフッターを手動で編集することができます。
ビジュアライザ系オプションは、APEXネットワークビューに表示させるグラフを指定したり、デバッグしやすくするためにハイライトカラーを設定することもできます。 このハイライトカラーは、実際の出力データには適用されません。
Show
APEXネットワークビューに表示させるグラフを定義します。
Rig
パックキャラクタから抽出された結果のリググラフ。
Component Script
現在のノードでキャラクタを修正する現在のコンポーネントスクリプト。
Rig Script
リグスクリプトグラフ。つまり、繋がれたリグコンポーネントからそのリグの結果までの流れを示したレシピ。
Highlight Added Nodes
有効にすると、新しく追加されたノードが緑でハイライトされ、その他のノードがグレーアウトされます。 これによって、このリグコンポーネントによってグラフに加えられた変更内容が確認しやすくなります。
Highlight Reconnected Nodes
有効にすると、リググラフから接続が追加/修正/削除されたノードがハイライトされます。
Layout Graph
有効にすると、リググラフに自動レイアウトが適用されます。
入力 ¶
RigScript
修正する構築リグスクリプト。
CharacterStream
修正するAPEXキャラクタジオメトリ。
ComponentScript
リグ構築用に呼び出すAPEXグラフを含んだジオメトリ。 これは通常、APEX Rigscript Component SOPノードチェーンのRigScript出力です。
出力 ¶
RigScript
修正された構築リグスクリプト。
CharacterStream
修正されたAPEXキャラクタジオメトリ。
ComponentScript
使用されたコンポーネントのAPEXグラフ。 参照用として用意されています。
| See also |