HOME | DD

AddestorionVayanis — ARToolKit_MMD tutorial by

Published: 2011-04-03 01:56:55 +0000 UTC; Views: 55440; Favourites: 297; Downloads: 271
Redirect to original
Description Too many posts on demonstrations and work in progress on videos of ARToolkit_MMD (Augmented Reality Toolkit MikuMikuDance), but no instruction manual on how to use it.

demonstration videos, because if a picture is a thousand words, then a video must be a novel
just miku singing secret garden www.youtube.com/watch?v=yLaPU1…
she now has friends - www.youtube.com/watch?v=6BERaG…

VMDSpectrum - addestorionvayanis.deviantart.… MMDAgent - addestorionvayanis.deviantart.…

Description:
ARToolkit is a program used to display models or images on a webcam video by detecting a marker (similar technology: facial recognition). By calculating how the marker image is deformed, the program will know how the marker is oriented in real life. Using that information, it inserts a 3D model with the right orientation into the video using the marker as the center point.
Since MikuMikuDance is a free and powerful 3D modeling software, it can be used to insert a 3d model, motion data, and wave file data stored in the usual .pmm files in augmented reality.


TUTORIAL
1. download MikuMikuDance (mine is directx9 version) from www.geocities.jp/higuchuu4/ind… [note: it will work up until v803, but not with the new v9 MMD pmm files, find a backdated version if required]

2. to download ARToolkit_MMD, first go to com.nicovideo.jp/community/co3…

3. go to this link www1.axfc.net/uploader/Sc/so/1… . Click the obvious button, then on the next screen, click the one that says in english 'download now'

4. extract the files.

5. open the ARToolkit/Data folder, then print out the .pdf named pattSample1 on a piece of paper. for best results, you want to attach it to a hard surface.

6. Back on your computer, open the ARToolkit folder, open up the .ini file named setting.

7. change the #MMDDataFolderName to where you extracted your MikuMikuDance Data folder.

8. change the PMMFileName to the path where the .pmm file you want to use is located

9. you can change the scale to get a larger or smaller scaled model.

10. save and exit the .ini file.

11. run ARToolkit_MMD.exe

12. if you have a 64 bit computer, it should be screwing up saying : msvcp71 is missing. If so, copy and paste the msvcp71 and msvcr71 .dll files in the ARToolkit folder into Windows SysWOW64 folder (not system 32). run ARToolkit_MMD.exe to confirm that its fixed.

13. a windows blackscreen appears with a window named 'Property Sheet Properties.

14. Frame rate should be as high as you can, check the flip horizontal if youre using a laptop webcam, uncheck if you somehow have your webcam attached to your head. color space, i dont really care. Output size... 640 x 480 have not been giving me problems. larger than that tends to lagg. The default 640 x 400 somehow messes some stuff up a bit

15. if you run into an error, it means some models arent loading up or you didnt change the path earlier properly. if so, open MikuMikuDance, open up that .pmm file and just delete the models it cant load.

16. if you can run it, a webcam output now appears.

17. bring your printed pattern into full view of the webcam window. The whole pattern should be visible.

18. the program detects a transformation of the pattern 'matrix' to calculate a viewing orientation.

19. the files in the .pmm file should appear, but not move just yet.

20. these buttons on your keyboard have specific functions: a - toggles opacity of the AR model. s - begins/pauses the dance routine. r - resets the dance routine

21. feel free to move the marker to different orientations to get different views of the whole thing.

