HOME | DD

Published: 2011-04-03 01:56:55 +0000 UTC; Views: 55455; 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
AddestorionVayanis In reply to ??? [2012-12-26 06:08:55 +0000 UTC]
currently on hold.
Real life has taken a toll on my free time. Now i'm more of doing mikumikudance models. At least i dont need any extra investment besides free time for that.
👍: 0 ⏩: 1
Haru-Cha In reply to AddestorionVayanis [2012-12-26 06:26:58 +0000 UTC]
i'ts probably a stupid question XD but can you see the model whit you eyes and in all dimension if you not the pattern move
👍: 0 ⏩: 1
AddestorionVayanis In reply to Haru-Cha [2012-12-26 06:48:55 +0000 UTC]
you either move the marker or move the webcam.
its easier to move the marker though.
[link]
👍: 0 ⏩: 1
Haru-Cha In reply to AddestorionVayanis [2012-12-26 07:55:04 +0000 UTC]
no i talk about you sorry i not good in english
so imagine you put the pattern on your desk and you turn around your desk are you can see the model in all dimension or i'ts flat ??
👍: 0 ⏩: 1
AddestorionVayanis In reply to Haru-Cha [2012-12-26 11:10:44 +0000 UTC]
Its a webcam video, so there is nothing on the marker. But when you move the marker, the video will change. Go to near the end of the link i showed you and you should see.
👍: 0 ⏩: 0
Haru-Cha In reply to ??? [2012-12-26 00:57:33 +0000 UTC]
ohh you have the material i want where you but it
👍: 0 ⏩: 0
OceanR1 In reply to ??? [2012-12-21 21:14:45 +0000 UTC]
after the word tutorial the second link is confusing me because there are more than one and one of them work for me.
👍: 0 ⏩: 1
AddestorionVayanis In reply to OceanR1 [2012-12-23 14:52:12 +0000 UTC]
then just go for the axfc 100494 link
thats the base version without all the extra programming files etc.
i usually refer to those extra programming files when people encounter errors
👍: 0 ⏩: 1
AndyNessaDoof In reply to ??? [2012-12-09 00:59:54 +0000 UTC]
I have a problem, I change all of the settings but when I it says it have an error, don't open .pmm file
Help?
(Sorry for my bad english XD)
👍: 0 ⏩: 1
AddestorionVayanis In reply to AndyNessaDoof [2012-12-09 01:35:39 +0000 UTC]
can you type out exactly what it says the way it shows up on the screen?
It will help a lot to find out what is the exact cause of it not loading
👍: 0 ⏩: 1
AndyNessaDoof In reply to AddestorionVayanis [2012-12-16 19:37:28 +0000 UTC]
It's already solved, thanks C:
👍: 0 ⏩: 1
AddestorionVayanis In reply to AndyNessaDoof [2012-12-17 02:29:41 +0000 UTC]
ahh cool. what was the problem? or did it just load after a computer restart?
trying to compile a list of things which usually go wrong and how to fix it.
👍: 0 ⏩: 1
AndyNessaDoof In reply to AddestorionVayanis [2012-12-21 01:29:53 +0000 UTC]
the .pmd files they have an error XD
Yeah, all my friends have some problems, but the majority are typing errors XD
👍: 0 ⏩: 1
AddestorionVayanis In reply to AndyNessaDoof [2012-12-21 03:58:46 +0000 UTC]
roger that. lucky its resolved now. I should update this with a list of frequently occuring problems. lol
👍: 0 ⏩: 1
AndyNessaDoof In reply to AddestorionVayanis [2012-12-30 05:00:15 +0000 UTC]
lol I know, ah and it not open .pmx files
Good luck with that
👍: 0 ⏩: 1
AddestorionVayanis In reply to AndyNessaDoof [2012-12-30 06:23:02 +0000 UTC]
you could convert them to PMD, but some will have problems upon converting.
👍: 0 ⏩: 0
MMDFairy22 In reply to ??? [2012-11-18 16:11:46 +0000 UTC]
how do you make a video of this??
👍: 0 ⏩: 1
AddestorionVayanis In reply to MMDFairy22 [2012-11-19 01:18:03 +0000 UTC]
screen capture. I used hypercam to record this, but i've recently been using camstudio for my more recent screen capture videos.
👍: 0 ⏩: 0
Becha27 In reply to ??? [2012-11-04 11:27:07 +0000 UTC]
i have a problem... ive done all the paths right but when i open ARToolKit and the Property Sheet Properties box comes up its all grey and i cant click anything..... and if i exit out of that or click ok the webcam screen comes up but its all static...... please help me
👍: 0 ⏩: 1
AddestorionVayanis In reply to Becha27 [2012-11-04 14:45:49 +0000 UTC]
can you provide me with your computer's specifications? Particularly the CPU, graphics card and webcam information.
I already assume you have administrator privileges and user account control is turned off.
👍: 0 ⏩: 1
Becha27 In reply to AddestorionVayanis [2012-11-06 07:10:41 +0000 UTC]
some of the computer infomation about the graphics card i think: Card name: ATI Radeon HD 5570
Manufacturer: ATI Technologies Inc.
Chip type: ATI display adapter (0x68D9)
DAC type: Internal DAC(400MHz)
Device Key: Enum\PCI\VEN_1002&DEV_68D9&SUBSYS_E142174B&REV_00
Display Memory: 4071 MB
Dedicated Memory: 1012 MB
Shared Memory: 3059 MB
Current Mode: 1600 x 900 (32 bit) (60Hz)
Monitor Name: Generic PnP Monitor
Monitor Model: SMBX2031
Monitor Id: SAM076A
Native Mode: 1600 x 900(p) (60.000Hz)
Output Type: HD15
thats alot.... and the web cam i have is an eye toy camera....
👍: 0 ⏩: 1
AddestorionVayanis In reply to Becha27 [2012-11-06 07:37:02 +0000 UTC]
i think the problem will be with the eye toy camera.
I dont think its a standard web cam to begin with. Just to check, is the eye toy camera designed to work with playstations?
👍: 0 ⏩: 1
Becha27 In reply to AddestorionVayanis [2012-11-06 07:40:07 +0000 UTC]
yes it is a playstation 2 eye toy camera but i installed a driver onto my computer so i can use it as a web cam and it does work
👍: 0 ⏩: 1
AddestorionVayanis In reply to Becha27 [2012-11-06 07:54:44 +0000 UTC]
i'm not too sure on how to deal with the external cameras though. Even mine didnt behave, so i had to use the integrated one.
I guess i'll try to look around to see if theres any fix available, but because i dont have one of those cameras, it will be difficult for me to confirm anything works
👍: 0 ⏩: 0
SenseiTag In reply to ??? [2012-10-15 07:45:56 +0000 UTC]
why when i upload .pmm file it show error.
👍: 0 ⏩: 1
AddestorionVayanis In reply to SenseiTag [2012-10-15 08:59:29 +0000 UTC]
the thing that follows 'create texture' is 'create vertex buffer' (i have no idea what this is)
but as far as i know, .bmp and .png textures work fine. not too sure about .tga .ddx and .dss though
also, if youre using Allstars.pmm, it should malfunction (i'm not sure why though)
specifically, what model are you using to test this?
👍: 0 ⏩: 1
SenseiTag In reply to AddestorionVayanis [2012-10-15 10:53:00 +0000 UTC]
thank you very much!
👍: 0 ⏩: 0
d0d0litut In reply to ??? [2012-10-12 02:21:22 +0000 UTC]
etoo one more question....how to make it dance on marker???
👍: 0 ⏩: 1
AddestorionVayanis In reply to d0d0litut [2012-10-12 06:20:09 +0000 UTC]
if the .pmm file has a .pmd file with a motion, then press 's' on your keyboard to start the motion. If it has a .wav file attached, the .wav file will start playing too.
pressing 's' again will pause it. Pressing 'r' will reset it. Press 'a' to make the model 50% transparent.
👍: 0 ⏩: 0
d0d0litut In reply to ??? [2012-10-08 13:52:22 +0000 UTC]
plis help mee...
i find a error like this cant open pmd file ...error pmm file
how to resolve it??
👍: 0 ⏩: 1
AddestorionVayanis In reply to d0d0litut [2012-10-08 14:00:15 +0000 UTC]
type out exactly what it says, and whatever came out before it.
that information will help a lot
👍: 0 ⏩: 1
d0d0litut In reply to AddestorionVayanis [2012-10-09 13:53:29 +0000 UTC]
load pmm file.-pmm : D:mikumikudance..\.......\sample.pmm
pmm[1] : HB\download\mikumikudance...\userfile\model\dammy_bone.pmd
---can't open pmd file
:error pmm file
information like this...and how to solve it,,i cant understand that error
👍: 0 ⏩: 2
AddestorionVayanis In reply to d0d0litut [2012-10-10 01:01:57 +0000 UTC]
sample.pmm has some problems. I think its the lasers.
Try to make a new .pmm file using basic models and motions, without any accessory files. It should work
👍: 0 ⏩: 1
d0d0litut In reply to AddestorionVayanis [2012-10-10 17:13:14 +0000 UTC]
okey tq i did it....haha
👍: 0 ⏩: 0
d0d0litut In reply to d0d0litut [2012-10-09 17:13:37 +0000 UTC]
ok not error again but my artoolkit mmd cant launch..it stopped working why??
👍: 0 ⏩: 0
Nasyu45 In reply to ??? [2012-09-15 03:37:14 +0000 UTC]
i need help what do you mean change the title of the pmm and the data folder i tried already and it keeps saying error cannot find test.pmm
👍: 0 ⏩: 1
AddestorionVayanis In reply to Nasyu45 [2012-09-15 13:00:00 +0000 UTC]
the default path for it to find a .pmm file to play is usually not existent.
In the settings.ini file (which openswith notepad) the default setting is:
PMMFileName C:\MikuMikuDance_v702\UserFile\test.pmm
You need to change it to the folder where you actually have a .pmm file you can actually play, such as:
PMMFileName D:\Programs\MikuMikuDanceE_v729\UserFile\the secret garden artoolkit2.pmm
Only then will it be able to load up any .pmm file at all. Or else, youre going to keep getting (cant find test.pmm)
👍: 0 ⏩: 1
Nasyu45 In reply to AddestorionVayanis [2012-09-21 01:09:53 +0000 UTC]
ok what your saying is that so for example i put test.pmm as the name then in the note pad i put the location
👍: 0 ⏩: 1
AddestorionVayanis In reply to Nasyu45 [2012-09-21 02:56:01 +0000 UTC]
yes. But in the notepad, you can just rename it to whatever .pmm file you have. It doesnt need to be named test.pmm
👍: 0 ⏩: 0
Eipuriru14 In reply to ??? [2012-08-14 23:13:35 +0000 UTC]
umm excuse me but why does it not allow me to check the flip horizontal box?
👍: 0 ⏩: 1
AddestorionVayanis In reply to Eipuriru14 [2012-08-15 04:34:45 +0000 UTC]
can be webcam issues.
Some only allow you to flip it when you use either YUV2 or MJPG. Some may not allow you tyo flip image at all.
My general recommendation is to update your webcam drivers, but beyond that, i cant really recommend anything more.
👍: 0 ⏩: 0
pacergm In reply to ??? [2012-07-03 12:40:06 +0000 UTC]
Dear AddestorionVayanis,
I am currently facing the same problem as ~SunnyVaiprion who posted in feb 2012. I'm currently using a Microsoft Lifecam Cinema and pmm doesnt seem to load even though artoolkit_mmd works fine. any opinions?
👍: 0 ⏩: 1
AddestorionVayanis In reply to pacergm [2012-07-03 14:44:10 +0000 UTC]
since that post i have discovered:
one is that the resolution you select is webcam dependent. Some resolutions are specific to each webcam. For me, 640x480 is the resolution which works fine. 640 x 400 loads up the image, but its hovering about 10 spacing grids above the marker, 1600x1200 will outright crash the artoolkit. I suggest playing around with the various resolutions to find the resolution which fits your webcam (it should be more or less identical to your webcam resolution)
Alternatively, its the treshhold settings (this was my original recommended solution). if its really bright, you set the markergreyscaletreshhold to a high value (200++) and if its very dark, a low low value. I suggest trying around with these settings first.
👍: 0 ⏩: 1
pacergm In reply to AddestorionVayanis [2012-07-03 15:00:23 +0000 UTC]
well, couldnt find 640x400 XD but im guessing its 640x480? doesnt seem to work for me tho.. so what you are saying is that i should try to test the resolutions 1 by 1?
👍: 0 ⏩: 2
AddestorionVayanis In reply to pacergm [2012-07-03 18:36:54 +0000 UTC]
sadly, yes. But generally the rule is that the multiples will work the same way (so for me, 640x480 and its x1.6 multiple, 1024x768, will work in the same manner)
alternatively, try updating directX. Seems that this is a new cause of failure which i have yet to encounter before.
👍: 0 ⏩: 1
pacergm In reply to AddestorionVayanis [2012-07-04 05:41:21 +0000 UTC]
im guessing that there's something wrong with the marker.. will print the marker in the toolkit from ur link to test it out. might be the marker that is not registered
👍: 0 ⏩: 1
AddestorionVayanis In reply to pacergm [2012-07-04 08:00:09 +0000 UTC]
the other thing which may mess it up is that after every word in the setting.ini file, from the word to the value, is separated by a TAB.
So simply using spacebars to space them apart will mess it up.
Also, make sure the marker is in full view and the dark parts all have the same 'darkness' on the webcam and all light parts have the same brightness.
👍: 0 ⏩: 0
pacergm In reply to pacergm [2012-07-03 15:10:49 +0000 UTC]
just tried all resolutions and doesnt seem to work on all.. well, my first dl was from someone else who posted links on YT (similar to yours) except that he has made some minor changes, eg custom created marker and pmm.. doesnt seem to load the pmm. i have yet to print the marker for yours tho.
👍: 0 ⏩: 0
<= Prev | | Next =>