Git Product home page Git Product logo

hkrn / mmdai Goto Github PK

View Code? Open in Web Editor NEW
126.0 20.0 28.0 21.23 MB

[DEVELOPMENT HAS BEEN DISCONTINUED] The successor of MMDAI is https://github.com/hkrn/nanoem / MMDAI was a fork project of MMDAgent and VPVM a.k.a. MMDAI2 was an application to create a motion compatible with MMD for OSX/Linux that is extended from MMDAI

Ruby 0.03% C++ 91.68% C 0.30% Objective-C 0.12% JavaScript 0.18% Shell 0.03% Perl 0.02% QML 5.30% Objective-C++ 0.17% CMake 1.36% QMake 0.55% GLSL 0.26%

mmdai's Introduction

The development of MMDAI/VPVM has been discontinued.

If you find the alternative of MMDAI/VPVM, it will be nanoem. (Japanese page)

mmdai's People

Contributors

hkrn avatar jues-zz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mmdai's Issues

PMX support

フォーマットの利用規約の事情から 修正 BSD ではなく GPL を適用して PMX を読み込んで表示する最低限の実装を入れる。ただし優先度は非常に低い。

Build fails on X11

X11 build fails for typos in the constructors of QMAApplication class. Please apply the following patch.

--- a/QMA/QMAWindow.h
+++ b/QMA/QMAWindow.h
@@ -57,8 +57,8 @@ public:
     QMAApplication(int &argc, char **argv, bool GUIenabled) : QApplication(argc, argv, GUIenabled) {}
     QMAApplication(int &argc, char **argv, Type type) : QApplication(argc, argv, type) {}
 #if defined(Q_WS_X11)
-    QApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0) : QApplication(dpy, visual, cmap) {}
-    QApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap= 0) : QApplication(dpy, argc, argv, visual, cmap) {}
+    QMAApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0) : QApplication(dpy, visual, cmap) {}
+    QMAApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap= 0) : QApplication(dpy, argc, argv, visual, cmap) {}
 #endif
 
 signals:

OpenCL support for skinning transform

OpenCL を用いたスキニングの実装。頂点シェーダによるスキニングを試したが、以下の問題があることがわかった。そのことを除けば現状の CPU と比べると明らかに高速になり、CPU 負荷率が下がった。

  • 頂点シェーダのユニット数に制限があるため、ボーン数が多いと簡単に制限を超えてしまう
    • デスクトップはまだしも、モバイルではデスクトップと比較して制限値が低い
    • モバイルでは表示崩れを起こしやすい
  • レンダリングすると CPU スキニングを行った時と比較して色が異なる

problem loading .fst, .mdf, .ojt files

Hi,

After MMDAI has been built, I copied it to README_QtMMDAI_lnx32 with all the config files for the model, stage, etc. However, nothing seem to show in the window. I suspect .fst, .mdf and .ojt files do not get loaded. Could you advise me how to actually load them?

Thanks,
Max

maxim@sal:~/tmp/MMDAI$ ls
Accessory INSTALL.sh.sample MMDAI Model README Voice
AppData LICENSES MMDAI.fst Motion README_QtMMDAI_lnx32
DOCS MMDAgent_Example-beta MMDAI.mdf Plugins Stage
Expression MMDAgent_win32-beta MMDAI.ojt QtMMDAI start.sh

maxim@sal:~/tmp/MMDAI$ padsp ./MMDAI
"[INFO] 2011/08/01 01:19:20 GLSceneRenderEngine.h:1010 Shadow mapping disabled
"
Object::connect: No such slot QMAAquesTalk2Plugin::load(MMDAI::SceneController_,QString)
Object::connect: No such slot QMAAquesTalk2Plugin::unload()
Object::connect: No such slot QMAAquesTalk2Plugin::receiveCommand(QString,QList)
Object::connect: No such slot QMAAquesTalk2Plugin::receiveEvent(QString,QList)
Object::connect: No such signal QMAAquesTalk2Plugin::commandPost(QString,QList)
Object::connect: No such signal QMAAquesTalk2Plugin::eventPost(QString,QList)
"[INFO] 2011/08/01 01:19:20 QMAScenePlayer.cc:1132 QMAAquesTalk2Plugin was loaded successfully
"
Object::connect: No such slot QMAAudioPlugin::load(MMDAI::SceneController_,QString)
Object::connect: No such slot QMAAudioPlugin::unload()
Object::connect: No such slot QMAAudioPlugin::receiveCommand(QString,QList)
Object::connect: No such slot QMAAudioPlugin::receiveEvent(QString,QList)
Object::connect: No such signal QMAAudioPlugin::commandPost(QString,QList)
Object::connect: No such signal QMAAudioPlugin::eventPost(QString,QList)
"[INFO] 2011/08/01 01:19:20 QMAScenePlayer.cc:1132 QMAAudioPlugin was loaded successfully
"
QSystemTrayIcon::setVisible: No Icon set
Object::connect: No such slot QMAJuliusPlugin::load(MMDAI::SceneController_,QString)
Object::connect: No such slot QMAJuliusPlugin::unload()
Object::connect: No such slot QMAJuliusPlugin::receiveCommand(QString,QList)
Object::connect: No such slot QMAJuliusPlugin::receiveEvent(QString,QList)
Object::connect: No such signal QMAJuliusPlugin::commandPost(QString,QList)
Object::connect: No such signal QMAJuliusPlugin::eventPost(QString,QList)
"[INFO] 2011/08/01 01:19:20 QMAScenePlayer.cc:1132 QMAJuliusPlugin was loaded successfully
"
Object::connect: No such slot QMALookAtPlugin::load(MMDAI::SceneController_,QString)
Object::connect: No such slot QMALookAtPlugin::unload()
Object::connect: No such slot QMALookAtPlugin::receiveCommand(QString,QList)
Object::connect: No such slot QMALookAtPlugin::receiveEvent(QString,QList)
Object::connect: No such signal QMALookAtPlugin::commandPost(QString,QList)
Object::connect: No such signal QMALookAtPlugin::eventPost(QString,QList)
"[INFO] 2011/08/01 01:19:20 QMAScenePlayer.cc:1132 QMALookAtPlugin was loaded successfully
"
Object::connect: No such slot QMAOpenJTalkPlugin::load(MMDAI::SceneController_,QString)
Object::connect: No such slot QMAOpenJTalkPlugin::unload()
Object::connect: No such slot QMAOpenJTalkPlugin::receiveCommand(QString,QList)
Object::connect: No such slot QMAOpenJTalkPlugin::receiveEvent(QString,QList)
Object::connect: No such signal QMAOpenJTalkPlugin::commandPost(QString,QList)
Object::connect: No such signal QMAOpenJTalkPlugin::eventPost(QString,QList)
"[INFO] 2011/08/01 01:19:20 QMAScenePlayer.cc:1132 QMAOpenJTalkPlugin was loaded successfully
"
Object::connect: No such slot QMAVILuaPlugin::load(MMDAI::SceneController_,QString)
Object::connect: No such slot QMAVILuaPlugin::unload()
Object::connect: No such slot QMAVILuaPlugin::receiveCommand(QString,QList)
Object::connect: No such slot QMAVILuaPlugin::receiveEvent(QString,QList)
Object::connect: No such signal QMAVILuaPlugin::commandPost(QString,QList)
Object::connect: No such signal QMAVILuaPlugin::eventPost(QString,QList)
"[INFO] 2011/08/01 01:19:20 QMAScenePlayer.cc:1132 QMAVILuaPlugin was loaded successfully
"
Object::connect: No such slot QMAVIManagerPlugin::load(MMDAI::SceneController*,QString)
Object::connect: No such slot QMAVIManagerPlugin::unload()
Object::connect: No such slot QMAVIManagerPlugin::receiveCommand(QString,QList)
Object::connect: No such slot QMAVIManagerPlugin::receiveEvent(QString,QList)
Object::connect: No such signal QMAVIManagerPlugin::commandPost(QString,QList)
Object::connect: No such signal QMAVIManagerPlugin::eventPost(QString,QList)
"[INFO] 2011/08/01 01:19:20 QMAScenePlayer.cc:1132 QMAVIManagerPlugin was loaded successfully