22. if your .pmm file has a .wav sound file loaded, this version will play the .wav file as well, provided that its title is in a simple form (no jap, no special characters. A pure english title works best.

23. to play other .pmm files, you need to open the .ini file and change the path to where the new .pmm file you want to load is loaded.

extra info - 10/4/2011
if the webcam has trouble sensing the marker because the marker is not appearing very 'black', then open up the setting.ini file, and search for something named MarkerGrayScaleThreshold. Setting it to a high value (255 maximum number) will make your marker detectable even when its not appearing as 'black' as it should be.
if the surroundings are too black, then setting the number to a lower value will help detect the marker in lower light conditions.
Its default setting is 128.

This dance routine is modified from the pre-existing Sample(Allstar).pmm already included in MikuMikuDance. I deleted the two Dummy bone models and the entire stage.

Credits where credits are due
Animasa, m2, crypton future media - the dance routine and all .pmd models used
Project Diva Miku performing the Secret Garden
ARToolkit_MMD's creators at the abovementioned website

some random youtube vids using the same tech
Go my way miku, neru, haku - www.youtube.com/watch?v=wD6NgW…
caramelldansen - www.youtube.com/watch?v=nQxzum…
Interstellar flight with some um.... 'cool features' which i dont know how to do in MMD - www.youtube.com/watch?v=W-gBRb…

ARToolkit has been known to either NOT work or malfunction with this Rin Append XS mqdl model
mqdl.jpn.org/public/rinApXSb.z…

this LAT Rin Append model will work somewhat, but the ribbon IK bones will start going crazy once a dance routine begins. I suspect a physics problem (download via cococity's link)
cococity.deviantart.com/art/Pr…

full credits and tested models deviation: addestorionvayanis.deviantart.…


update 3/6/2011 I have edited the deviation to show something which will make your augmented reality life a lot easier.
I printed a smaller marker logo and pasted it onto a magnetic bookmark. Now its possible for me to go hands free.
top left: magnetic bookmark attached to shoulder epaulet strap.
middle left, handheld
bottom left, magnetic bookmark attached to sleeve
bottom right, handheld
Also, this works on other surfaces, such as gloves, or drawn on your hand with a permanent marker of sorts. It still needs to be drawn using the proper dimensions and ratios, and must still be straight enough for a proper detection.


update 24/7/2011 Dummy bone will load in ARToolkit_MMD, but some attachments and effects may not load or cause the program to crash. If so, deleting the faulty attachments may work.
update 20/8/2011 Mikumikueffects wont work in ARToolkit.
Also, did a video, and edited the deviation to include one cutscreen from the video. The cutscreen is from the part near the end.
www.youtube.com/watch?v=yLaPU1…

TROUBLESHOOTER updated 9th May 2014
---------------------------------------------------------------------------------------------
If you are unable to select the checkbox which allows you to flip the image (so that the image looks like a mirrored image of you), you can force the horizontal flip by opening
ARToolkitFolder>Data>WDM_camera_flipV.xml
using notepad.
You will be greeted with some lines of text blablablablabla.

Find and change the following line:

to

and then click save.

this will force all future webcam outputs from artoolkit_mmd to be horizontally flipped.  If you want it back, then just play around with the settings "true" and "false".


TROUBLESHOOTER updated 5th February 2014
-----------------------------------------------------------
The following is a list of errors which can appear, and the google translate of what they mean.
This should be able to give you a hint of what kind of problem you have.

From ARWrapper.cpp ------------------------------------------------------------------
If it stops after "Load Setting File : %sn"
"設定ファイル(setting.ini)が開けませんでした"
"設定ファイル(setting.ini)のMarkerDetectModeの値が不正です。0 or 1の値を指定してください"
"設定ファイル(setting.ini)のMarkerGrayScaleThresholdの値が不正です。0 ~ 255の値を指定してください"
"ARtoolKit : カメラデバイスファイル(*.xml)の読み込みに失敗したか、または、カメラデバイスの初期化に失敗しました"
"ARtoolKit : カメラの解像度の取得の取得に失敗しました"
"ARtoolKit : カメラパラメータファイル(*.dat)の読み込みに失敗しました"
"ARtoolKit : マーカパターンファイル(patt.*)が正常に読み込めませんでした"

"(Setting.ini) did not open configuration file"
"The value of MarkerDetectMode configuration file (setting.ini) is invalid. Please specify a value of 0 or 1"
"The value of MarkerGrayScaleThreshold configuration file (setting.ini) is invalid. Please specify a value of 0-255"
"ARtoolKit:, or failed to read camera device files (. * Xml), but failed to initialize the camera device"
": I failed to get the acquisition of resolution of camera ARtoolKit"
": I failed to read the camera parameter file (* dat.) ARtoolKit"
": (Patt. *) could not be read correctly marker pattern file ARtoolKit"

From Parameter.cpp--------------------------------------------------------------------
If it fails upon setup,
"Scene : 設定ファイル(setting.ini)が開けませんでした"

after "- AntiAliasingtt"
"Scene : 設定ファイル(setting.ini)のAntiAliasingの値が不正です。0~2の値を指定してください"
"Scene:. AntiAliasing the value of the configuration file (setting.ini) is invalid Please specify a value of 0-2"

after "- SelfShadowtt"
"Scene : 設定ファイル(setting.ini)のSelfShadowOnの値が不正です。0か1の値を指定してください"
"Scene:. SelfShadowOn the value of the configuration file (setting.ini) is invalid Please specify a value of 0 or 1"

after "- FloorShadowtt"
"Scene : 設定ファイル(setting.ini)のFloorShadowOnの値が不正です。0か1の値を指定してください"
"Scene:. FloorShadowOn the value of the configuration file (setting.ini) is invalid Please specify a value of 0 or 1"

after "- ShadowMapResolutiont"
"Scene : 設定ファイル(setting.ini)のShadowMapResolutionの値が不正です。0~2の値を指定してください"
"Scene:. ShadowMapResolution the value of the configuration file (setting.ini) is invalid Please specify a value of 0-2"

after "- ShadowMapPrecisiont"
"Scene : 設定ファイル(setting.ini)のShadowMapPrecisionの値が不正です。32か16か8を指定してください"
"Scene:. ShadowMapPrecision the value of the configuration file (setting.ini) is invalid Please specify the 8 or 16 or 32"

after "- ShadowMapRegiont"
"Scene : 設定ファイル(setting.ini)のShadowMapRegionの値が不正です。0か1の値を指定してください"
"Scene:. ShadowMapRegion the value of the configuration file (setting.ini) is invalid Please specify a value of 0 or 1"

after "- PhysicsOntt"
"Scene : 設定ファイル(setting.ini)のPhysicsOnの値が不正です。0か1の値を指定してください"
"Scene:. PhysicsOn the value of the configuration file (setting.ini) is invalid Please specify a value of 0 or 1"

after "- BulletModett"
"Scene : 設定ファイル(setting.ini)のBulletModeの値が不正です。1~3の値を指定してください"
"Scene:. BulletMode the value of the configuration file (setting.ini) is invalid Please specify a value of 1-3"

after "- HWSkinningOntt"
"Scene : 設定ファイル(setting.ini)のHWSkinningOnの値が不正です。0~2の値を指定してください"
"Scene:. HWSkinningOn the value of the configuration file (setting.ini) is invalid Please specify a value of 0-2"

after "- ARToolKittt"
"Scene : 設定ファイル(setting.ini)のARToolKitの値が不正です。0か1の値を指定してください"
"Scene:. Value of ARToolKit configuration file (setting.ini) is invalid Please specify a value of 0 or 1"

after "- WindowSize tt"
"Scene : 設定ファイル(setting.ini)のWindowSizeの値が不正です。1~4の値を指定してください"
"Scene:. WindowSize the value of the configuration file (setting.ini) is invalid Please specify a value of 1-4"

after "- ARscreentt"
"Scene : 設定ファイル(setting.ini)のARscreenの値が不正です。0か1の値を指定してください"
"Scene:. ARscreen the value of the configuration file (setting.ini) is invalid Please specify a value of 0 or 1"


From windows.cpp ------------------------------------------------------------------
If it stops after "デバッグモードで起動します。n"
"Window : ウィンドウクラスの登録に失敗しました"
": I failed to register the window class Window"

If it stops after "Load PMM File."
" : ERROR : PMM file : %sn", parameter.m_pmmFileName
" : ERROR : PMM file.n"
"ファイルの読み込みに失敗しました。n何かキーを押してください。n"
"音楽ファイルが再生できません。n - %sn", pmm->m_wavFileName
"音楽再生OFFで起動します。n"
"Renderer : レンダラーの初期化に失敗しました"
": ERROR: PMM file:% s n", parameter.m_pmmFileName
": ERROR:. PMM file n"
". N Please Press. N any key failed to read the file"
"You can not play music file n -.% S n", pmm-> m_wavFileName
"Start the music playback OFF. N"
": I failed to initialize renderer Renderer"

From Scene_create.cpp --------------------------------------------------------------

If it stops after "Create Scene...n"
"Scene : Direct3Dデバイスの取得に失敗しました"
" --- シェーダバージョンが2.0未満の為、セルフシャドウOffで起動します。n" -
" --- シェーダバージョンが3.0未満の為、HWスキニングOffで起動します。n"
" --- デバイスがマルチレンダリングターゲット未対応の為、HWスキニングモード1で起動します。n"
"Scene : PMDデータ取り込みで失敗しました"
"Scene : フレームデータ取り込みで失敗しました"
": I failed to get the Direct3D device Scene"
". Because of less than 2.0, --- shader version will start in self-shadowing Off n" -
"For less than 3.0, --- shader version will launch in HW skinning Off. N"
"For multi render target is not supported, --- device starts in HW skinning mode 1. N"
": I failed with PMD data acquisition Scene"
": I failed with frame data acquisition Scene"

If it stops after load accessory
"Scene : アクセサリデータ読み込みで失敗しました"
": I failed with accessory data read Scene"

If it stops after frame data...
"Scene : フレームデータ取り込みで失敗しました"
": I failed with frame data acquisition Scene"

If it stops after Create textures...
"Scene : 背景画像格納用テクスチャの作成に失敗しました"
"Scene : 3Dモデル描画用テクスチャの作成に失敗しました"
"Scene : 3Dモデル描画用テクスチャからのサーフェス取得に失敗しました"
"Scene : 3Dモデル描画用テクスチャの深度バッファの作成に失敗しました"
"Scene : シャドウマップ用フローティングバッファ(8bit)の作成に失敗しました"
"Scene : シャドウマップ用フローティングバッファ(16bit)の作成に失敗しました"
"Scene : シャドウマップ用フローティングバッファ(32bit)の作成に失敗しました"
": I failed to create a background image for storing texture Scene"
": I failed to create a 3D model drawing texture Scene"
": I failed to get surface from the 3D model drawing texture Scene"
": I failed to create a buffer depth of 3D model drawing texture Scene"
": I failed to create shadow map for floating buffer (8bit) Scene"
": I failed to create shadow map for floating buffer (16bit) Scene"
": I failed to create shadow map for floating buffer (32bit) Scene"

If it stops after "Create Shadow Map : D3DFMT_A32B32G32R32Fn"
"Scene : シャドウマップ用テクスチャからのサーフェス取得に失敗しました"
"Scene : シャドウマップ用テクスチャの深度バッファの作成に失敗しました"
"Scene : シャドウマップ用フローティングバッファ(8bit)の作成に失敗しました"
"Scene : シャドウマップ用フローティングバッファ(16bit)の作成に失敗しました"
"Scene : シャドウマップ用フローティングバッファ(32bit)の作成に失敗しました"
": I failed to get surface from the shadow map texture for Scene"
": I failed to create a depth buffer of the shadow map texture for Scene"
": I failed to create shadow map for floating buffer (8bit) Scene"
": I failed to create shadow map for floating buffer (16bit) Scene"
": I failed to create shadow map for floating buffer (32bit) Scene"

If it stops after "Create Shadow Map : D3DFMT_A32B32G32R32Fn"
"Scene : シャドウマップ用テクスチャからのサーフェス取得に失敗しました"
"Scene : 背景スクリーン表示用テクスチャの作成に失敗しました"
"Scene : 背景スクリーン表示用テクスチャからのサーフェス取得に失敗しました"
"Scene : 背景スクリーン表示用テクスチャの深度バッファの作成に失敗しました"
": I failed to get surface from the shadow map texture for Scene"
": I failed to create a background screen display for texture Scene"
": I failed to get surface from the background screen display texture Scene"
": I failed to create a depth buffer of the background screen display for texture Scene"

If it stops after "- Create Vertex Buffers... "
"Scene : コピー用頂点バッファ(座標)の作成に失敗しました"
"Scene : コピー用頂点バッファ(テクスチャ座標)の作成に失敗しました"
"Scene : コピー用頂点バッファ(テクスチャ座標)の作成に失敗しました"
"Scene : 背景画像コピー用頂点バッファ(テクスチャ座標)の作成に失敗しました"
": I Failed to create copy for vertex buffer (coordinate) Scene"
": I Failed to create copy for vertex buffer (texture coordinates) Scene"
": I Failed to create copy for vertex buffer (texture coordinates) Scene"
": I failed to create a background image copy the vertex buffer (texture coordinates) Scene"

From Shader.cpp ----------------------------------------------------------------------

If it stops after "- load & compile shader programs.n"
"Scene : シェーダプログラム( copy.fx ) の読み込みかコンパイルに失敗しました"
"Scene : シェーダプログラム( PMD.fx ) の読み込みかコンパイルに失敗しました"
"Scene : シェーダプログラム( PMD_simple.fx ) の読み込みかコンパイルに失敗しました"
"Scene : シェーダプログラム( FloorShadow.fx ) の読み込みかコンパイルに失敗しました"
"Scene : シェーダプログラム( Skinning.fx ) の読み込みかコンパイルに失敗しました"
"Scene : シェーダプログラム( Accessory.fx ) の読み込みかコンパイルに失敗しました"
"Scene : シェーダプログラム( Accessory_simple.fx ) の読み込みかコンパイルに失敗しました"

": I failed to compile or read shader programs (copy.fx) Scene"
": I failed to compile or read shader programs (PMD.fx) Scene"
": I failed to compile or read shader programs (PMD_simple.fx) Scene"
": I failed to compile or read shader programs (FloorShadow.fx) Scene"
": I failed to compile or read shader programs (Skinning.fx) Scene"
": I failed to compile or read shader programs (Accessory.fx) Scene"
": I failed to compile or read shader programs (Accessory_simple.fx) Scene"

From MusicPlayer.cpp ---------------------------------------------------------------
"ERROR - Could not initialize COM library"
"ERROR - Could not create the Filter Graph Manager."

From Renderer.cpp -------------------------------------------------------------------
"Renderer : Direct3D9オブジェクトの作成に失敗しました")
"Renderer : ディスプレイモードの取得に失敗しました"
" -- デバイスがHWアンチエイリアスに未対応なため、モード1で起動します。n"
"Renderer : ディスプレイデバイスの生成に失敗しました"

": I failed to create a Direct3D9 object Renderer")
": I failed to get the display mode Renderer"
"-. Because the device is not support HW anti-aliasing, it will be started in mode 1 n"
": I failed to generate a display device Renderer"
Related content
Comments: 549

