HOME | DD
Published: 2011-04-03 01:56:55 +0000 UTC; Views: 57393; Favourites: 300; 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
KirschSalvator In reply to ??? [2012-05-10 22:39:19 +0000 UTC]
Mine won't work it keeps saying that d3dx9_42.dll is missing from my computer.
👍: 0 ⏩: 1
AddestorionVayanis In reply to KirschSalvator [2012-05-11 00:24:51 +0000 UTC]
I have a funny feeling that its one of the DirectX files. So i will recommend installing an updated version of directX.
Or you could download and register that particular .dll from google. Pretty sure that its available for download with install instructions.
👍: 0 ⏩: 1
KirschSalvator In reply to AddestorionVayanis [2012-05-11 01:17:09 +0000 UTC]
That worked thanks. Now I just need to get it to stop freezing lol
👍: 0 ⏩: 1
AddestorionVayanis In reply to KirschSalvator [2012-05-11 03:25:40 +0000 UTC]
freezing? describe
👍: 0 ⏩: 1
KirschSalvator In reply to AddestorionVayanis [2012-05-11 17:24:57 +0000 UTC]
It crashes before it can actually finish loading up the pmm file
👍: 0 ⏩: 0
HikariYamamoto47 In reply to ??? [2012-05-09 12:48:01 +0000 UTC]
Thanks for the tutorial~! But I have one problem...
Mine stops responding after the lines:
"Create Scene...
- Check Shader Model Versions
-- VS_Version >= 3.0
(And so on until...)
- load and compile shader programs.
-- Effect\Copy.fx... done."
After those lines, it won't respond. Then...
"ARToolKit_MMD.exe has stopped working"
Can you help me with this? If so, thank you very much~!
=Hikari-V
=ひかりV
👍: 0 ⏩: 2
Nitcholas-R In reply to HikariYamamoto47 [2013-02-01 04:54:09 +0000 UTC]
Just wondering if I t was possible to implement MMDAgent into ARToolkit similar to they way MMDSpectrum can.
👍: 0 ⏩: 0
AddestorionVayanis In reply to HikariYamamoto47 [2012-05-09 12:55:57 +0000 UTC]
alright, the line of code which is supposed to follow copy.fx is shadowmap.fx, which means probably your shadow map option is incompatible.
So, change the shadow map region and shadow map precision [generally it should be shadow map precision].
so just try the 4 combinations:
precision - map
2 - 32 bit
2 - 8 bit
0 - 32 bit
0 - 8 bit
one of them (at least) has to work for you
👍: 0 ⏩: 1
HikariYamamoto47 In reply to AddestorionVayanis [2012-05-10 00:33:27 +0000 UTC]
Thanks for the help but it still won't respond after the "-- Effect\Copy.fx... done"
I tried the combinations, and tried one of my owns and still it didn't. I also tried re-installing the program, still the same problem.
I'm very sorry for bothering you like this.
👍: 0 ⏩: 2
Nitcholas-R In reply to HikariYamamoto47 [2013-02-01 04:52:58 +0000 UTC]
This happened to me just make sure that your computer is running all the most recent updates available for it and try updating DirectX it fixed my problems.
👍: 0 ⏩: 0
AddestorionVayanis In reply to HikariYamamoto47 [2012-05-10 00:58:01 +0000 UTC]
so, youre going to need to tell me more about your computer.
Mine is running a 64 bit windows 7 home premium, with an Nvidia GT 420M graphics card, using a Dell XPS inbuilt integrated webcam.
Also note that certain models will not load with ARToolkit. You are advised to create a brand new .pmm file in MikuMikudance using the LAT miku model.
Allstars.pmm is guaranteed to mess up ARToolkit due to some effects. So these may also mess up the ARToolkit
👍: 0 ⏩: 1
HikariYamamoto47 In reply to AddestorionVayanis [2012-05-10 01:23:53 +0000 UTC]
Mine is a 64-bit Windows 7 Home Premium, too. The processor is Pentium(R) Dual-Core. VGA is INTEL Int. GMA 4500M. I don't what brand the built-in webcam I have.
I can't seem to read the manual for a really silly reason. (I can't read cantonese since this was bought from taiwan) So I'm stuck at reading what was on it. (That was English)
👍: 0 ⏩: 1
AddestorionVayanis In reply to HikariYamamoto47 [2012-05-10 03:06:00 +0000 UTC]
did you try to use a new .pmm file or are you trying to use the allstars.pmm?
Allstars.pmm cannot work because it uses some incompatible effects and/or accessories, so it will fail. Have you saved a new .pmm file with a simple model? Animasa and LAT mikus work.
👍: 0 ⏩: 1
HikariYamamoto47 In reply to AddestorionVayanis [2012-05-11 03:13:33 +0000 UTC]
I tried using a new .pmm file and a new model, too (Miku Miku ni Shite Ageru Motion data and Aoki Lapis [Saboten].) And yes, I saved it to a new .pmm file.
I also tried to use LAT models, yet it is still the same.
👍: 0 ⏩: 1
AddestorionVayanis In reply to HikariYamamoto47 [2012-05-11 03:28:26 +0000 UTC]
i suppose then you may need to work with every permutation of the shadow settings, because if it fails after Copy.fx... done, then its definitely a shadow problem setting. These are currently my settings:
BulletMode 1
HWSkinningOn 1
AntiAliasing 1
ShadowMapRegion 1
ShadowMapResolution 0
ShadowMapPrecision 32bit
ARscreen 1
ARperspective 10.0
ARToolKit 1
WindowSize 2
MarkerDetectMode 0
MarkerGrayScaleThreshold 130
👍: 0 ⏩: 1
HikariYamamoto47 In reply to AddestorionVayanis [2012-05-11 06:49:09 +0000 UTC]
Hmmm... I'll try experimenting with the shadow settings. Well, I tried your settings... It still won't respond there.
I troubleshoot the compatibility of the program and it says that the application is incompatible...
Thanks for all of your help~!
👍: 0 ⏩: 1
AddestorionVayanis In reply to HikariYamamoto47 [2012-05-11 12:37:01 +0000 UTC]
well, you can instead opt to play with MMDAgent. That one usually behaves a lot better than ARToolkit, but its voice recognition and not augmented reality
👍: 0 ⏩: 1
HikariYamamoto47 In reply to AddestorionVayanis [2012-05-11 13:50:15 +0000 UTC]
Alright, I'll download it and see if I can use it ^_^
Thanks~!
👍: 0 ⏩: 0
bot333 In reply to ??? [2012-04-26 01:56:40 +0000 UTC]
I have a EXE error... it loads everything in the command prompt window correctly, then BAM! "We're sorry, but ARToolkit_MMD_20100405 has encountered an error and needs to close. We are sorry for the inconvenience."
👍: 0 ⏩: 1
AddestorionVayanis In reply to bot333 [2012-04-26 03:05:02 +0000 UTC]
what is the last line which loaded before ARToolkit encountered the error? did a 'property sheet table' menu load up?
👍: 0 ⏩: 0
stillvisions In reply to ??? [2012-04-22 03:46:06 +0000 UTC]
Weird thing happening when I try this. When I go to an HD resolution the figure starts floating off the floor. I'm guessing the aspect ratio is wrong... have you seen this ?
👍: 0 ⏩: 1
AddestorionVayanis In reply to stillvisions [2012-04-22 06:46:39 +0000 UTC]
yes, its pretty common actually, and depends primarily on your webcam.
Mine for example works fine with multiples of 640x480 resolutions, but will hover when its a 640x400 multiple.
Aelita2000 had this as well, except it worked with the 800x400 multiple.
Your best bet is to go through the resolutions to find out which wont have the problem. One of them has to work. Once you find out which it is, then you can use the multiples of that resolution.
👍: 0 ⏩: 1
stillvisions In reply to AddestorionVayanis [2012-04-30 01:52:46 +0000 UTC]
Many thanks for the information - was working with a friend of mine on something with this software, but we had to stick with standard definition for now: [link]
👍: 0 ⏩: 1
AddestorionVayanis In reply to stillvisions [2012-04-30 01:57:44 +0000 UTC]
yeah, even my videos had to use standard definition or else the recording would be horrible. Even on standard definition, i had to use no compression screen capture or else it was going to be very slow as the video kept on recording. 4 gigabytes for a 3 minute secret garden. [link] eventually re compressed once the ordeal was over
👍: 0 ⏩: 0
KogoroMouri In reply to ??? [2012-04-15 20:04:59 +0000 UTC]
I have tried the ARDesktop, but i cannot use it, seem to bee Compiled i not have the competence for programation ^^.
Have you tested the ARDesktop?
For the kinect, i will test with MMD, MMD have support for Kinect, that will be funny to dance and then apply to the virtual XD
👍: 0 ⏩: 1
AddestorionVayanis In reply to KogoroMouri [2012-04-16 02:06:35 +0000 UTC]
i havent had much luck with ARDesktop either. I have tried doing everything as much as i can figure from that website, but still, i cannot compile the necessary .dll files to make it function.
As for the Kinect some have done that, but its not using MMD.
👍: 0 ⏩: 1
KogoroMouri In reply to AddestorionVayanis [2012-04-18 16:38:22 +0000 UTC]
Ok, Same problem as mee for compile.
For kinect I do not use it with AR, but with the MMD because at least it works pretty well, anyway, thank you for the tutorial, I added the page on my desk in case I forget some thing ^ ^
👍: 0 ⏩: 1
AddestorionVayanis In reply to KogoroMouri [2012-04-18 16:42:13 +0000 UTC]
Ah well, just intro it to others. The MMD community ought to be at the forefront of technology. This is merely the beginning of something possibly much cooler.
👍: 0 ⏩: 0
KogoroMouri In reply to ??? [2012-04-13 15:22:31 +0000 UTC]
Yes, I noticed that the program does not support the newest models.
I wonder if there is a recent version of AR-Toolkit but can work with the Kinect?
Because I saw that there have version "[ARToolKit] Stereo" which allows to detect certain hand position and thus able to touch the character with your finger
([link] )
But it seems, it takes two webcam, it would be simpler in this case to make it work with the kinect sensor
Finally, if you have knowledge of a version of the AR-toolkit_MMD, which will allow the characters to touch with a finger, let me know.
Even if it's for the vertion that I quoted in the above links, because I did not find or download.
Otherwise, thanks to your tutorial, I already have impressed my friends who thought it was photoshop and not réal XD
👍: 0 ⏩: 1
AddestorionVayanis In reply to KogoroMouri [2012-04-14 07:35:22 +0000 UTC]
PMX wont work in ARToolkit_MMD, some others i have no idea either.
Still, the only thing i actually did was mash buttons and key things into google translate.
My computing ability is limited to the iostream.h library of C++, but looking through the source code has allowed me to identify reasons why some people cant get their stuff to work.
As for the two webcam and kinect thing, well, those exist, but i have yet to find them as open source. Even so, one would still need to program the right sensors to interact with ARToolkit_MMD. Much of the current progress is going on with Wahwahhawah's ARDesktop, and seems to be the most advanced in this regard.
👍: 0 ⏩: 0
KogoroMouri In reply to ??? [2012-04-13 12:47:04 +0000 UTC]
Re- Hello, i have found this: [link] That's a vertion of AR-toolkit MMD but wee can interact with the model and it's work with high resolution from my webcam (the only problem is have not a setting.ini file and i cannot size the model)
👍: 0 ⏩: 2
AddestorionVayanis In reply to KogoroMouri [2012-04-13 14:22:49 +0000 UTC]
this seems to be a coded from a much earlier Augmented reality mikumikudance - ARTK (ARTK_MMD was the first one i tested before shifting in favor of ARToolkit_MMD)
Its an older version which doesnt support sound, but the advantage of that version is it can change models within the program and models can also be made to look at your mouse pointer.
Increasing the model works by entering '+' while reducing the model size will be '-'
The author has since added the ability to play rock paper and scissors with and multiple marker interaction to it.
👍: 0 ⏩: 0
KogoroMouri In reply to KogoroMouri [2012-04-13 13:04:18 +0000 UTC]
EDIT: Size Is forking is the key + and -. you can play paper scisor rock with the model XD Now i have play with Sneak (Nintendo)
👍: 0 ⏩: 0
KogoroMouri In reply to ??? [2012-04-12 19:39:02 +0000 UTC]
the only working résolution for mee is 800X600, i have tested all other but not working corectly. my webcam can get 1280x1024 thats a great resolution but not work ^^
But, with the 800X600, thats just amazing thanks XD
👍: 0 ⏩: 1
AddestorionVayanis In reply to KogoroMouri [2012-04-13 01:23:53 +0000 UTC]
sure sure. So it seems webcam does have an effect on the resolution that can be used. This is new.
👍: 0 ⏩: 0
KogoroMouri In reply to ??? [2012-04-12 13:43:52 +0000 UTC]
Hello, Thanks for the tuto, thant work but have a problem, the model is generated but sh'es not correctly appaers on the cube (see the Image)
[link]
How can i fix this problem?
👍: 0 ⏩: 1
AddestorionVayanis In reply to KogoroMouri [2012-04-12 17:14:17 +0000 UTC]
this is a problem which happens when i usually use the bottom half of the resolution options
(640 x 400 and their multiples causes this)
Solution is to use 640 x 480 or 1024x768. These are my favorite working resolutions and should get rid of your problem.
👍: 0 ⏩: 0
hetalia-fanart In reply to ??? [2012-04-03 22:57:49 +0000 UTC]
thanks for the tutorial! tough i have a question
i did every step right and it loaded the .pmm file and all,and the camera shows up and i can see the model
from the inside of the laptop but it wont appear on the real paper,help?
👍: 0 ⏩: 1
AddestorionVayanis In reply to hetalia-fanart [2012-04-04 04:31:04 +0000 UTC]
well, thats the point actually. You dont actually get a real life model. Thats why the program's name is Augmented reality.
Still, it is sufficient to make people believe that there is something you can interact with, even if it isnt there.
👍: 0 ⏩: 1
hetalia-fanart In reply to AddestorionVayanis [2012-04-04 05:38:24 +0000 UTC]
oh sorry then but after watching some vids i tough the model was going to show up at least thats how it looked there xD but i guess this is cool too ^^
👍: 0 ⏩: 1
AddestorionVayanis In reply to hetalia-fanart [2012-04-04 06:29:56 +0000 UTC]
yep. go ahead and mess around with other people's heads.
They'll look at you weirdly if they dont actually see the webcam image, but will understand the moment they see it.
👍: 0 ⏩: 1
hetalia-fanart In reply to AddestorionVayanis [2012-04-04 11:36:22 +0000 UTC]
ok im gonna have fun thanks ^^ and also thanks for the tutorial on MMDAgent its so cool tough
again sorry for another stupid question >< but...
how do you change her script of saying i mean i saw the vid and
when you used rin append you said "ohayo" and "anata dare?" she replied diffrently like "ohayo gosaimas" and "kagamine rin " something like that..(sorry bad japanesse Dx) or when you used the word "midori" and it switched characters i wanna learn to do that so badly but i don't even know were all of those things are located or how to change them can you help?
👍: 0 ⏩: 1
AddestorionVayanis In reply to hetalia-fanart [2012-04-04 11:51:40 +0000 UTC]
the fst file. MMDAgent tutorial has everything.
I also provided a zip file with my own .fst file in that tutorial. If you open it with notepad, you should be able to figure out how to program it.
Actually, the .fst file included already tells you a list of all commands which you can use in english. Switching characters uses the MODEL_CHANGE command. Not too hard actually.
👍: 0 ⏩: 0
YoriesSae In reply to ??? [2012-04-03 07:54:28 +0000 UTC]
i have problem in the PMD file, it said that "can't open PMD file",
i hope you wont to give me more tutorial with screenshot,
yories_yolanda@yahoo.com
please, send it vie email
👍: 0 ⏩: 1
AddestorionVayanis In reply to YoriesSae [2012-04-03 17:57:02 +0000 UTC]
- the pmm file path in the settings.ini folder has to be a full valid .pmm path
example:
## MMD関連の設定
# PMMファイル名
PMMFileName D:\Programs\MikuMikuDanceE_v729\UserFile\the secret garden artoolkit2.pmm
focus more on
PMMFileName D:\Programs\MikuMikuDanceE_v729\UserFile\the secret garden artoolkit2.pmm
it must be the full path to the pmm file, and the pmm file has to exist. If it does exist properly, then it may be that the pmm file was saved with a much older version of MikuMikudance. Recommended is MikuMikudance version 739.
👍: 0 ⏩: 1
YoriesSae In reply to AddestorionVayanis [2012-04-04 02:52:43 +0000 UTC]
i use the sample.pmm from MikuMikuDanceE_v739dot (in above link)
where i could download .pmm file ? that exist properly,
👍: 0 ⏩: 1
AddestorionVayanis In reply to YoriesSae [2012-04-04 04:32:41 +0000 UTC]
sample.pmm has a problem because it has stuff which messes up the program.
Mikumikudance saves its files as .pmm files under the File > Save option.
Make sure you load up a model, give it motion and a .wav file so that it plays properly.
👍: 0 ⏩: 1
YoriesSae In reply to AddestorionVayanis [2012-04-04 06:50:55 +0000 UTC]
ARToolKit_MMD.exe has stop working, --"
i use the .pmm files without objek in there,
(file>save, after that, i use the .pmm file from it)
👍: 0 ⏩: 2
AddestorionVayanis In reply to YoriesSae [2012-04-04 11:49:28 +0000 UTC]
what is the last thing that the black screen said before it went 'ARToolkit_MMD.exe stopped working'?
👍: 0 ⏩: 1
YoriesSae In reply to AddestorionVayanis [2012-04-04 14:55:36 +0000 UTC]
[link]
check it, please ^^
👍: 0 ⏩: 1
<= Prev | | Next =>

