use libav version 9.1 - no code change required

I have tested libav version 9.1. No code change.
Just a remove --disable-ffmpeg option from ./configure argument.

$ diff build.pl build.pl.old
68c67
< my $LIBAV_TAG = 'v9.1';


my $LIBAV_TAG = 'v0.8.4';
118a118
'--disable-ffmpeg',
122a123
'--disable-ffmpeg',

Playing audio support

#23 と似ているが、こちらは再生時に音声を出力できるようにすること。出力は PortAudio を使う予定。リリース目標は α18

GNU/Linux向けの代替

このMMDAIは開発が停止され、最終バージョンである"0.34.2"のコミットは2014年4月6日であり、
その代替であるnanoemがmacOS(/Windows)向けの代替(後継?)のようですが、
nanoemは今の所プロプライエタリで、かつGNU/Linuxをサポートしていないようです…
オープンソースなGNU/Linux向けのMMDAIの代替はありますか?

Creating a project support for VPVM (MMDAI2)

XML 形式のプロジェクトファイルのサポート。フォーマットはオープンであり、策定中。現在進行形で実施中。

  • 当初はバイナリで実装する予定だった
    • 最初の実装はまだしも、拡張するにつれて変更及び保守するコストが上がる
    • 当然のことながらバイナリにすると可読性が低くなる
    • 汎用的なバイナリシリアライズライブラリで自分が使いたいものがなかった
  • XML にした理由
    • フォーマットがすでに成熟したものであり、決定打といえるライブラリがある (libxml2)
    • テキストフォーマットなので、可読性がある

MMDAI2 play does not play .wav file while mortion is playing

I have found a few issue and has been amended a some files.
This might raise for Video generator and need to review the change.

- MMDAI/VPVM/ScenePlayer.cc 2013-01-03 22:54:45.000000000 +0900

* Enabled audio in ScenePlay

* Binary released version did not play audio

- MMDAI/VPVM/common/SceneLoader.cc 2013-01-03 22:54:45.000000000 +0900

* Set the saveProject temporary file path -- maybe some other way to fix this

* No issue with binary released version, but an issue in my build

- MMDAI/VPVM/video/AVCommon.cc 2013-01-03 22:54:46.000000000 +0900

* Added detail warning messages

- MMDAI/VPVM/video/AudioDecoder.cc 2013-01-03 22:54:46.000000000 +0900

* Moved m_audioContext and m_formatContext to class member variable

* Removed filter for audioContext->channels == 2 and sample_rate == 44100

* Used audioContext->sample_rate for play back

* Added checks for formatContext.isNull() and audioCOntext.isNull()

- MMDAI/VPVM/video/AudioDecoder.h 2013-01-03 22:54:46.000000000 +0900

* Moved m_audioContext and m_formatContext to class member variable

- MMDAI/VPVM/video/AudioPlayer.cc 2013-01-03 22:54:46.000000000 +0900

* Copied libav initialize into AudioPlayer::initializePlayer() - from VideoEncoder.cc

* Used audioContext->channels and audioContext->sample_rate for play back

- MMDAI/VPVM/video/IAudioDecoder.h 2013-01-03 22:54:46.000000000 +0900

* Removed "const" due to the moved m_audioContext and m_formatContext to class member variable

- MMDAI/scripts/build.pl 2013-01-03 22:54:46.000000000 +0900

* used PORTAUDIO_REVISION = 1880 - supported OSX 10.8.2

* used LIBAV_TAG = 'v0.8.4'

* used Qt 5.0 - different for individual machine

* force to link with libportaudio.a - probably not needed

- MMDAI/scripts/osx_deploy.sh 2013-01-03 22:54:46.000000000 +0900

* directory checking to be more generic

Running Linux 32 binary on Ubuntu 10.4, audio problem

Hi,

Not sure where the problem is since the log doesn't seem to indicate an error ... but basically Mei doesn't respond to anything I speak to the mic.. and doesn't move much either... Log included.. thanks!

Maxim