Sonic2578 [2020-01-04 22:31:31 +0000 UTC]

👍: 0 ⏩: 0

fahmi4869 [2017-08-16 18:00:16 +0000 UTC]

I tried this years ago and it's working perfectly. But when I try it again today it doesn't work.
Is it really not compatible with windows 64bit? Or maybe I did something wrong?
I got the PMM file error, even I changed the models to anything, even the default animasa models.

👍: 0 ⏩: 0

muta81 [2017-04-24 08:15:58 +0000 UTC]

DL. thank you so much ^_^

👍: 0 ⏩: 0

KIMMON [2016-09-14 00:32:20 +0000 UTC]

will this work in windows 10?

👍: 0 ⏩: 0

superawesome89 [2016-06-04 01:11:48 +0000 UTC]

i have an error that says "pmm file not found" after i put in where the file is located. it also says: "ERROR PMM file *File directory location* and then a bunch of random symbols

👍: 0 ⏩: 0

krystalfan43 [2016-01-12 06:15:07 +0000 UTC]

mine crashes ans says artoolkit_mmd has stopped working after it loads the .pmm

👍: 0 ⏩: 0

zenniel [2015-10-22 06:41:41 +0000 UTC]

 i have a trouble "Scene : シャドウマップ用フローティングバッファ(32bit)の作成に失敗しました"
