Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Overview 概要

MEL Scripts グループでは、レンダリング計算中の任意の段階でMELスクリプトを実行させることが可能です。これにより、各段階において必要なあらゆる調整が行えます。

また グループではレンダリング計算中の任意の段階でMELスクリプトを実行させます。これにより各段階での微調整が行えます。3Delight は は、RenderMan 標準MELの一部がきているので、レンダリング処理中のいかなる段階でも 規格によるMELコマンドのセットで出来ていますので、レンダリングのいかなる場所にもRenderManコマンドを実行することができます(コマンドを挿入することができます(MEL RenderMan Bindingを参照)。
他ソフトでいうところの“RIB Boxes”と同等の働きをしますが、よりフレシブルに対応ができます。更にBoxes”と同等の働きをしますが、スクリプトによる柔軟な対応が可能です。更にGeometry Attribute Nodes (参照:Geometry MEL Scripts) やLight Attribute Nodes (参照:Light MEL Scripts)でも実行可能です。

The MEL Scripts group of attributes provides the ability to execute MEL scripts at certain stages during the rendering process. This opens up the possibility of doing whatever tweaks required at these stages. Since 3Delight comes with a set of MEL bindings for the RenderMan standard, it also becomes possible to insert RenderMan commands anywhere during rendering (see MEL RenderMan Binding). This is the equivalent of “RIB Boxes” in other softwares but with the added flexibility of a scripting language. In addition to insert points listed here, there are others available in Geometry Attribute Nodes (see Geometry MEL Scripts) and in the Light Attribute Nodes (see Light MEL Scripts).

変数 'string $render_pass'はこれらのスクリプトが自動で定義され、カレントのレンダーパス名にアサインされます。はこれらのスクリプト内で自動定義され、カレントのレンダーパス名がアサインされます。

 

MEL Scripts グループ

 

Pre Render MEL
Post Render MEL

レンダリングが開始される前とレンダリングが終了した後に実行されるスクリプトを指定します。これらのスクリプトは最初と最後に必ず実行されます。

これらはまた、RiBegin/RiEndブロック外で処理されるため、RenderManコマンドの呼び出しにはふさわしくありません。それぞれレンダリングが開始される前とレンダリングが終了した時に実行されます。RiBegin/RiEnd外での処理なため、RenderManコマンドの実行を阻害しません。
Specify scripts to run before the rendering starts and after the rendering is finished, respectively. Those scripts are guaranteed to run first and last. They are also executed outside of any RiBegin/RiEnd block, so these scripts are not appropriate for invoking RenderMan commands.

Pre Frame MEL
Post Frame MEL

各フレームのレンダリングが開始される前と後に実行されるスクリプトを指定します。これらのスクリプトは、各フレームの一番最初と最後に実行されます。

これらはRiBegin/RiEndブロックよりも前と後に呼び出されますので、RenderManコマンドの呼び出しにはふさわしくありません。それぞれ各フレームのレンダリングが開始される前と後に実行されます。これらはRiBegin/RiEnd ブロックの始めと後で呼び出され、RenderManコマンドの実行を阻害しません。
Specify scripts to run before and after each frame, respectively. These two scripts are the very first and last things executed for each frame; they are called even before and after the RiBegin/RiEnd block, so these scripts are not appropriate for invoking RenderMan commands.

Post Option MEL

全てのRenderMan オプションが終了した後にスクリプトが呼び出されます。但しカメラの移動が発生する前です。全てのオプションに対して上書きされます。
Specifies a script to execute after all RenderMan options have been issued, but before the camera transforms. This can be used to override any options.

Pre World MEL

 オプションが実行された後でかつ、Camera Transformの前にスクリプトが呼び出されます。これは如何なるオプションよりも優先されます。

Pre World MEL

Camera Transformの後で、RiWorldBeginの直前に実行されるスクリプトはを指定します。カメラの移動が発生した後で、RiWorldBeginの直前に実行されます。
Specifies a script to execute just before RiWorldBegin which is also right after where the camera transforms are issued.

Post World MEL

(RiFrameEndの直前で)RiWorldEnd の直後に実行されます。

RiWorldEnd の後に実行されます。(但しRiFrameEndの直前)
Specifies a script to execute right after RiWorldEnd (but before RiFrameEnd).