maxim@sal:~/tmp/MMDAI$ ./start.sh
"[WARNING] 2011/07/13 01:17:34 QMAWidget.cc:167 libQMAAquesTalk2Plugin.so was not loaded by an error: Cannot load library /home/maxim/tmp/MMDAI/Plugins/libQMAAquesTalk2Plugin.so: (libAquesTalk2.so.1: cannot open shared object file: No such file or directory)
"
"[INFO] 2011/07/13 01:17:34 QMAWidget.cc:196 QMAAudioPlugin was loaded successfully
"
QSystemTrayIcon::setVisible: No Icon set
"[INFO] 2011/07/13 01:17:34 QMAWidget.cc:196 QMAJuliusPlugin was loaded successfully
"
"[INFO] 2011/07/13 01:17:34 QMAWidget.cc:196 QMALookAtPlugin was loaded successfully
"
"[INFO] 2011/07/13 01:17:34 QMAWidget.cc:196 QMAOpenJTalkPlugin was loaded successfully
"
"[INFO] 2011/07/13 01:17:34 QMAWidget.cc:196 QMAVILuaPlugin was loaded successfully
"
"[INFO] 2011/07/13 01:17:34 QMAWidget.cc:196 QMAVIManagerPlugin was loaded successfully
"
STAT: jconf successfully finalized
STAT: *** loading AM00 _default
Stat: init_phmm: Reading in HMM definition
Executing a lua script error: cannot open mmdai:/MMDAI.lua: No such file or directory
delegateCommand command="MODEL_ADD", arguments=("メイ", "Model¥mei¥mei.pmd", "0.0,0.0,-14.0")
"[DEBUG] 2011/07/13 01:17:34 PMDModel_parse.cc:109 name="Mei", comment="MMDAgent Model "Mei"
released by MMDAgent Project Team
http://www.mmdagent.jp/
Copyright (c) 2009-2011
Nagoya Institute of Technology Department of Computer Science
"
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="skirt.tga", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=5.00, numSurface=891, toonID=1, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="shoes.bmp", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=5.00, numSurface=1248, toonID=1, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="vest.bmp", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=4062, toonID=1, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="blouse_arm.bmp", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=2046, toonID=1, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="blouse.bmp", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=1230, toonID=1, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="leg.bmp", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=1656, toonID=5, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="eye.bmp", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=672, toonID=5, edge=0
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="te.bmp", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=4590, toonID=5, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="", ambient=(0.90, 0.85, 0.90), diffuse=(0.90, 0.90, 0.90), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=288, toonID=10, edge=0
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="face.bmp", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=2826, toonID=5, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="neck.bmp", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=408, toonID=5, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="face.bmp", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=282, toonID=5, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="hair3.tga", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=630, toonID=1, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="hair2.tga", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=318, toonID=1, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="hair1.tga", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=255, toonID=1, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="ho.tga", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.10, 0.10, 0.10), alpha=1.00, shiness=1.00, numSurface=1698, toonID=5, edge=1
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="センター", parentID=-1, childID=72, type=1, position=(0.00, 8.58, 0.00)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="上半身", parentID=0, childID=2, type=0, position=(0.00, 13.29, -0.43)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="首", parentID=1, childID=3, type=0, position=(0.00, 17.28, 0.00)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="頭", parentID=2, childID=57, type=0, position=(0.00, 17.90, -0.06)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左目", parentID=3, childID=58, type=5, position=(0.46, 19.01, -0.81)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右目", parentID=3, childID=59, type=5, position=(-0.46, 19.01, -0.81)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="下半身", parentID=0, childID=56, type=0, position=(0.00, 13.40, -0.41)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左肩", parentID=1, childID=8, type=0, position=(0.35, 16.64, 0.00)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左腕", parentID=7, childID=9, type=0, position=(1.15, 16.56, -0.20)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左ひじ", parentID=8, childID=10, type=0, position=(3.80, 14.94, 0.15)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左手首", parentID=9, childID=60, type=0, position=(6.10, 13.44, 0.12)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左親指1", parentID=10, childID=12, type=0, position=(6.50, 12.74, -0.26)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左親指2", parentID=11, childID=61, type=0, position=(6.77, 12.42, -0.36)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左人指1", parentID=10, childID=14, type=0, position=(6.96, 12.89, -0.15)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左人指2", parentID=13, childID=15, type=0, position=(7.35, 12.63, -0.13)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左人指3", parentID=14, childID=62, type=0, position=(7.55, 12.45, -0.11)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左中指1", parentID=10, childID=17, type=0, position=(6.92, 12.88, 0.02)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左中指2", parentID=16, childID=18, type=0, position=(7.34, 12.63, 0.05)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左中指3", parentID=17, childID=63, type=0, position=(7.56, 12.47, 0.08)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左薬指1", parentID=10, childID=20, type=0, position=(6.92, 12.88, 0.23)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左薬指2", parentID=19, childID=21, type=0, position=(7.30, 12.61, 0.25)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左薬指3", parentID=20, childID=64, type=0, position=(7.52, 12.46, 0.25)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左小指1", parentID=10, childID=23, type=0, position=(6.84, 12.92, 0.42)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左小指2", parentID=22, childID=24, type=0, position=(7.16, 12.61, 0.44)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左小指3", parentID=23, childID=65, type=0, position=(7.35, 12.50, 0.44)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右肩", parentID=1, childID=26, type=0, position=(-0.35, 16.64, 0.00)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右腕", parentID=25, childID=27, type=0, position=(-1.15, 16.56, -0.20)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右ひじ", parentID=26, childID=28, type=0, position=(-3.80, 14.94, 0.15)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右手首", parentID=27, childID=66, type=0, position=(-6.10, 13.44, 0.12)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右親指1", parentID=28, childID=30, type=0, position=(-6.50, 12.74, -0.26)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右親指2", parentID=29, childID=67, type=0, position=(-6.77, 12.42, -0.36)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右人指1", parentID=28, childID=32, type=0, position=(-6.96, 12.89, -0.15)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右人指2", parentID=31, childID=33, type=0, position=(-7.35, 12.63, -0.13)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右人指3", parentID=32, childID=68, type=0, position=(-7.55, 12.45, -0.11)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右中指1", parentID=28, childID=35, type=0, position=(-6.92, 12.88, 0.02)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右中指2", parentID=34, childID=36, type=0, position=(-7.34, 12.63, 0.05)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右中指3", parentID=35, childID=69, type=0, position=(-7.56, 12.47, 0.08)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右薬指1", parentID=28, childID=38, type=0, position=(-6.92, 12.88, 0.23)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右薬指2", parentID=37, childID=39, type=0, position=(-7.30, 12.61, 0.25)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右薬指3", parentID=38, childID=70, type=0, position=(-7.52, 12.46, 0.25)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右小指1", parentID=28, childID=41, type=0, position=(-6.84, 12.92, 0.42)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右小指2", parentID=40, childID=42, type=0, position=(-7.16, 12.61, 0.44)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右小指3", parentID=41, childID=71, type=0, position=(-7.35, 12.50, 0.44)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左足", parentID=6, childID=44, type=4, position=(0.75, 11.71, -0.17)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左ひざ", parentID=43, childID=45, type=4, position=(0.98, 6.97, -0.15)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左足首", parentID=44, childID=50, type=4, position=(1.07, 1.56, -0.16)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右足", parentID=6, childID=47, type=4, position=(-0.75, 11.71, -0.17)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右ひざ", parentID=46, childID=48, type=4, position=(-0.98, 6.97, -0.15)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右足首", parentID=47, childID=51, type=4, position=(-1.07, 1.56, -0.16)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="両目", parentID=3, childID=73, type=0, position=(0.00, 21.73, -1.01)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左つま先", parentID=45, childID=0, type=6, position=(1.05, 0.13, -2.16)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右つま先", parentID=48, childID=0, type=6, position=(-1.05, 0.13, -2.16)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左足IK", parentID=-1, childID=74, type=2, position=(1.07, 1.56, -0.16)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右足IK", parentID=-1, childID=75, type=2, position=(-1.07, 1.56, -0.16)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左つま先IK", parentID=52, childID=76, type=2, position=(1.05, 0.13, -2.16)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右つま先IK", parentID=53, childID=77, type=2, position=(-1.05, 0.13, -2.16)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="下半身先", parentID=6, childID=0, type=7, position=(0.00, 11.88, -0.28)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="頭先", parentID=3, childID=0, type=7, position=(0.00, 20.18, 0.00)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左目先", parentID=4, childID=0, type=7, position=(0.45, 19.00, -1.10)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右目先", parentID=5, childID=0, type=7, position=(-0.45, 19.00, -1.10)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左手先", parentID=10, childID=0, type=7, position=(6.88, 12.94, 0.18)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左親指先", parentID=12, childID=0, type=7, position=(6.94, 12.24, -0.36)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左人指指先", parentID=15, childID=0, type=7, position=(7.73, 12.34, -0.08)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左中指先", parentID=18, childID=0, type=7, position=(7.80, 12.30, 0.09)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左薬指先", parentID=21, childID=0, type=7, position=(7.72, 12.33, 0.25)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左小指先", parentID=24, childID=0, type=7, position=(7.52, 12.40, 0.44)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右手先", parentID=28, childID=0, type=7, position=(-6.88, 12.94, 0.18)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右親指先", parentID=30, childID=0, type=7, position=(-6.94, 12.24, -0.36)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右人指指先", parentID=33, childID=0, type=7, position=(-7.73, 12.34, -0.08)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右中指先", parentID=36, childID=0, type=7, position=(-7.80, 12.30, 0.09)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右薬指先", parentID=39, childID=0, type=7, position=(-7.72, 12.33, 0.25)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右小指先", parentID=42, childID=0, type=7, position=(-7.52, 12.40, 0.44)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="センター先", parentID=0, childID=0, type=7, position=(0.00, -0.41, 0.00)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="両目先", parentID=49, childID=0, type=7, position=(0.00, 21.40, -2.20)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左足IK先", parentID=52, childID=0, type=7, position=(1.06, 1.56, 1.28)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右足IK先", parentID=53, childID=0, type=7, position=(-1.06, 1.56, 1.28)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="左つま先IK先", parentID=54, childID=0, type=7, position=(1.06, -0.71, -2.14)
"
"[DEBUG] 2011/07/13 01:17:34 PMDBone.cc:164 name="右つま先IK先", parentID=55, childID=0, type=7, position=(-1.06, -0.71, -2.14)
"
"[DEBUG] 2011/07/13 01:17:34 PMDIK.cc:104 destBone=144373884, targetBone=144372316, numBone=2, numIteration=40, angleConstraint=1.57
"
"[DEBUG] 2011/07/13 01:17:34 PMDIK.cc:104 destBone=144374108, targetBone=144372988, numBone=2, numIteration=40, angleConstraint=1.57
"
"[DEBUG] 2011/07/13 01:17:34 PMDIK.cc:104 destBone=144374332, targetBone=144373436, numBone=1, numIteration=3, angleConstraint=3.14
"
"[DEBUG] 2011/07/13 01:17:34 PMDIK.cc:104 destBone=144374556, targetBone=144373660, numBone=1, numIteration=3, angleConstraint=3.14
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="base", type=0, numVertex=2578
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="口_微笑", type=3, numVertex=434
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="発音「あ」", type=3, numVertex=578
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="あ", type=3, numVertex=578
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="発音「い」", type=3, numVertex=504
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="い", type=3, numVertex=504
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="発音「う」", type=3, numVertex=530
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="う", type=3, numVertex=530
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="発音「え」", type=3, numVertex=566
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="発音「お」", type=3, numVertex=578
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="お", type=3, numVertex=578
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="発音「ん」", type=3, numVertex=486
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="目_閉じ", type=2, numVertex=587
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="まばたき", type=2, numVertex=587
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="目_微笑", type=2, numVertex=486
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="笑い", type=2, numVertex=486
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="目_困る", type=2, numVertex=324
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="目_怒る", type=2, numVertex=558
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="眉_微笑", type=1, numVertex=318
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="にこり", type=1, numVertex=318
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="眉_困る", type=1, numVertex=354
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="困る", type=1, numVertex=354
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="眉_怒る", type=1, numVertex=332
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="怒り", type=1, numVertex=332
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="眉_下", type=1, numVertex=406
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="下", type=1, numVertex=406
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="眉_上", type=1, numVertex=314
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="上", type=1, numVertex=314
"
"[DEBUG] 2011/07/13 01:17:34 PMDFace.cc:115 name="その他_頬", type=4, numVertex=1230
"
"[DEBUG] 2011/07/13 01:17:34 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Model/mei/toon01.bmp
"
"[DEBUG] 2011/07/13 01:17:34 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Model/mei/toon02.bmp
"
"[DEBUG] 2011/07/13 01:17:34 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Model/mei/toon03.bmp
"
"[DEBUG] 2011/07/13 01:17:34 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Model/mei/toon04.bmp
"
"[DEBUG] 2011/07/13 01:17:34 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Model/mei/toon05.bmp
"
"[DEBUG] 2011/07/13 01:17:34 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Model/mei/toon06.bmp
"
"[DEBUG] 2011/07/13 01:17:34 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Model/mei/toon07.bmp
"
"[DEBUG] 2011/07/13 01:17:34 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Model/mei/toon08.bmp
"
"[DEBUG] 2011/07/13 01:17:34 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Model/mei/toon09.bmp
"
"[DEBUG] 2011/07/13 01:17:34 PMDRigidBody.cc:195 name=頭
"
"[DEBUG] 2011/07/13 01:17:34 PMDRigidBody.cc:195 name=上半身
"
"[DEBUG] 2011/07/13 01:17:34 PMDRigidBody.cc:195 name=左腕
"
"[DEBUG] 2011/07/13 01:17:34 PMDRigidBody.cc:195 name=右腕
"
"[DEBUG] 2011/07/13 01:17:34 PMDRigidBody.cc:195 name=左肘
"
"[DEBUG] 2011/07/13 01:17:34 PMDRigidBody.cc:195 name=右肘
"
"[DEBUG] 2011/07/13 01:17:34 PMDRigidBody.cc:195 name=下半身
"
"[DEBUG] 2011/07/13 01:17:34 PMDRigidBody.cc:195 name=左もも
"
"[DEBUG] 2011/07/13 01:17:34 PMDRigidBody.cc:195 name=右もも
"
"[DEBUG] 2011/07/13 01:17:34 PMDRigidBody.cc:195 name=左ひざ
"
"[DEBUG] 2011/07/13 01:17:34 PMDRigidBody.cc:195 name=右ひざ
"
handleEventMessage event=MODEL_EVENT_ADD, arguments=("メイ")
Invoke mmdai_handle_event error: attempt to call a nil value
Invoke mmdai_handle_command error: attempt to call a nil value
delegateCommand command="MODEL_ADD", arguments=("メニュー", "Accessory¥menu¥menu.pmd", "0.0,-4.5,0.0", "0.0,0.0,0.0", "メイ")
"[DEBUG] 2011/07/13 01:17:34 PMDModel_parse.cc:109 name="NIT Menu", comment="MMDAgent Accessory "NIT Menu"
released by MMDAgent Project Team
http://www.mmdagent.jp/
Copyright (c) 2009-2011
Nagoya Institute of Technology Department of Computer Science
"
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="menu_01.tga", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.00, 0.00, 0.00), alpha=1.00, shiness=0.00, numSurface=6, toonID=1, edge=0
"
"[DEBUG] 2011/07/13 01:17:34 PMDMaterial.cc:133 name="menu_02.tga", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.00, 0.00, 0.00), alpha=1.00, shiness=0.00, numSurface=6, toonID=1, edge=0
"
"[DEBUG] 2011/07/13 01:17:35 PMDMaterial.cc:133 name="menu_03.tga", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.00, 0.00, 0.00), alpha=1.00, shiness=0.00, numSurface=6, toonID=1, edge=0
"
"[DEBUG] 2011/07/13 01:17:35 PMDMaterial.cc:133 name="menu_04.tga", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.00, 0.00, 0.00), alpha=1.00, shiness=0.00, numSurface=6, toonID=1, edge=0
"
"[DEBUG] 2011/07/13 01:17:35 PMDMaterial.cc:133 name="menu_05.tga", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.00, 0.00, 0.00), alpha=1.00, shiness=0.00, numSurface=6, toonID=1, edge=0
"
"[DEBUG] 2011/07/13 01:17:35 PMDMaterial.cc:133 name="menu_06.tga", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.00, 0.00, 0.00), alpha=1.00, shiness=0.00, numSurface=6, toonID=1, edge=0
"
"[DEBUG] 2011/07/13 01:17:35 PMDMaterial.cc:133 name="menu_07.tga", ambient=(1.00, 1.00, 1.00), diffuse=(1.00, 1.00, 1.00), specular=(0.00, 0.00, 0.00), alpha=1.00, shiness=0.00, numSurface=6, toonID=1, edge=0
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="センター", parentID=-1, childID=9, type=1, position=(0.00, 0.00, 0.00)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニューセンター", parentID=0, childID=10, type=1, position=(0.00, 13.50, 0.00)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー1", parentID=1, childID=11, type=1, position=(4.30, 13.50, -3.42)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー2", parentID=1, childID=12, type=1, position=(5.36, 13.50, 1.24)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー3", parentID=1, childID=13, type=1, position=(2.37, 13.50, 4.96)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー4", parentID=1, childID=14, type=1, position=(-2.41, 13.50, 4.94)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー5", parentID=1, childID=15, type=1, position=(-5.37, 13.50, 1.19)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー6", parentID=1, childID=16, type=1, position=(-4.27, 13.50, -3.46)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー7", parentID=1, childID=17, type=1, position=(0.00, 13.50, -5.50)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="センター先", parentID=0, childID=0, type=7, position=(0.00, 0.00, 0.00)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニューセンター先", parentID=1, childID=0, type=7, position=(0.00, 0.00, 0.00)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー1先", parentID=2, childID=0, type=7, position=(5.09, 13.50, -4.05)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー2先", parentID=3, childID=0, type=7, position=(6.33, 13.50, 1.46)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー3先", parentID=4, childID=0, type=7, position=(2.80, 13.50, 5.87)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー4先", parentID=5, childID=0, type=7, position=(-2.85, 13.50, 5.84)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー5先", parentID=6, childID=0, type=7, position=(-6.35, 13.50, 1.41)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー6先", parentID=7, childID=0, type=7, position=(-5.05, 13.50, -4.09)
"
"[DEBUG] 2011/07/13 01:17:35 PMDBone.cc:164 name="メニュー7先", parentID=8, childID=0, type=7, position=(0.00, 13.50, -6.50)
"
"[DEBUG] 2011/07/13 01:17:35 PMDFace.cc:115 name="base", type=0, numVertex=28
"
"[DEBUG] 2011/07/13 01:17:35 PMDFace.cc:115 name="menu_00", type=4, numVertex=28
"
"[DEBUG] 2011/07/13 01:17:35 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Accessory/menu/toon01.bmp
"
"[DEBUG] 2011/07/13 01:17:35 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Accessory/menu/toon02.bmp
"
"[DEBUG] 2011/07/13 01:17:35 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Accessory/menu/toon03.bmp
"
"[DEBUG] 2011/07/13 01:17:35 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Accessory/menu/toon04.bmp
"
"[DEBUG] 2011/07/13 01:17:35 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Accessory/menu/toon05.bmp
"
"[DEBUG] 2011/07/13 01:17:35 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Accessory/menu/toon06.bmp
"
"[DEBUG] 2011/07/13 01:17:35 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Accessory/menu/toon07.bmp
"
"[DEBUG] 2011/07/13 01:17:35 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Accessory/menu/toon08.bmp
"
"[DEBUG] 2011/07/13 01:17:35 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Accessory/menu/toon09.bmp
"
"[DEBUG] 2011/07/13 01:17:35 QMAModelLoader.cc:192 Image not found: /home/maxim/tmp/MMDAI/Accessory/menu/toon10.bmp
"
handleEventMessage event=MODEL_EVENT_ADD, arguments=("メニュー")
Invoke mmdai_handle_event error: attempt to call a nil value
Invoke mmdai_handle_command error: attempt to call a nil value
delegateCommand command="MOTION_ADD", arguments=("メニュー", "回転", "Motion¥menu_rotation¥menu_rotation.vmd", "FULL", "LOOP", "OFF")
handleEventMessage event=MOTION_EVENT_ADD, arguments=("メニュー", "回転")
Invoke mmdai_handle_event error: attempt to call a nil value
Invoke mmdai_handle_command error: attempt to call a nil value
delegateCommand command="STAGE", arguments=("Stage¥building2¥floor.bmp,Stage¥building2¥background.bmp")
handleEventMessage event=FLOOR, arguments=("/home/maxim/tmp/MMDAI/Stage/building2/floor.bmp")
Invoke mmdai_handle_event error: attempt to call a nil value
handleEventMessage event=BACKGROUND, arguments=("/home/maxim/tmp/MMDAI/Stage/building2/background.bmp")
Invoke mmdai_handle_event error: attempt to call a nil value
Invoke mmdai_handle_command error: attempt to call a nil value
delegateCommand command="MOTION_ADD", arguments=("メイ", "base", "Motion¥mei_wait¥mei_wait.vmd", "FULL", "LOOP")
handleEventMessage event=MOTION_EVENT_ADD, arguments=("メイ", "base")
Invoke mmdai_handle_event error: attempt to call a nil value
Invoke mmdai_handle_command error: attempt to call a nil value
delegateCommand command="TIMER_START", arguments=("idle1", "20")
Invoke mmdai_handle_command error: attempt to call a nil value
delegateCommand command="TIMER_START", arguments=("idle2", "40")
Invoke mmdai_handle_command error: attempt to call a nil value
delegateCommand command="TIMER_START", arguments=("idle3", "60")
Invoke mmdai_handle_command error: attempt to call a nil value
Stat: rdhmmdef: ascii format HMM definition
Stat: rdhmmdef: limit check passed
Stat: rdhmmdef: this HMM does not need multipath handling
Stat: init_phmm: defined HMMs: 9763
Stat: init_phmm: loading ascii hmmlist
Stat: init_phmm: logical names: 75811 in HMMList
Stat: init_phmm: base phones: 43 used in logical
Stat: init_phmm: finished reading HMM definitions
STAT: making pseudo bi/mono-phone for IW-triphone
Stat: hmm_lookup: 3567 pseudo phones are added to logical HMM list
STAT: *** AM00 _default loaded
STAT: *** loading LM00 _default
Stat: init_voca: read 60250 words
Stat: init_ngram: reading in binary n-gram from /home/maxim/tmp/MMDAI/AppData/Julius/lang_m/web.60k.8-8.bingramv4.gz
stat: ngram_read_bin_compat: reading 1-gram
Stat: ngram_read_bin_compat: reading 2-gram
Stat: ngram_read_bin_compat: reading 3-gram
Stat: ngram_read_bin: making entry name index
Stat: init_ngram: finished reading n-gram
Stat: init_ngram: unknown words will be mapped to ""
Stat: init_ngram: mapping dictonary words to n-gram entries
Stat: init_ngram: finished word-to-ngram mapping
STAT: *** LM00 _default loaded
STAT: ------
STAT: All models are ready, go for final fusion
STAT: [1] create MFCC extraction instance(s)
STAT: *** create MFCC calculation modules from AM
STAT: AM 0 _default: create a new module MFCC01
STAT: 1 MFCC modules created
STAT: [2] create recognition processing instance(s) with AM and LM
STAT: composing recognizer instance SR00 _default (AM00 _default, LM00 _default)
STAT: Building HMM lexicon tree
STAT: lexicon size: 464019+19123=483142
STAT: coordination check passed
STAT: make successor lists for unigram factoring
STAT: done
STAT: 1-gram factoring values has been pre-computed
STAT: SR00 _default composed
STAT: [3] initialize for acoustic HMM calculation
Stat: outprob_init: state-level mixture PDFs, use calc_mix()
Stat: addlog: generating addlog table (size = 1953 kB)
Stat: addlog: addlog table generated
STAT: [4] prepare MFCC storage(s)
STAT: [5] prepare for real-time decoding
STAT: All init successfully done