": I failed to create shadow map for floating buffer (32bit) Scene"
From Scene_create.cpp
---how to fix it---
or i need install win7 x64 bit (=_  it stops after Create textures...

👍: 0 ⏩: 0

Karolciap [2015-04-20 21:14:46 +0000 UTC]

Hello, thank you for this tutorial. You helped me a lot! Installation went smooth and everything is fine exept one small thing.  I can't figure out what is with those floating elements. Some models have it and some haven't. Have you got any solution? oi58.tinypic.com/2h39dfs.jpg

👍: 0 ⏩: 1

AddestorionVayanis In reply to Karolciap [2015-04-21 01:02:30 +0000 UTC]

that would be due to physics.  The program itself is kind of slow when it comes to processing physics.   It gets worse when there is more than 1 model.

Factors which affect it are:
sudden turns in the dance motion
too much collision with other models
model contains a lot of long chain physics
pressing the Reset motion (r) button (it will try to restabilize, but sometimes never does)

you should primarily see this when pressing the reset button.  As far as i can comment now, its one of those things which has no true solution besides 'get a stupidly more powerful computer just to use a free program'.

i can only recommend that you:
1) dont press the reset button halfway through the dance
2) pick models without too much physics, especially those with very long hair and skirts.
3) when beginning motions which dont start in the middle direction and facing forward, is that you edit the dance motion and song so that it moves into its proper position slowly before actually dancing.
4) when ending motions which dont end in the middle direction and facing forward, do the same thing so that when you press reset after the motion ends, it doesnt need to move too far from its original start pose.

