HOME | DD

Published: 2011-04-03 01:56:55 +0000 UTC; Views: 55441; 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
Momond01 In reply to ??? [2014-05-19 10:04:24 +0000 UTC]
Another problem is I don't understand on how to edit the Pmm source so that it cannot load the Pmm
And it seems that the pmd file cannot load either :/
👍: 0 ⏩: 1
AddestorionVayanis In reply to Momond01 [2014-05-19 17:41:06 +0000 UTC]
what exactly does your md-dos screen say when it fails to load?
i need either a picture or a description if i am to give a specific answer
👍: 0 ⏩: 1
Momond01 In reply to AddestorionVayanis [2014-05-21 16:56:47 +0000 UTC]
Ok this is the link: www.megafileupload.com/en/file…
Thanks for replying btw c:
👍: 0 ⏩: 1
AddestorionVayanis In reply to Momond01 [2014-05-22 11:29:24 +0000 UTC]
you know you can just upload it onto deviantart.
anyway, your path doesnt lead to a mikumikudance .pmm file. it was just left like this:
C:\Programs\MikuMikuDanceE_v729\UserFile\
when it should be
C:\Programs\MikuMikuDanceE_v729\UserFile\Something.pmm
open up the setting.ini file and put a valid .pmm file behind that path. Dont use the default allstars.pmm though. you are advised to make a fresh .pmm file.
👍: 0 ⏩: 0
Momond01 In reply to ??? [2014-05-18 17:47:04 +0000 UTC]
Well I found my old webcam and it works but it says "Error cannot find PMM file"
Plz help >.<
👍: 0 ⏩: 0
MMD-Sky [2014-04-20 07:24:25 +0000 UTC]
Hmmm, I'd like to try this.
You are awesome for putting this up. It'll be a huge help!
👍: 0 ⏩: 1
AddestorionVayanis In reply to MMD-Sky [2014-04-20 14:24:05 +0000 UTC]
yeasure, go ahead. If you have problems, you may want to go through comments first though. I havent overhauled this tutorial in a long time.
👍: 0 ⏩: 1
zapallito13 In reply to ??? [2014-03-19 22:08:55 +0000 UTC]
This is amazing!!! Thanks for publicing!! But i have a problem.... the webcam window displays.. NOTHING!!! heres a link for a snapshot of my computer i.imgur.com/7bpvnxQ.jpg
i will thank you if you help me!! thanks!!!
👍: 0 ⏩: 1
AddestorionVayanis In reply to zapallito13 [2014-03-20 09:49:32 +0000 UTC]
can your webcam work on any other program?
so long as your webcam can work, there is a way how to make artoolkit read the feed.
I used to use a program named ManyCam which made my webcam work even when the webcam couldnt work even for other programs. But without knowing exactly what is wrong with your webcam prevents me from giving a sure answer.
👍: 0 ⏩: 1
zapallito13 In reply to AddestorionVayanis [2014-03-20 17:35:04 +0000 UTC]
ok!!!! Thanks!!!!!!! i will try this!!!!
👍: 0 ⏩: 0
Mochi-Neko In reply to ??? [2014-02-01 22:56:30 +0000 UTC]
Yaz I scrolled around and found my answer to my error! Time to play with my newest mmd toy! X3 thankyou for sharing this with us! :3 MMD is the best and now I can dance with my utauloid!
👍: 0 ⏩: 1
Mochi-Neko [2014-02-01 22:53:00 +0000 UTC]
Any news about any free mmd motion capture programs that work perfectly fine with a laptop internal webcam instead of requiring a Kinect camera? If so, could someone post a link of where to download it? :3
👍: 0 ⏩: 0
Mochi-Neko In reply to ??? [2014-02-01 22:31:01 +0000 UTC]
I've changed the pathways but I still get this error at the end, my computer wont read Japanese so that's why some of the text is weird, could that be the reason? I've tried different models but nothing is working.
the light on my webcam turns on but the video screen doesn't appear.
👍: 0 ⏩: 1
AddestorionVayanis In reply to Mochi-Neko [2014-02-01 22:56:53 +0000 UTC]
your message that is supposed to be seen is シャドウマップ用フローティングバッファ(32bit)の作成に失敗しました
google translate says its 'failed to create shadow map for 32 bit'
in this case, change your ShadowMapPrecision in the settings.ini file. Change it from 32bit to 16bit or 8bit.
This is the most likely problem.
if you get any more problems, print screen again. If i know at exactly what point the program fails, i can check the source code for a description.
👍: 0 ⏩: 0
Guxar In reply to ??? [2014-01-27 16:31:15 +0000 UTC]
Here is the screenshot with the error imgur.com/xMjZpg1 The model... well, like i said, none works, but in the screenshot i tried with Miku_Hatsune.pmd, It´s the default miku of MMD. And i don´t think that i make a mistake on the settings.ini, because in the error shows that it tries to load it (and show the directory, and it is rigth) anyways, here it is:
# ƒeƒXƒg—pÝ’èƒtƒ@ƒCƒ‹ ver.20100322
# @@•Ï”–¼‚Æ’l‚̊Ԃ̓^ƒu‚Å‹æØ‚é‚±‚Æ
## MMDŠÖ˜A‚ÌÝ’è
# PMMƒtƒ@ƒCƒ‹–¼
PMMFileName C:\Users\FernandoRomán\Desktop\MikuMikuDanceE_v808x64\MikuMikuDanceE_v808x64\UserFile\Ura.pmm
# MMD‚Ì"Data"ƒtƒHƒ‹ƒ_‚ւ̃pƒX
# (MMD•W€‚̃gƒD[ƒ“ƒtƒ@ƒCƒ‹‚ð·‚µ‘Ö‚¦‚½‚¢ê‡‚Ì‚ÝAƒZƒbƒg‚µ‚Ä‚‚¾‚³‚¢B)
#MMDDataFolderName C:\Users\FernandoRomán\Desktop\MikuMikuDanceE_v808x64\MikuMikuDanceE_v808x64\Data
# PMDƒIƒuƒWƒFƒNƒg‚ÌŠg‘åEk¬—¦ (5.0)
Scale 5.0
# •\ަ‚·‚é‚‚³
Height 0.0
# ƒ‰ƒCƒg‚ÌF(r,g,b) [0 ~ 255]
LightColor_RGB 154,154,154
# ƒ‰ƒCƒg‚Ì•ûŒü(x,y,z) [-1.0 ~ 1.0]
LightDirection_XYZ -0.5,-1.0,0.5
# •¨—‰‰ŽZ‚̃ZƒbƒeƒBƒ“ƒO (1 or 2 or 3)
BulletMode 1
# GPU‘¤‚ŃXƒLƒjƒ“ƒOˆ—‚ðs‚¤ ( 0ff / 1
n(ƒ‚[ƒh1) / 2
n(ƒ‚[ƒh2) )
HWSkinningOn 0
## •`‰æŠÖ˜A‚ÌÝ’è
# ƒAƒ“ƒ`ƒGƒCƒŠƒAƒVƒ“ƒO (0ff, 1
n, 2
n(HW) )
AntiAliasing 1
# ƒVƒƒƒhƒEƒ}ƒbƒv‚Ì”ÍˆÍ (0MD‚Ì‚Ý, 1
MD+ƒAƒNƒZƒTƒŠ)
ShadowMapRegion 0
# ƒVƒƒƒhƒEƒ}ƒbƒv‚̉𑜓x (2:2048x2048, 1:1024x1024, 0:512x512)
ShadowMapResolution 1
# ƒVƒƒƒhƒEƒ}ƒbƒv‚̸“x ( 32bit, 16bit, 8bit )
ShadowMapPrecision 32
# Šg‘åƒXƒNƒŠ[ƒ“ƒ‚[ƒh ( 0ff, 1
n )
ARscreen 0
# Šg‘åƒXƒNƒŠ[ƒ“ƒ‚[ƒhŽž‚ÌŽ‹–ìŠp ( ƒY[ƒ€ƒCƒ“F5.0 ~ 10.0 ~ 20.0FƒY[ƒ€ƒAƒEƒg )
ARperspective 10.0
## ARToolKitŠÖ˜A‚ÌÝ’è
# ARToolKit‚ÌOn/Off (0ff, 1
n)
ARToolKit 1
# ARToolKit OffŽž‚̉æ–ʃTƒCƒY (1:640x480, 2:960x720, 3:1280x960, 4:FullScreen)
WindowSize 2
# ƒ}[ƒJƒpƒ^[ƒ“ƒtƒ@ƒCƒ‹
MarkerPatternFileName .\Data\patt.sample1
# ƒJƒƒ‰Ý’èƒtƒ@ƒCƒ‹
CameraConfigFileName .\Data\WDM_camera_flipV.xml
# ƒJƒƒ‰ƒpƒ‰ƒƒ^ƒtƒ@ƒCƒ‹
CameraParamFileName .\Data\camera_para.dat
# ƒ}[ƒJŒŸoƒ‚[ƒh (0:“™”{(¸“x—Dæ), 1:k¬(‘¬“x—Dæ))
MarkerDetectMode 0
# ”’•‰»‚Ì臒l ( 0 ~ 255 )
MarkerGrayScaleThreshold 128
EOF
Maybe it shows emotes in the code (Thanks devianArt) so, I put it too en ivpaste ivpaste.com/v/5FEbmnIs
Thanks for your time
👍: 0 ⏩: 1
AddestorionVayanis In reply to Guxar [2014-01-28 04:32:57 +0000 UTC]
try the three things below first:
Control Panel > Language > add a language > japanese
or Control Panel > Region and Language settings > Keyboards and Languages > change keyboards > add > Japanese
Next, use the NOT 64 bit version of MMD to save your PMM file.
Finally, is move your MMD folder to some other part of your hard drive where the full folder name wont be so long. There may be issues with the folder name and destination are too long for some programs to remember. Not sure about this one. But after you move or copy your folder, you need to make a new PMM file and use models from your new folder.
👍: 0 ⏩: 1
Guxar In reply to AddestorionVayanis [2014-01-28 05:21:54 +0000 UTC]
I´m gonna try the last 2 because i have a big problem (again) I have windows 8 and the version is called "Single Languaje" So, I cant change the language to japanese. Is this too necesary? I think that i can´t do that :/
👍: 0 ⏩: 1
AddestorionVayanis In reply to Guxar [2014-01-28 12:30:33 +0000 UTC]
because the way those words come out on your notepad implies that you dont have japanese language installed, so whatever japanese it does see is being turned into random symbols. Those symbols can screw up the programming. For example, the code which loads models uses // as 'add comments'. If by any chance the random garbage it turns into becomes another // halfway through, it will end the comment, and the remainder of what the code reads will make no sense. (comments is just notes for the reader, so the code will ignore the comments)
if the last two work, then the language thing shouldnt be a problem.
👍: 0 ⏩: 1
Guxar In reply to AddestorionVayanis [2014-01-29 15:51:23 +0000 UTC]
Again (Note that i'm lucky) nothing works for me, anyway my computer had a lot lot of problems with other programs, so i format my pc and put windows 7, at first try it works, It´s all solved, my pc was the problem, i think.
Thank you very much for helping me, you are a very kind guy >.<
👍: 0 ⏩: 1
Guxar In reply to ??? [2014-01-26 15:30:08 +0000 UTC]
Vayanis, I have a big problem, i think. I'm gonna tell you: Artoolkit can't load ANY type of models, I had tried first whit some that are heavy (They had a lot of accesories) And Artoolkit doesn't load it. So tried with some ugly models (They was horrible but they doens't have any accesories) And again, the error said that Artoolkit loaded the pmm but i couldn' t load the pmd (Models). I was mad (Now too Dx ) Then I tried with the default models that are in MMD (They are ugly...), the same error (Can´t load pmd) I tried with the models of here addestorionvayanis.deviantart.… But again.... Can´t load pmd. I do all the things in the tutorial rigth, ALL, It can load the pmm but not the models. I seen tutorial on youtube of this, i did all rigth, but the error is always there. Help me please!!! x3
Please reply me, i wanna find a solution.
Sorry for my bad english (I'm spanish)
👍: 0 ⏩: 1
AddestorionVayanis In reply to Guxar [2014-01-27 05:02:43 +0000 UTC]
take a screenshot of the error which it mentioned, then tell me which model you used to test it.
Also, copy and paste whats in your settings.ini file so i can check whats wrong.
👍: 0 ⏩: 0
herodeviant In reply to ??? [2013-08-28 17:37:59 +0000 UTC]
when i opend artoolkit it said :can't find pmm file.then it said ERRORMM file:c:mikumikudance_v702\userfile\(my pmm file i choos) and then weird letters that i dont understand
👍: 0 ⏩: 1
AddestorionVayanis In reply to herodeviant [2013-08-28 19:10:50 +0000 UTC]
shouldnt it be C:\Mikumikudance_v702\userfile\(pmm file name) [note the additional slash before mikumikudance]
also, this is being tested on mikumikudance_v742, if that changes anything for you...
(hopefully you didnt join deviantart just to ask the question... lol)
👍: 0 ⏩: 1
AddestorionVayanis In reply to herodeviant [2013-08-29 23:20:04 +0000 UTC]
so was the problem solved?
👍: 0 ⏩: 1
herodeviant In reply to AddestorionVayanis [2013-09-22 16:41:06 +0000 UTC]
yes.srry for responding so late.
👍: 0 ⏩: 1
AddestorionVayanis In reply to herodeviant [2013-09-22 17:34:45 +0000 UTC]
dont worry. i have a life outside of deviantart, so its not that i was waiting for a reply. lol.
have fun with it then. lol
[replying to this message is optional]
👍: 0 ⏩: 1
crossglaive In reply to ??? [2013-07-26 02:12:30 +0000 UTC]
Thank you so much for the tutorial~!
btw, your render's so smooth~! * O *)
Mine's a bit laggy. Do you think it's because I have poor lightning or it's my webcam?
👍: 0 ⏩: 1
AddestorionVayanis In reply to crossglaive [2013-07-26 08:01:07 +0000 UTC]
perhaps its the hard disk read write speed, or CPU. Because for most applications, the CPU cant process the data and record it at the same time.
Also, i rendered this at uncompressed avi. I find that rendering while having an encoder running causes it to lagg.
👍: 0 ⏩: 1
crossglaive In reply to AddestorionVayanis [2013-07-26 16:07:20 +0000 UTC]
I found the fix to my problem, X'D
My webcam's set to compensate for low light so I deactivated that and the render's smooth now. > U <)
The surrounding area is pretty dim and I need to place a light near the pattern but it's much better now. <3
👍: 0 ⏩: 1
AddestorionVayanis In reply to crossglaive [2013-07-26 16:31:10 +0000 UTC]
for low light, setting the treshold is a lot easier. Though you'll still need to experiment before it turns out nice. Also, recording on smaller resolutions tend to give more fluidity to the video, so dont try to go full retard and record full screen unless your computer was meant to be able to handle that kind of thing to begin with
👍: 0 ⏩: 1
crossglaive In reply to AddestorionVayanis [2013-07-28 15:58:33 +0000 UTC]
ok~ > U <)/
thank you for the advice~!
👍: 0 ⏩: 0
AddestorionVayanis In reply to mikumimi [2013-06-20 02:49:28 +0000 UTC]
the path for
PMMFileName
must be exact. Also, directly after the PMMFileName in the settings.ini file, its followed by one [tab] and not spacebars.
👍: 0 ⏩: 0
haddyDrow In reply to ??? [2013-04-30 20:39:35 +0000 UTC]
I can't find the settings.ini file. has it changed?
👍: 0 ⏩: 1
AddestorionVayanis In reply to haddyDrow [2013-05-01 00:48:20 +0000 UTC]
its setting.ini
if you enabled 'disable file extension for known file types', then you'll probably just see 'setting'.
but i validated the link. its still there
unless your antivirus deleted it thinking it was some kind of autorun
👍: 0 ⏩: 1
haddyDrow In reply to AddestorionVayanis [2013-05-01 19:44:04 +0000 UTC]
Thank you for replying!
these are the files I see:
ARToolKit.sln
Configure
Configure.win32.bat
Makefile.in
WIN32 fixes.txt
So it must be missing. hmmmm.....
is it?
👍: 0 ⏩: 1
AddestorionVayanis In reply to haddyDrow [2013-05-02 00:31:33 +0000 UTC]
something is very very wrong here....
did you use the link from step 3 or some other link?
you are using a windows machine right?
👍: 0 ⏩: 1
haddyDrow In reply to AddestorionVayanis [2013-05-03 06:31:23 +0000 UTC]
Oops, I downloaded another version, I'm so stupid ._.
sorry!
I found the settings file, but it doesn't load up the webcam, I checked the path and even changed it to just c:/
But it still doesn't work!
Added a printscreen: [link]
👍: 0 ⏩: 1
AddestorionVayanis In reply to haddyDrow [2013-05-03 11:14:13 +0000 UTC]
your PMM filename remains unchanged bro.
you changed MMDDatafoldername, which wont do a thing.
👍: 0 ⏩: 1
haddyDrow In reply to AddestorionVayanis [2013-05-04 09:15:53 +0000 UTC]
Thank you! it works now
this is too awesome
👍: 0 ⏩: 1
AkiAkiSignal In reply to ??? [2013-04-27 17:08:30 +0000 UTC]
Excuse me, but the links are not working.
👍: 0 ⏩: 1
AddestorionVayanis In reply to AkiAkiSignal [2013-04-28 04:07:53 +0000 UTC]
try the link in step 3 directly. First one is just mikumikudance
👍: 0 ⏩: 1
AkiAkiSignal In reply to AddestorionVayanis [2013-04-28 13:47:51 +0000 UTC]
That's weird. Yesterday those links weren't working. Well, I guess that's Virgin Media for ya'. .-.
👍: 0 ⏩: 1
| Next =>