STAT: ###### initialize input device
Stat: adin_oss: device name = /dev/dsp (application default)
Stat: adin_oss: sampling rate = 16000Hz
Stat: adin_oss: going to set latency to 50 msec
Stat: adin_oss: audio I/O Latency = 32 msec (fragment size = 512 samples)
STAT: AD-in thread created
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?
Warning: adin_oss: no data fragment after 300 msec?

LipSync doesn't work

The LipSync feature doesn't work at all in my system.

I investigated this problem and found that the bug is in QMALipSyncLoader::load().

In this function, expression names and phone names are copied from .lip file as follows:

int len = data.length();
char *s = new char[len];
memcpy(s, data.constData(), len);

but these copies of the strings don't have information of their lengths, so MotionController::setup() and LipSync::createMotion() cannot compare correctly the face names and the phone names, respectively.

I modified the codes as follows to copy '\0' at the ends of the names:

int len = data.length();
char *s = new char[len + 1];
memcpy(s, data.constData(), len + 1);

and confirmed the LipSync works for me.

FPS delay by m_progress->setWindowModality(Qt::ApplicationModal);

When I supressed Qt::ApplicationModal then get better (100%) frame rendering result.
The progress dialog show same FPS number in both Modal and non-Modal mode.
However, model (1.2mb) x 4 movement is significantly different.