👍: 0 ⏩: 1

Karolciap In reply to AddestorionVayanis [2015-04-26 21:01:14 +0000 UTC]

Thank you!

👍: 0 ⏩: 0

littlelionalicious [2015-01-30 08:39:08 +0000 UTC]

How big do you have to print the pattsample.pdf?

👍: 0 ⏩: 1

AddestorionVayanis In reply to littlelionalicious [2015-01-30 09:13:58 +0000 UTC]

That depends on what you intend to use it for.

For usual usage, where you just hold up the card in front of your computer, printing it at its original size is fine (pattern will be approximately 10cm x 10cm)
If you intend to stick it onto a ring and hold it very close to the webcam (about 20cm from the webcam), then 4cm x 4cm will work.

If you want to put it on the floor and record a 'full scale' recording, you may want to print it onto a full A3 (420mm x 297mm) paper, or A2 paper (594mm x 420mm).  Do note though, that if printing for life sized performances, you need to perfectly merge the papers, as the shadows from where the paper joins can and will screw up the image.  So its recommended that for that size, you print it using plotters which can print out that size on a single large piece of paper for best effect.

👍: 0 ⏩: 1

littlelionalicious In reply to AddestorionVayanis [2015-01-30 09:49:00 +0000 UTC]

Okay, thanks a lot!

