HOME | DD
Published: 2011-04-03 01:56:55 +0000 UTC; Views: 57395; 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
LaziiSmorez In reply to ??? [2011-10-17 21:13:14 +0000 UTC]
No wait nevermind I fixed it
but now i'm getting another error
something about scene_create.cpp
👍: 0 ⏩: 0
LaziiSmorez In reply to ??? [2011-10-17 21:03:24 +0000 UTC]
another question, it says it can't find the pmm file, and i renamed everything in the settings and its in the right area
can you please help me?
👍: 0 ⏩: 0
LaziiSmorez In reply to ??? [2011-10-16 16:03:22 +0000 UTC]
Um, sorry if I sound stupid but how do I print the file? Since I can't really open it...and when I right click I don't get any options...how did you print it?
👍: 0 ⏩: 1
wolf-kunachi In reply to ??? [2011-10-02 03:43:03 +0000 UTC]
Do you think you could have a link for all the Mikus you have? Thanks ^^
👍: 0 ⏩: 1
AddestorionVayanis In reply to wolf-kunachi [2011-10-02 05:11:31 +0000 UTC]
they're on this deviantion:
[link]
👍: 0 ⏩: 1
AddestorionVayanis In reply to wolf-kunachi [2011-10-02 05:56:52 +0000 UTC]
it will be possible for me to add even more models to that deviation. I scour niconicodouga quite often for new models. Still, i'll only do it if someone wants them.
👍: 0 ⏩: 1
wolf-kunachi In reply to AddestorionVayanis [2011-10-02 06:12:09 +0000 UTC]
Aa, but once again, thank you so much for the links! They're not broken, so YAY. |D
👍: 0 ⏩: 0
gaara4000 In reply to ??? [2011-09-14 13:40:14 +0000 UTC]
do you know how to make more than one work at a time ?
like 2 characters on the screen with 2 different makers
👍: 0 ⏩: 1
AddestorionVayanis In reply to gaara4000 [2011-09-14 16:14:47 +0000 UTC]
unfortunately, no. There are versions like that which exist (seen them on youtube and niconicodouga), but i either:
1 - havent found a decent version yet
2 - the multi marker version i do have only displays multiple crappy models and it doesnt move
3 - even if it is a version that supports it, i dont know how to make them work
4 - i only know basic programming, so i cant modify the program to detect 2 or more markers.
But i have stopped trying to find better versions of this in favor of figuring out how mmdagent and ardesktop function
👍: 0 ⏩: 1
gaara4000 In reply to AddestorionVayanis [2011-09-17 10:01:28 +0000 UTC]
Ok thanks anyway. and good luck with the research
👍: 0 ⏩: 0
Mystic-L1ght In reply to ??? [2011-09-13 10:12:04 +0000 UTC]
XD ok i seemed to have bluscreened it at step 11
👍: 0 ⏩: 1
AddestorionVayanis In reply to Mystic-L1ght [2011-09-13 13:50:07 +0000 UTC]
probably you may want to try step 12 then. If its windows 64 bit, then it should not work until you do step 12.
struggled with that part when i was trying to figure it out.
👍: 0 ⏩: 1
Mystic-L1ght In reply to AddestorionVayanis [2011-09-19 12:26:42 +0000 UTC]
oh yeah i did that so copied and it said, overwrite so i said yes. i probably should note i have normal artoolkit installed, but its k im scared to run the program now, once i saw the big blue screen i was like (╯°□°)╯︵ ┻━┻ FUCK THIS TABLE!!!!!
👍: 0 ⏩: 0
AddestorionVayanis In reply to FlandresPerfectClass [2011-09-04 00:37:57 +0000 UTC]
lol, you can skip it because i added the direct link in step 3. So just use that.
I am just compelled to give credit to every resource i use.
Essentially, step 2 leads to the ARToolkit_MMD community page. Axfc is kind of like a japanese filesharing website that they use.
The link you need is the one which ends in 100494
👍: 0 ⏩: 0
SuperSonic68 In reply to ??? [2011-08-22 20:23:04 +0000 UTC]
Hello! I have followed the directions to a T, up until step 12. I do have a 64-bit operating system and I followed the directions posted here. Windows does not give me an error "message" per-say, it just brings me to the black, DOS looking screen and then stops working, saying that the program has stopped responding. I have run through steps 1-12 multiple times, just to be sure, and I am at my wit's end. Do you know what the problem could be? Thanks!
👍: 0 ⏩: 2
AddestorionVayanis In reply to SuperSonic68 [2011-08-23 09:17:30 +0000 UTC]
i can only think of two things at the moment (i am not a computer science person, and i just happened to make ARToolkit_mmd work by chance)
but these may be causing it:
User Account Controls, it should be turned off, or you run the ARToolkit as an administrator (not too sure about this)
or
the .dll file may be messed up. You could download it from google (mine i got from www.dll-files.com). Additionally, you may want to read their 'installing .dll files' section. There's a command you can run to make sure the .dll file has been registered.
or
Your webcam may not be working (this screwed me up once)
although, i get a funny feeling you joined deviantart just to leave the comment after watching the video on youtube. lol. Currently getting MMDAgent to work.
👍: 0 ⏩: 2
ChiBinhGnad In reply to AddestorionVayanis [2011-10-12 03:01:20 +0000 UTC]
erhm... sorry to bother you with more issues, but I have followed all the other error solutions (THANK YOU FOR THOSE) and am currently stuck on this one (I guess there *is* a disadvantage to liking something a bit obscure and foreign: very little support.): an error that has something to do with SceneCreate.cpp (I can't find any good Japanese OCR programs to translate teh text in the error message...). It occurs right after CMD says "-create textures..." any help you could give me would be GREAT. thanks!
👍: 0 ⏩: 1
AddestorionVayanis In reply to ChiBinhGnad [2011-10-12 03:25:39 +0000 UTC]
questions: what models are you using, and what pmm file are you trying to load?
would help if you also told me whats your version of mikumikudance you have
but judging by your join date... i'm thinking you saw the video on youtube and downloaded all the latest versions of mmd and artoolkit. lol... correct me if i'm wrong. i want to compile every known issue with this program
👍: 0 ⏩: 1
ChiBinhGnad In reply to AddestorionVayanis [2011-10-13 00:34:34 +0000 UTC]
answers (): I am using the default Animasa Miku model, and trying to load a PMM file (one of my first) that contains about 3 seconds of motion, for simplicity, and that's it. No accessories at all.
I have the latest and absolute last version of MikuMikuDance, the English version 739.
You're half right. XP I have had MMD since late 2010, and I tried this a few months ago (with the same versions and errors) and pursued other interests after succeeding in the inferior ARTK_MMD. Then I was browsing YouTube, saw your video, and the interest was brought back. So, like you said, I joined DeviantArt and commented for that purpose, as I am desperate and cannot find other resources (but kudos on the great tutorial!). I have the latest version of ARtoolkit_MMD. I think what I'll do is browse through the error files and check which one contains the specific error, translate it, and post it here. I wonder if it has anything to do with the C++ run environment...
Oh, and thanks for the quick reply!
👍: 0 ⏩: 2
ChiBinhGnad In reply to ChiBinhGnad [2011-10-13 01:00:11 +0000 UTC]
fixed! I just set 'ShadowMapPrecision' to 8 and it WORKS!!!
DD
👍: 0 ⏩: 0
ChiBinhGnad In reply to ChiBinhGnad [2011-10-13 00:56:17 +0000 UTC]
I've partially isolated the problem.
Although I do not speak Japanese, if that wasn't evident, I assumed that the '553' was referring to the line number in the file 'scene_create.cpp'.
I opened the file, went to line 553, and et voila, it presented an error handler dealing with textures.
here's the handler:
if( FAILED(pD3DDevice->CreateTexture(
(UINT)m_size_sm.x, (UINT)m_size_sm.y,
1,
D3DUSAGE_RENDERTARGET,
D3DFMT_A32B32G32R32F,
D3DPOOL_DEFAULT,
&m_pTexture_sm,
NULL)))
{
ERROR_EXIT("Scene : シャドウマップ用フローティングバッファ(32bit)の作成に失敗しました");
return E_FAIL;
}
here's teh error message (translated by Google):
"Buffer for floating shadow map (32bit) failed to create a"
not translated: "Scene : シャドウマップ用フローティングバッファ(32bit)の作成に失敗しました"
oh, and by the way, I am running XP Service Pack 3, 32-bit.
Also, the links are very touchy, like you said. The 's' in 'Sc' MUST be capitalized, and teh other two lowercase. ;D
Thanks again!
👍: 0 ⏩: 1
AddestorionVayanis In reply to ChiBinhGnad [2011-10-13 04:14:40 +0000 UTC]
lolkay. mine is on windows 7 64, so i has no idea how they're working on other operating systems. lol
👍: 0 ⏩: 1
ChiBinhGnad In reply to AddestorionVayanis [2011-10-13 23:41:28 +0000 UTC]
hmm... odd... I thought I posted a comment. I guess not. Anyways, it basically said "yays, I got it to work! and all I had to do was change 'ShadowMapPrecision' from '32' to '8'! Yays!" XP
...
...and now I'm trying to get it to work on a different computer (Vista, 32-bit)... only to have it suddenly stop after '--Effect\Copy.fx...done.'
It gives me the non-descript 'ARToolkit_MMD.exe has stopped working' will the inevitable buttons which close the program. Yippee.
👍: 0 ⏩: 1
AddestorionVayanis In reply to ChiBinhGnad [2011-10-14 02:50:13 +0000 UTC]
these are my settings on my 64 bit windows 7:
Bulletmode 2
HWSkinningOn 1
AntiAliasing 1
Shadowmapregion 1
Shadowmap resolution 0
Shadowmapprecision 32
ARsscreen 1
ARPerspective 10
ARToolkit 1
Windowsize 1
Markerdetectmode 0
supposedly, HWSkinningOn and BulletMode have less bugs with lower numbers. but i forgets what does what. readme might help though. they generally do telll you what every function does, but i never did google translate it all.
👍: 0 ⏩: 0
SuperSonic68 In reply to AddestorionVayanis [2011-08-23 19:17:37 +0000 UTC]
You're absolutely right, actually! Curses... I was hoping that there was a more precise solution. Do you remember which DLL files you had to download from that separate site? Thanks!
👍: 0 ⏩: 1
AddestorionVayanis In reply to SuperSonic68 [2011-08-24 02:49:20 +0000 UTC]
i downloaded both of the ones stated. googling them would be pretty simple i suppose. lol.
[link]
[link]
👍: 0 ⏩: 1
SuperSonic68 In reply to AddestorionVayanis [2011-08-24 06:00:31 +0000 UTC]
I'll try it! Thanks!
👍: 0 ⏩: 0
SuperSonic68 In reply to SuperSonic68 [2011-08-22 20:37:11 +0000 UTC]
As an update, I tried editing the Setting.ini to turn off the ARToolKit setting and the program opened and imported the model with a grey background. So, I have concluded that there is something wrong with the ARToolKit part of the program, at least for me. What could be wrong?
👍: 0 ⏩: 1
AddestorionVayanis In reply to SuperSonic68 [2011-08-23 09:19:13 +0000 UTC]
those settings, i didnt touch. But probably you would want to try out the previous reply solutions. I myself dont know what i'm doing, but it seems to work. lol.
👍: 0 ⏩: 0
larslayer In reply to ??? [2011-08-21 16:14:01 +0000 UTC]
Hey! I finaly finds a good tutorial on how to get this an im sooo close to finish this! But I need some help.
First of all, you have given me 2 links for th ARToolKit_MMD, witch one do I use?
2:nd, When I run the ARToolKit_MMD I get this window where I can change framerate ect. But when I klick ok it says it cant load the .pmm. ARToolKit is lloking for the v702 of the MMD but the one I downloaded is v739. Ive tried to change the #MMDDataFolderName to v739 but it wont help...
Please what do I do?
👍: 0 ⏩: 1
larslayer In reply to larslayer [2011-08-21 17:37:29 +0000 UTC]
Since the ARToolKit is looking for the v702 (In the setting.ini, by standrard) I guess the ARToolKit_MMD is outdated. Cuz the Mikumikudance that you told me to download in v739... What do you think? Do you understand my problem? Does it work for you?
Sorry for beeing annoying but I really want this to work.
/Thx
👍: 0 ⏩: 1
AddestorionVayanis In reply to larslayer [2011-08-22 02:36:54 +0000 UTC]
you can directly click on the link in step 3. that is the direct download link. The link in step 2 is the community page where i found the link in step 3. I insist on giving full credits to the group.
as for question 2, there are a number of things you can try...
you just need to rename the path in the setting.ini file to v739 (i still use v739). remember that there's an underscore and not a spacebar in the name (mikumikudance_v739).
also, you need the full pathway to your mikumikudance folder. If you saved your mikumikudance in some funny arrangement of folders, you need to give its exact path or else it wont work.
check the complete spelling of the paths. Sometimes even i can misspell one alphabet and that causes the .pmm file to not load. (you could tell me what it currently says)
finally, try to make a new .pmm file with your own model. Allstars.pmm have effects which will not load.
👍: 0 ⏩: 1
larslayer In reply to AddestorionVayanis [2011-08-22 05:03:26 +0000 UTC]
Thanks for helping me out, I arreciate.
Ive extracted MMD and ARTool to the desktop just to make this simple. Path for data:
C:\\Users\Lars\Desktop\MikuMikuDanceE_v739\Data
Path for pmm: C:\Users\Lars\Desktop\MikuMikuDanceE_v739\UserFile\sample.pmm
(I cant find anything called test.pmm in mmd so I set it to sample.pmm)
But now I got something else in the black screen: "can't open PMD file."
Its looking at the path: HB\Download\MikuMikuDanceE_708a\UserFile\Model\Dammy_Bone.pmd
and theres alot of worng things in that path, its not looking for v739, and its not even looking in the MMD! But Ive found the Dammy_Bone.pmd in the MMD. How do I change this path? Cant find it in the setting.ini
Thanks again, and sorry to bother you with this!
👍: 0 ⏩: 3
AddestorionVayanis In reply to larslayer [2011-08-22 05:44:22 +0000 UTC]
uh.... there shouldnt be two forward slashes in front of the C:
yours:
C:\\Users\Lars\Desktop\MikuMikuDanceE_v739\Data
should be:
C:\Users\Lars\Desktop\MikuMikuDanceE_v739\Data
👍: 0 ⏩: 1
larslayer In reply to AddestorionVayanis [2011-08-22 06:42:43 +0000 UTC]
I noticed that..
Thanks for all the help! Good think atleast someone made a tutorial!
👍: 0 ⏩: 0
larslayer In reply to larslayer [2011-08-22 05:42:41 +0000 UTC]
I just made a big breakthrough!
I made a new .pmm, (only Rin standing still, dont know how to get her to move >.<)
Anyways now it works!
Guess its something with the sample.pmm and the sapmle(AllStar).pmm. You said something about deleting the stage and two dammy_bones? Where do i find these? Are they in the .pmms? If so, how do I open the .pmms?
/Thanks!
👍: 0 ⏩: 0
larslayer In reply to larslayer [2011-08-22 05:22:56 +0000 UTC]
I just made a big breakthrough!
I made a new .pmm (just Rin standing there since I dont know how to get her to move >.<) And that worked. Must be something with the other .pmms then.
You said something about deleting the stage and two Dammy_Bones. Where do i find these? Is it in the .pmms? What do I open them with?
Thanks!
👍: 0 ⏩: 1
AddestorionVayanis In reply to larslayer [2011-08-22 05:45:20 +0000 UTC]
oh okay. cool
that was in the allstars.pmm.
i know that several accesory models wont load.
congratulations on your new... program. lol
👍: 0 ⏩: 0
lunar-elegance In reply to ??? [2011-08-11 01:10:32 +0000 UTC]
; u ; I love you so much right now
👍: 0 ⏩: 1
AddestorionVayanis In reply to lunar-elegance [2011-08-11 02:43:50 +0000 UTC]
lol.... it just started out as a personal reference whenever i'm not online on my own computer. no idea such a tutorial was never done for this build of artoolkit_mmd.
maybe i might do vmdspectrum after i guess what every other kanji character in it does. i dont know japanese, i just guess. for artoolkit, i just mashed the whole keyboard before i figured out buttons a, s and r did anything.
👍: 0 ⏩: 0
Milhala In reply to ??? [2011-08-09 19:07:16 +0000 UTC]
thank u sooooooooooo much for the tutorial~ this progam is just so fun X3
👍: 0 ⏩: 2
AddestorionVayanis In reply to Milhala [2011-08-10 02:42:17 +0000 UTC]
its a shame that it drains so much of processor and graphics card performance. Its so hard to get decent recording off it. ESPECIALLY when you have those 19 or so models dancing to it.
MikuMikuEffect wont work on it, but VMDSpectrum and Zbyl's X Exporter for google sketchup works on it.
reference list here:
[link]
👍: 0 ⏩: 0
AddestorionVayanis In reply to Milhala [2011-08-10 02:40:35 +0000 UTC]
its a shame that it drains so much of processor and graphics card performance. Its so hard to get decent recording off it. ESPECIALLY when you have those 19 or so models dancing to it.
MikuMikuEffect wont work on it, but VMDSpectrum and Zbyl's X Exporter for google sketchup works on it.
reference list here:
[link]
👍: 0 ⏩: 1
Milhala In reply to AddestorionVayanis [2011-08-10 02:59:56 +0000 UTC]
I wasn't really expecting to get a recording from it, since by camstudio goes berserk whenever I use it anyways DX, I did get a very nice picture out of it thought,
[link] . I also got a full-sized rin to dance, but she kept on randomly disappearing and coming back at random, but I probably just needed a bigger marker
VMD spectrum sounds cool, but by safety mode won't let me look at the reference list on youtube ;A;
👍: 0 ⏩: 1
AddestorionVayanis In reply to Milhala [2011-08-10 04:49:39 +0000 UTC]
yeah, seen it. youre the first to actually credit me, lol.
i'm still trying to locate a different marker pattern file, notably the one used in this video:
[link]
The present marker needs to detect that tiny gap between the black square, which cant easily be detected when that marker is far away from the webcam. The one in the link seems to be better since it doesnt have that small gap.
👍: 0 ⏩: 0
<= Prev | | Next =>

