ScreenPlayer.cc
67: {
68: // m_progress->setWindowModality(Qt::ApplicationModal);
69: }

Implement self shadow feature

MMDAgent はセルフシャドウの実装を持っているのですが、MMDAI は固定機能ではなくプログラマブルシェーダに移行した関係で未だに実装していない。何回か挑戦しているがまだうまく出来ていない。

Strange behaviors when previous session ends in fullscreen mode

MMDAI assumes it starts with the status that fullscreen mode is off (m_isFullScreen = false), but the program can actually start in fullscreen mode if the previous session ends in fullscreen mode. This inconsistency causes some strange behaviors like below:

  1. Status bar is shown in fullscreen mode
  2. toggleFullScreen() doesn't toggle fullscreen mode

The following patch should fix this bug:

--- a/QMA/QMAWindow.cc
+++ b/QMA/QMAWindow.cc
@@ -69,6 +69,9 @@ QMAWindow::QMAWindow(QWidget *parent) :
     statusBar()->showMessage("");
 
     readSetting();
+
+    if (isFullScreen())
+        toggleFullScreen();
 }
 
 QMAWindow::~QMAWindow()

problem building QMA

install.md is a bit unclear about building QMA and QMA2. First, there is a typo in

QMA をビルド

$ cd ..
$ qmake
$ make # MacOSX の場合は xcodebuild