👍: 0 ⏩: 0

Akamutoruma [2014-12-11 15:37:56 +0000 UTC]

Hello, I've got a problem here. It seems that the AR produced unable to change pose according to my pmm files. In my pmm file, I've change the model pose, however what shown in the AR is only the standard beginning pose. Do you know what should I do for that?

👍: 0 ⏩: 1

Akamutoruma In reply to Akamutoruma [2014-12-12 14:17:09 +0000 UTC]

oh, never mind. I found the solution already

👍: 0 ⏩: 0

realroyu [2014-09-22 18:31:17 +0000 UTC]

My MMD is v7.39 which doesn't have a test.pmm but a sample.pmm, I edit the ini file with the right path, but the artoolkit mmd20100405 reports errors, saying cannot find a pmd etc. And in my own MMD folder , there is another artoolkit mmd which I don't know its version, but it works without editing ini file, in fact there is no ini file at all, but it still has some problems, when I put the Lat miku models (the default models are OK)into this artoolkit mmd of mine, the models will turn white but they are OK in MMD or PMDeditor. So I need your help, why can't I use artoolkit mmd20100405 properly like you? why do the Lat models or other download ones turn white in my artoolkit mmd? Could you please give some advice or solutions? my cam is ok.  Thanks in advance!

👍: 0 ⏩: 1

AddestorionVayanis In reply to realroyu [2014-09-23 13:56:48 +0000 UTC]

1. do not use sample.pmm, it contains accessory effects which will cause artoolkit to not work at all.  You'll need to make new .pmm file using just normal models, then link the path to the newly made .pmm file. 
2. if youre using another AR program, the other one which i am aware of is ARTK_MMD.  That version cannot load textures, so models which do not use textures (like animasa) will load, but models which do (like LAT) will load up a white version of the model.

👍: 0 ⏩: 1

realroyu In reply to AddestorionVayanis [2014-09-23 15:51:58 +0000 UTC]

Thanks a lot!  I apply your first advice, it works.  However, it seems that the model's location is right only when resolution aspect ratio is 4:3, if I use 1280*720 16:9, the model will float in the air. also I don't know how to change the size of the model, is it right that I change the scale in the .ini file? or there are other methods?
As to your second answer, yes, the program is ARTK_MMD, you mean it cannot load Lat models correctly and no solutions so far?

Anyway, you really help me a lot, which makes me excited, for I had tried hard to solve the problems but failed.  Thank you again!

👍: 0 ⏩: 1

AddestorionVayanis In reply to realroyu [2014-09-24 12:04:20 +0000 UTC]

the first problem is one that i still currently have no solution.  it seems certain combinations of resolution will cause the model to float in the air.  So you just have to deal with it.

The size of the model can be changed using the scale setting in the settings.ini file.  Usually 9 is a suitable scale.

As for ARTK_MMD, i gave up on it since ARToolkit_MMD has more versatility.  So i kind of stopped caring about that version.

👍: 0 ⏩: 1

realroyu In reply to AddestorionVayanis [2014-09-24 14:55:50 +0000 UTC]

Thank you very much! I have given up ARTK_MMD and turned to ARToolkit_MMD as well. 

👍: 0 ⏩: 0

DestroyerTypeZ [2014-09-07 12:32:51 +0000 UTC]

I also am having problems because when it says [POSE] the window appears and it appears all white and when I click the minimize button and open it again it appears all black could you please help me

👍: 0 ⏩: 1

AddestorionVayanis In reply to DestroyerTypeZ [2014-09-08 02:45:56 +0000 UTC]

First thing to check is that if the webcam is working normally at all.  Just use any other program to see if the video comes out normally in another software.

Second thing to check is if there any other software at the time which could be using the same webcam?  This is something which is supposed to happen if for example, you're using a skype video call and try to use artoolkit_MMD at the same time (from my experience anyway).

If another program isnt using the webcam, you may want to look at your list of devices and ensure that there is only one webcam active.  It could be that multiple webcams are confusing the program's default choice of webcam.

👍: 0 ⏩: 1

DestroyerTypeZ In reply to AddestorionVayanis [2014-09-09 09:56:34 +0000 UTC]

