Motion superimposition

October 26, 2012

MMDAgent can superimpose multiple motions at run time.  A complex motion can be expressed by superimposing several part-of-body motions corresponding to an event.

The superimposition can be executed by either dropping a motion file (.vmd) with “Shift” key, or using the PART option at MOTION_ADD command in dialog scenario file (.fst).  For example, when executing a superimposition of a motion of raising-right-hand, you should prepare a motion raising the right hand as shown below.

raising right hand

You can superimpose this part-of-body motion by dropping the motion file (.vmd) with “Shift” key pressed to the agent already running a base motion.  Then, the agent will start the raising-right-hand motion, while still keeping the base motion at the remaining bones.  Note that the first frame of the superimposed motion will be ignored.

motion superimposition

=== Japanese ========================================

MMDAgent では,複数のモーションを任意のタイミングで重ねあわせて再生できます.これにより,まばたきや腕の動きなどの部分的なモーションをイベントに対応付けて実行することができます.

重ねあわせの再生は,「Shift」キーを押しながらモーションファイル(.vmd)をD&Dするか,あるいは MOTION_ADDコマンド の PART オプションを用います.例えば,右手を挙げるモーションを重ねたい場合,まず以下の図のように右手のみを挙げるモーションを作成します.

raising right hand

次に MMDAgent を起動してキャラクターを待機させておき,「Shift」 キーを押しながら先ほど作成したモーションファイル(.vmd)をキャラクターへD&Dすると,右手以外は待機のモーションを保ったまま右手を挙げるモーションが重ねて実行されます.この重ねあわせ再生では0 フレーム目が無視されるため,0フレーム目以外にキーフレームがあるボーン(この場合は右手)が実行されます.

motion superimposition

CC-BY-NC Copyright 2009-2011 Nagoya Institute of Technology (MMDAgent Model “Mei”)
CC-BY Copyright 2009-2011 Nagoya Institute of Technology (MMDAgent Accessory “NIT Menu”, MMDAgent Motion “Wait of Mei”)

Camera and lighting

October 12, 2012

Differences between MMDAgent and MikuMikuDance in camera parameters and lighting are as follows:

  • The default camera parameters, “distance” and “fovy”, are set to 100 and 16, which differs from MikuMikuDance’s default values:  35 and 45.
  • The angle of camera rotation around Y-axis is reversed.  A camera motion will be converted automatically inside MMDAgent.
    camera rotation around Y-axis is reversed
  • Perspectives are always enabled.
  • Light motion is not supported.

=== Japanese ========================================

MikuMikuDance とのカメラ及び照明に関する仕様の違いは以下の通りです.

  • MMDAgent を起動した時のカメラ距離,視野角はそれぞれ100, 16です.MikuMikuDance ではそれぞれ35, 45です.
  • カメラのY 軸を中心とした回転の向きがMikuMikuDance と逆です.カメラモーションを読み込む際は,内部で自動的に変換します.
    camera rotation around Y-axis is reversed
  • 遠近法(パースペクティブ)は常に有効です.
  • 照明のモーションはサポートしていません.