cd .. should be cd ../QMA, perhaps?

Doing that, however, results in an error:

maxim@sal:/h/MMDAIM/QMA$ qmake
maxim@sal:
/h/MMDAIM/QMA$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/usr/include -I/usr/local/include -I/usr/include/bullet -I/usr/local/include/bullet -I/usr/X11R6/include -I. -o main.o main.cc
In file included from main.cc:49:
QMAWindow.h:60: error: ISO C++ forbids declaration of ‘QApplication’ with no type
QMAWindow.h:61: error: ISO C++ forbids declaration of ‘QApplication’ with no type
QMAWindow.h: In constructor ‘QMAApplication::QMAApplication(int&, char**)’:
QMAWindow.h:56: error: class ‘QMAApplication’ does not have any field named ‘QApplication’
QMAWindow.h:56: error: no matching function for call to ‘QApplication::QApplication()’
/usr/include/qt4/QtGui/qapplication.h:375: note: candidates are: QApplication::QApplication(const QApplication&)
/usr/include/qt4/QtGui/qapplication.h:131: note: QApplication::QApplication(Display*, int&, char**, Qt::HANDLE, Qt::HANDLE, int)
/usr/include/qt4/QtGui/qapplication.h:130: note: QApplication::QApplication(Display_, Qt::HANDLE, Qt::HANDLE, int)
/usr/include/qt4/QtGui/qapplication.h:128: note: QApplication::QApplication(int&, char__, QApplication::Type, int)
/usr/include/qt4/QtGui/qapplication.h:127: note: QApplication::QApplication(int&, char__, bool, int)
/usr/include/qt4/QtGui/qapplication.h:126: note: QApplication::QApplication(int&, char__, int)
QMAWindow.h: In constructor ‘QMAApplication::QMAApplication(int&, char__, bool)’:
QMAWindow.h:57: error: class ‘QMAApplication’ does not have any field named ‘QApplication’
QMAWindow.h:57: error: no matching function for call to ‘QApplication::QApplication()’
/usr/include/qt4/QtGui/qapplication.h:375: note: candidates are: QApplication::QApplication(const QApplication&)
/usr/include/qt4/QtGui/qapplication.h:131: note: QApplication::QApplication(Display_, int&, char**, Qt::HANDLE, Qt::HANDLE, int)
/usr/include/qt4/QtGui/qapplication.h:130: note: QApplication::QApplication(Display*, Qt::HANDLE, Qt::HANDLE, int)
/usr/include/qt4/QtGui/qapplication.h:128: note: QApplication::QApplication(int&, char**, QApplication::Type, int)
/usr/include/qt4/QtGui/qapplication.h:127: note: QApplication::QApplication(int&, char**, bool, int)
/usr/include/qt4/QtGui/qapplication.h:126: note: QApplication::QApplication(int&, char**, int)
QMAWindow.h: In constructor ‘QMAApplication::QMAApplication(int&, char**, QApplication::Type)’:
QMAWindow.h:58: error: class ‘QMAApplication’ does not have any field named ‘QApplication’
QMAWindow.h:58: error: no matching function for call to ‘QApplication::QApplication()’
/usr/include/qt4/QtGui/qapplication.h:375: note: candidates are: QApplication::QApplication(const QApplication&)
/usr/include/qt4/QtGui/qapplication.h:131: note: QApplication::QApplication(Display*, int&, char**, Qt::HANDLE, Qt::HANDLE, int)
/usr/include/qt4/QtGui/qapplication.h:130: note: QApplication::QApplication(Display_, Qt::HANDLE, Qt::HANDLE, int)
/usr/include/qt4/QtGui/qapplication.h:128: note: QApplication::QApplication(int&, char__, QApplication::Type, int)
/usr/include/qt4/QtGui/qapplication.h:127: note: QApplication::QApplication(int&, char__, bool, int)
/usr/include/qt4/QtGui/qapplication.h:126: note: QApplication::QApplication(int&, char__, int)
QMAWindow.h: In member function ‘int QMAApplication::QApplication(Display_, Qt::HANDLE, Qt::HANDLE)’:
QMAWindow.h:60: error: only constructors take base initializers
QMAWindow.h:60: error: class ‘QMAApplication’ does not have any field named ‘QApplication’
QMAWindow.h:60: warning: no return statement in function returning non-void
QMAWindow.h: In member function ‘int QMAApplication::QApplication(Display_, int&, char__, Qt::HANDLE, Qt::HANDLE)’:
QMAWindow.h:61: error: only constructors take base initializers
QMAWindow.h:61: error: class ‘QMAApplication’ does not have any field named ‘QApplication’
In file included from main.cc:49:
QMAWindow.h:61: warning: no return statement in function returning non-void
make: *_* [main.o] Error 1