Thanks it worked!
But I have another problem: is there anyway for it to work on MikuMikuDanceE v912 because it only works on the old version and the old version can't do multiple charaters

👍: 0 ⏩: 1

AddestorionVayanis In reply to DestroyerTypeZ [2014-09-09 16:30:21 +0000 UTC]

it used to run in the mark 8 versions of mmd, but not the mark 9.

google mikumikudance_v803, and maybe someone has it on download somewhere.  Maybe

👍: 0 ⏩: 1

DestroyerTypeZ In reply to AddestorionVayanis [2014-09-10 08:31:44 +0000 UTC]

Thanks a lot! 
just found one!

👍: 0 ⏩: 0

Hhieumeo [2014-07-30 17:19:41 +0000 UTC]

Did we need Kinect or something ? I only use my laptop but it doesn't work ! or please tell me the pixel you print the thing to make them appear !

👍: 0 ⏩: 2

AddestorionVayanis In reply to Hhieumeo [2014-07-31 07:59:05 +0000 UTC]

did the thing fully load and you can see a webcam image, or does it stop halfway?

if you can get a webcam image, the problem is MarkerGrayscaleThreshold settings.  you need to adjust it to high values (about 200) if the image is kind of bright.  120 is the normal value.

If that isnt the problem, you need to tell me everything that happened.  I cant help if i dont know the exact details of the problem

👍: 0 ⏩: 2

Hhieumeo In reply to AddestorionVayanis [2014-08-01 17:31:20 +0000 UTC]

www.youtube.com/watch?v=zFxEu7… it still working on this online demo but not in ARToolKit windows 7 32bit i'm still don't know why ! I was unhappy about that problem ! 

👍: 0 ⏩: 0

Hhieumeo In reply to AddestorionVayanis [2014-08-01 16:30:16 +0000 UTC]

www.youtube.com/watch?v=B_O0cI… please watch this video !

👍: 0 ⏩: 1

AddestorionVayanis In reply to Hhieumeo [2014-08-02 10:13:14 +0000 UTC]

you cannot cover the pattern.  The moment you cover even one part of the pattern, it will not work.

Paste the pattern on a larger board to make sure the full image of the marker can be detected by the program.  Preferably, it is on a larger, white surface

👍: 0 ⏩: 2

Hhieumeo In reply to AddestorionVayanis [2014-08-02 11:03:27 +0000 UTC]

And application simple VRML ... (demo) still working properly !

👍: 0 ⏩: 0

Hhieumeo In reply to AddestorionVayanis [2014-08-02 11:01:24 +0000 UTC]

I don't cover the pattern but i will try a bigger pattern :/ Sorry for disturbing you !

👍: 0 ⏩: 0

Hhieumeo In reply to Hhieumeo [2014-07-31 07:41:54 +0000 UTC]

the program doesn't detects a transformation of the pattern 'matrix' to calculate a viewing orientation.

👍: 0 ⏩: 0

mfarani [2014-07-28 18:39:07 +0000 UTC]

Hello, thank you for the Tutorial, AddestorionVayanis . I'm using the MMDE_v912, but i tried older ones. My Operational System is the Windows 8.1(i tried with the windows 7 too), my Webcam is a Microsoft LifeCam_VX800. I tried every steps, my  problem is that with just one .pmd model my artookit didn't show any error, but my model didn't appear on my marker, so i'm in trouble with the Augumented Reality. Can you help me?

👍: 0 ⏩: 1

AddestorionVayanis In reply to mfarani [2014-07-29 04:05:01 +0000 UTC]

did you manage to see the webcam image?  If it failed to load before showing the webcam image, it should show one of the error messages above.

if none of the error messages above showed, then it may be that the MarkerGreyScaleThreshold is too high or too low.  You need to adjust it.  Use high numbers if your image is very bright, and low numbers if it is very dark. 

👍: 0 ⏩: 1

mfarani In reply to AddestorionVayanis [2014-07-29 15:21:25 +0000 UTC]

Thank you for the answer. I had none of the error messages above showed. My MarkerGreyScaleThreshold scale is 128. My image isn't very bright or very dark. It looks normal. I'm so sad, because i'm working at a project for helping deaf children :/. Can you still help me? 

👍: 0 ⏩: 2

AddestorionVayanis In reply to mfarani [2014-07-30 13:54:47 +0000 UTC]

screenshot the thing and upload it to deviantart, then reply here with the link.

If it fails halfway through, try to get a printscreen of the last possible thing you saw.  If you do get a webcam image, then just give me a screenshot with the marker in it.
Also, try it with a fresh .pmm file with a model and motion only, then tell me which model youre using because some models do have issues when used together with ARToolkit_MMD.

I need as much info as possible in order to identify the exact cause of the problem

👍: 0 ⏩: 1

mfarani In reply to AddestorionVayanis [2014-08-01 02:26:22 +0000 UTC]

Was the video helpful?
Thank you

👍: 0 ⏩: 1

AddestorionVayanis In reply to mfarani [2014-08-01 11:37:21 +0000 UTC]

for that image darkness, your markergreyscalethreshold should be around 120.

also, try to make sure that the image of the marker does not have gradients, which may occur due to lighting and shadows from other objects.

If that is not the problem, there is one other possible cause, which is language (which is why your menu shows weird symbols instead of japanese)
Enable japanese language as an available language by:
control panel>> language >>  add a language >> Japanese.

You may also need to do this:
control panel >> Region >> Administrative >> change system locale >> Japanese (Japan)

The names of the bones in MMD are in the japanese language.  Normally, the MMD program saves the data in japanese (even if you use the english version).  I suspect that the program cannot read the names of the bones because your system does not have japanese enabled.  Let me know if this fix works.

If it doesnt, then i will have to consider other reasons why it wont work.

👍: 0 ⏩: 0

mfarani In reply to mfarani [2014-07-30 12:20:30 +0000 UTC]

I mad a vide with my steps:
www.youtube.com/watch?v=yZcwit…

👍: 0 ⏩: 0

mfarani [2014-07-28 18:28:03 +0000 UTC]

Hello, thank you for the Tutorial, AddestorionVayanis . I'm using the MMDE_v912, but i tried older ones. My Operational System is the Windows 8.1(i tried with the windows 7 too), my Webcam is a Microsoft LifeCam_VX800. I tried every steps, my  problem is that with just one .pmd model my artookit didn't show any error, but my model didn't appear, so i'm in trouble with the AR. Can you help me?

👍: 0 ⏩: 0

mfarani [2014-07-28 18:27:19 +0000 UTC]

Hello, thank you for the Tutorial, AddestorionVayanis . I'm using the MMDE_v912, but i tried older ones. My Operational System is the Windows 8.1(i tried with the windows 7 too), my Webcam is a Microsoft LifeCam_VX800. I tried every steps, my  problem is that with just one .pmd model my artookit didn't show any error, but my model didn't appear. Can you help me?

👍: 0 ⏩: 0

heavbamz [2014-05-29 16:20:46 +0000 UTC]

i try every steps... and after i press "ok" button on property sheet property, a box appear and say that ARToolKit MMD has stopped working.....

can you help me?

👍: 0 ⏩: 1

heavbamz In reply to heavbamz [2014-05-29 16:53:52 +0000 UTC]

and if i try to make another pmm file.... it says that


":ERROR : PMM file : E:\ARToolKit Project\MikuMikuDanceE_v910\UserFile\test2.pmm "
bla bla bla.....

any help?

👍: 0 ⏩: 1

AddestorionVayanis In reply to heavbamz [2014-05-31 12:30:07 +0000 UTC]

whats the next thing that it mentioned?  did it match anything which was similar to the error messages above?

👍: 0 ⏩: 1

heavbamz In reply to AddestorionVayanis [2014-07-01 12:55:11 +0000 UTC]

ah it's okay now...

i guess the MMD version is the problem...
i use the newest MMD version...

The problem is solved now... Thanks a lot....

👍: 0 ⏩: 0

Kitsu-Sai [2014-05-25 23:23:37 +0000 UTC]

how to fix my problem
-- PMD : HB:\Download\MikuMikuDanceE_v729\UserFile\Model_Dammybone.pmd
--- Can't open PMD file
 : ERROR : PMD file.

my disk is C:, D:, E:, how to configur disk HB: ?

👍: 0 ⏩: 1

AddestorionVayanis In reply to Kitsu-Sai [2014-05-31 12:30:43 +0000 UTC]

youve already tried making a brand new pmm file instead of using the allstars.pmm right?  it usually wont work with the allstars.pmm

👍: 0 ⏩: 0

Momond01 [2014-05-18 16:45:12 +0000 UTC]

If I haven't bought a camera yet, can I still launch the Artoolkit?
Because it keeps giving me errors about connecting into webcam first...

👍: 0 ⏩: 2

AddestorionVayanis In reply to Momond01 [2014-05-19 04:34:38 +0000 UTC]

well it does need a camera of some sort, so if you dont have a camera or a webcam, there isnt much point trying to open it.

👍: 0 ⏩: 1


| Next =>