Thanks!
Max

Cannot load user data if command line arg includes no dir name

When I opened a .mdf file from command line like:

cd MMDAgent_Example-rc2
QtMMDAI MMDAgent_Example.mdf

the user data such as Model and Voice could not be loaded.

If 'path' in QMAWidget::showEvent() includes no directory name, path.cdUp() takes no effect, so the file name will incorrectly remain at the end of the search path. I think the following code should fix the bug:

if (!path.cdUp()) path = QDir::current();

Cannot build QMAVIManagerPlugin on Linux (gcc)

On my system (Ubuntu 10.10 amd64 + gcc 4.5.2), the build fails at QMAVIScript.h as follows:

make -C/tmp/buildd/mmdai-1.7.3.2+git20110605/debian/plugins/QMAVIManagerPlugin
make[2]: Entering directory `/tmp/buildd/mmdai-1.7.3.2+git20110605/debian/plugins/QMAVIManagerPlugin'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../../../QMA/plugins/QMAVIManagerPlugin -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../../../MMDME/include -I../../../MMDAI/include -I/usr/include -I/usr/local/include -I/usr/include/bullet -I/usr/local/include/bullet -I../../../QMA -I. -I../../../QMA/plugins/QMAVIManagerPlugin -I. -o QMAVIManagerPlugin.o ../../../QMA/plugins/QMAVIManagerPlugin/QMAVIManagerPlugin.cc
In file included from ../../../QMA/plugins/QMAVIManagerPlugin/QMAVIManagerPlugin.h:50:0,
                 from ../../../QMA/plugins/QMAVIManagerPlugin/QMAVIManagerPlugin.cc:39:
../../../QMA/plugins/QMAVIManagerPlugin/QMAVIScript.h:84:37: error: expected ';' before '(' token

It seems that uint32_t is undefined in QMAVIScript.h , so I think that #include <MMDME/Common.h> in QMAVIScript.cc should be moved to QMAVIScript.h .

Forgot to include cstdlib in VIManager_Thread

In VIManager_Thread.cpp, calloc() and free() are used but cstdlib is not included, so the builds fail at least on my system (Ubuntu 11.04 amd64).

The following patch should fix this issue:

--- a/QMA/plugins/QMAVIManagerPlugin/VIManager_Thread.cpp
+++ b/QMA/plugins/QMAVIManagerPlugin/VIManager_Thread.cpp
@@ -38,6 +38,8 @@
 
 /* headers */
 
+#include <cstdlib>
+
 #include "QMAVIManagerPlugin.h"
 #include "VIManager.h"
 #include "VIManager_Thread.h"

Encoding video with audio support

MMDAI2 は mov コンテナの PNG 圧縮で保存できるが、音声の保存が出来ない。現在 libav に変更したため、原理的に実装が可能なので動画出力時に音声を含められるように実装を行う。コンテナは WAV を、コーデックは PCM を使う。FLAC も考えている。リリース目標は α18

Model position did not save into a project file when moved a model by keyboard short cut

When moved a model by keyboard short cut SHIFT+CMD+arrow-key, the model moved on the screen, but did not save the model postion "offset.position" into a project file.
Looks like SceneWidget::setModelPositionOffset() is never called by keyboard short cut.
However, Model Setting Tab dialog to change the value of model location does set project file "offset.position" value.

The slider of morph widget doesn't work

  • モーフスライダーが動かない不具合の問題。原因は要約するとスロット循環によるもの
  • motionDidSeek でフレーム位置が同じ場合は処理させないように変更することで循環を防ぐ。

Exit abnormally when multiple SYNTH_START commands are posted

When two SYNTH_START commands are successively posted to the same model, if the second one is received before SYNTH_EVENT_START for the first one is emitted, QMAOpenJTalkPlugin shuts down and QtMMDAI crashes.

In this case I get error messages like bellow:

WARNING: JPCommonLabel_push_word() in jpcommon_label.c: First mora should not be short pause.
WARNING: JPCommonLabelPhoneme_convert_unvoice() in jpcommon_label.c: U cannot be unvoiced.

Error: HTS_Label_load_from_fp: label list is not initialized.
セグメンテーション違反です
$

It seems that QMAOpenJTalkPlugin::run() is not thread-safe. I think this function needs mutual exclusion.

QMAVILuaPlugin: cannot load Lua script

I get an error every time I start QtMMDAI as follows:
QString::arg: Argument missing: MMDAIUserData:/%s.lua, MMDAI

Please correct a place maker in the Qstring "MMDAIUserData:/%s.lua" in QMAVILuaPlugin::load() as "MMDAIUserData:/%1.lua".

Importing BVH support

BVH の読み込みが出来ればいいな、と少し思ってる。実装はすでに libassimp が持っているので、それを活用すればいいのだが、BVH => VMD に対応するためのマッピングを考えないといけない。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.