HOME | DD
Published: 2011-04-03 01:56:55 +0000 UTC; Views: 57393; Favourites: 300; Downloads: 271
Redirect to original
Description
Too many posts on demonstrations and work in progress on videos of ARToolkit_MMD (Augmented Reality Toolkit MikuMikuDance), but no instruction manual on how to use it.demonstration videos, because if a picture is a thousand words, then a video must be a novel
just miku singing secret garden www.youtube.com/watch?v=yLaPU1…
she now has friends - www.youtube.com/watch?v=6BERaG…
VMDSpectrum - addestorionvayanis.deviantart.… MMDAgent - addestorionvayanis.deviantart.…
Description:
ARToolkit is a program used to display models or images on a webcam video by detecting a marker (similar technology: facial recognition). By calculating how the marker image is deformed, the program will know how the marker is oriented in real life. Using that information, it inserts a 3D model with the right orientation into the video using the marker as the center point.
Since MikuMikuDance is a free and powerful 3D modeling software, it can be used to insert a 3d model, motion data, and wave file data stored in the usual .pmm files in augmented reality.
TUTORIAL
1. download MikuMikuDance (mine is directx9 version) from www.geocities.jp/higuchuu4/ind… [note: it will work up until v803, but not with the new v9 MMD pmm files, find a backdated version if required]
2. to download ARToolkit_MMD, first go to com.nicovideo.jp/community/co3…
3. go to this link www1.axfc.net/uploader/Sc/so/1… . Click the obvious button, then on the next screen, click the one that says in english 'download now'
4. extract the files.
5. open the ARToolkit/Data folder, then print out the .pdf named pattSample1 on a piece of paper. for best results, you want to attach it to a hard surface.
6. Back on your computer, open the ARToolkit folder, open up the .ini file named setting.
7. change the #MMDDataFolderName to where you extracted your MikuMikuDance Data folder.
8. change the PMMFileName to the path where the .pmm file you want to use is located
9. you can change the scale to get a larger or smaller scaled model.
10. save and exit the .ini file.
11. run ARToolkit_MMD.exe
12. if you have a 64 bit computer, it should be screwing up saying : msvcp71 is missing. If so, copy and paste the msvcp71 and msvcr71 .dll files in the ARToolkit folder into Windows SysWOW64 folder (not system 32). run ARToolkit_MMD.exe to confirm that its fixed.
13. a windows blackscreen appears with a window named 'Property Sheet Properties.
14. Frame rate should be as high as you can, check the flip horizontal if youre using a laptop webcam, uncheck if you somehow have your webcam attached to your head. color space, i dont really care. Output size... 640 x 480 have not been giving me problems. larger than that tends to lagg. The default 640 x 400 somehow messes some stuff up a bit
15. if you run into an error, it means some models arent loading up or you didnt change the path earlier properly. if so, open MikuMikuDance, open up that .pmm file and just delete the models it cant load.
16. if you can run it, a webcam output now appears.
17. bring your printed pattern into full view of the webcam window. The whole pattern should be visible.
18. the program detects a transformation of the pattern 'matrix' to calculate a viewing orientation.
19. the files in the .pmm file should appear, but not move just yet.
20. these buttons on your keyboard have specific functions: a - toggles opacity of the AR model. s - begins/pauses the dance routine. r - resets the dance routine
21. feel free to move the marker to different orientations to get different views of the whole thing.
22. if your .pmm file has a .wav sound file loaded, this version will play the .wav file as well, provided that its title is in a simple form (no jap, no special characters. A pure english title works best.
23. to play other .pmm files, you need to open the .ini file and change the path to where the new .pmm file you want to load is loaded.
extra info - 10/4/2011
if the webcam has trouble sensing the marker because the marker is not appearing very 'black', then open up the setting.ini file, and search for something named MarkerGrayScaleThreshold. Setting it to a high value (255 maximum number) will make your marker detectable even when its not appearing as 'black' as it should be.
if the surroundings are too black, then setting the number to a lower value will help detect the marker in lower light conditions.
Its default setting is 128.
This dance routine is modified from the pre-existing Sample(Allstar).pmm already included in MikuMikuDance. I deleted the two Dummy bone models and the entire stage.
Credits where credits are due
Animasa, m2, crypton future media - the dance routine and all .pmd models used
Project Diva Miku performing the Secret Garden
ARToolkit_MMD's creators at the abovementioned website
some random youtube vids using the same tech
Go my way miku, neru, haku - www.youtube.com/watch?v=wD6NgW…
caramelldansen - www.youtube.com/watch?v=nQxzum…
Interstellar flight with some um.... 'cool features' which i dont know how to do in MMD - www.youtube.com/watch?v=W-gBRb…
ARToolkit has been known to either NOT work or malfunction with this Rin Append XS mqdl model
mqdl.jpn.org/public/rinApXSb.z…
this LAT Rin Append model will work somewhat, but the ribbon IK bones will start going crazy once a dance routine begins. I suspect a physics problem (download via cococity's link)
cococity.deviantart.com/art/Pr…
full credits and tested models deviation: addestorionvayanis.deviantart.…
update 3/6/2011 I have edited the deviation to show something which will make your augmented reality life a lot easier.
I printed a smaller marker logo and pasted it onto a magnetic bookmark. Now its possible for me to go hands free.
top left: magnetic bookmark attached to shoulder epaulet strap.
middle left, handheld
bottom left, magnetic bookmark attached to sleeve
bottom right, handheld
Also, this works on other surfaces, such as gloves, or drawn on your hand with a permanent marker of sorts. It still needs to be drawn using the proper dimensions and ratios, and must still be straight enough for a proper detection.
update 24/7/2011 Dummy bone will load in ARToolkit_MMD, but some attachments and effects may not load or cause the program to crash. If so, deleting the faulty attachments may work.
update 20/8/2011 Mikumikueffects wont work in ARToolkit.
Also, did a video, and edited the deviation to include one cutscreen from the video. The cutscreen is from the part near the end.
www.youtube.com/watch?v=yLaPU1…
TROUBLESHOOTER updated 9th May 2014
---------------------------------------------------------------------------------------------
If you are unable to select the checkbox which allows you to flip the image (so that the image looks like a mirrored image of you), you can force the horizontal flip by opening
ARToolkitFolder>Data>WDM_camera_flipV.xml
using notepad.
You will be greeted with some lines of text blablablablabla.
Find and change the following line:
to
and then click save.
this will force all future webcam outputs from artoolkit_mmd to be horizontally flipped. If you want it back, then just play around with the settings "true" and "false".
TROUBLESHOOTER updated 5th February 2014
-----------------------------------------------------------
The following is a list of errors which can appear, and the google translate of what they mean.
This should be able to give you a hint of what kind of problem you have.
From ARWrapper.cpp ------------------------------------------------------------------
If it stops after "Load Setting File : %sn"
"設定ファイル(setting.ini)が開けませんでした"
"設定ファイル(setting.ini)のMarkerDetectModeの値が不正です。0 or 1の値を指定してください"
"設定ファイル(setting.ini)のMarkerGrayScaleThresholdの値が不正です。0 ~ 255の値を指定してください"
"ARtoolKit : カメラデバイスファイル(*.xml)の読み込みに失敗したか、または、カメラデバイスの初期化に失敗しました"
"ARtoolKit : カメラの解像度の取得の取得に失敗しました"
"ARtoolKit : カメラパラメータファイル(*.dat)の読み込みに失敗しました"
"ARtoolKit : マーカパターンファイル(patt.*)が正常に読み込めませんでした"
"(Setting.ini) did not open configuration file"
"The value of MarkerDetectMode configuration file (setting.ini) is invalid. Please specify a value of 0 or 1"
"The value of MarkerGrayScaleThreshold configuration file (setting.ini) is invalid. Please specify a value of 0-255"
"ARtoolKit:, or failed to read camera device files (. * Xml), but failed to initialize the camera device"
": I failed to get the acquisition of resolution of camera ARtoolKit"
": I failed to read the camera parameter file (* dat.) ARtoolKit"
": (Patt. *) could not be read correctly marker pattern file ARtoolKit"
From Parameter.cpp--------------------------------------------------------------------
If it fails upon setup,
"Scene : 設定ファイル(setting.ini)が開けませんでした"
after "- AntiAliasingtt"
"Scene : 設定ファイル(setting.ini)のAntiAliasingの値が不正です。0~2の値を指定してください"
"Scene:. AntiAliasing the value of the configuration file (setting.ini) is invalid Please specify a value of 0-2"
after "- SelfShadowtt"
"Scene : 設定ファイル(setting.ini)のSelfShadowOnの値が不正です。0か1の値を指定してください"
"Scene:. SelfShadowOn the value of the configuration file (setting.ini) is invalid Please specify a value of 0 or 1"
after "- FloorShadowtt"
"Scene : 設定ファイル(setting.ini)のFloorShadowOnの値が不正です。0か1の値を指定してください"
"Scene:. FloorShadowOn the value of the configuration file (setting.ini) is invalid Please specify a value of 0 or 1"
after "- ShadowMapResolutiont"
"Scene : 設定ファイル(setting.ini)のShadowMapResolutionの値が不正です。0~2の値を指定してください"
"Scene:. ShadowMapResolution the value of the configuration file (setting.ini) is invalid Please specify a value of 0-2"
after "- ShadowMapPrecisiont"
"Scene : 設定ファイル(setting.ini)のShadowMapPrecisionの値が不正です。32か16か8を指定してください"
"Scene:. ShadowMapPrecision the value of the configuration file (setting.ini) is invalid Please specify the 8 or 16 or 32"
after "- ShadowMapRegiont"
"Scene : 設定ファイル(setting.ini)のShadowMapRegionの値が不正です。0か1の値を指定してください"
"Scene:. ShadowMapRegion the value of the configuration file (setting.ini) is invalid Please specify a value of 0 or 1"
after "- PhysicsOntt"
"Scene : 設定ファイル(setting.ini)のPhysicsOnの値が不正です。0か1の値を指定してください"
"Scene:. PhysicsOn the value of the configuration file (setting.ini) is invalid Please specify a value of 0 or 1"
after "- BulletModett"
"Scene : 設定ファイル(setting.ini)のBulletModeの値が不正です。1~3の値を指定してください"
"Scene:. BulletMode the value of the configuration file (setting.ini) is invalid Please specify a value of 1-3"
after "- HWSkinningOntt"
"Scene : 設定ファイル(setting.ini)のHWSkinningOnの値が不正です。0~2の値を指定してください"
"Scene:. HWSkinningOn the value of the configuration file (setting.ini) is invalid Please specify a value of 0-2"
after "- ARToolKittt"
"Scene : 設定ファイル(setting.ini)のARToolKitの値が不正です。0か1の値を指定してください"
"Scene:. Value of ARToolKit configuration file (setting.ini) is invalid Please specify a value of 0 or 1"
after "- WindowSize tt"
"Scene : 設定ファイル(setting.ini)のWindowSizeの値が不正です。1~4の値を指定してください"
"Scene:. WindowSize the value of the configuration file (setting.ini) is invalid Please specify a value of 1-4"
after "- ARscreentt"
"Scene : 設定ファイル(setting.ini)のARscreenの値が不正です。0か1の値を指定してください"
"Scene:. ARscreen the value of the configuration file (setting.ini) is invalid Please specify a value of 0 or 1"
From windows.cpp ------------------------------------------------------------------
If it stops after "デバッグモードで起動します。n"
"Window : ウィンドウクラスの登録に失敗しました"
": I failed to register the window class Window"
If it stops after "Load PMM File."
" : ERROR : PMM file : %sn", parameter.m_pmmFileName
" : ERROR : PMM file.n"
"ファイルの読み込みに失敗しました。n何かキーを押してください。n"
"音楽ファイルが再生できません。n - %sn", pmm->m_wavFileName
"音楽再生OFFで起動します。n"
"Renderer : レンダラーの初期化に失敗しました"
": ERROR: PMM file:% s n", parameter.m_pmmFileName
": ERROR:. PMM file n"
". N Please Press. N any key failed to read the file"
"You can not play music file n -.% S n", pmm-> m_wavFileName
"Start the music playback OFF. N"
": I failed to initialize renderer Renderer"
From Scene_create.cpp --------------------------------------------------------------
If it stops after "Create Scene...n"
"Scene : Direct3Dデバイスの取得に失敗しました"
" --- シェーダバージョンが2.0未満の為、セルフシャドウOffで起動します。n" -
" --- シェーダバージョンが3.0未満の為、HWスキニングOffで起動します。n"
" --- デバイスがマルチレンダリングターゲット未対応の為、HWスキニングモード1で起動します。n"
"Scene : PMDデータ取り込みで失敗しました"
"Scene : フレームデータ取り込みで失敗しました"
": I failed to get the Direct3D device Scene"
". Because of less than 2.0, --- shader version will start in self-shadowing Off n" -
"For less than 3.0, --- shader version will launch in HW skinning Off. N"
"For multi render target is not supported, --- device starts in HW skinning mode 1. N"
": I failed with PMD data acquisition Scene"
": I failed with frame data acquisition Scene"
If it stops after load accessory
"Scene : アクセサリデータ読み込みで失敗しました"
": I failed with accessory data read Scene"
If it stops after frame data...
"Scene : フレームデータ取り込みで失敗しました"
": I failed with frame data acquisition Scene"
If it stops after Create textures...
"Scene : 背景画像格納用テクスチャの作成に失敗しました"
"Scene : 3Dモデル描画用テクスチャの作成に失敗しました"
"Scene : 3Dモデル描画用テクスチャからのサーフェス取得に失敗しました"
"Scene : 3Dモデル描画用テクスチャの深度バッファの作成に失敗しました"
"Scene : シャドウマップ用フローティングバッファ(8bit)の作成に失敗しました"
"Scene : シャドウマップ用フローティングバッファ(16bit)の作成に失敗しました"
"Scene : シャドウマップ用フローティングバッファ(32bit)の作成に失敗しました"
": I failed to create a background image for storing texture Scene"
": I failed to create a 3D model drawing texture Scene"
": I failed to get surface from the 3D model drawing texture Scene"
": I failed to create a buffer depth of 3D model drawing texture Scene"
": I failed to create shadow map for floating buffer (8bit) Scene"
": I failed to create shadow map for floating buffer (16bit) Scene"
": I failed to create shadow map for floating buffer (32bit) Scene"
If it stops after "Create Shadow Map : D3DFMT_A32B32G32R32Fn"
"Scene : シャドウマップ用テクスチャからのサーフェス取得に失敗しました"
"Scene : シャドウマップ用テクスチャの深度バッファの作成に失敗しました"
"Scene : シャドウマップ用フローティングバッファ(8bit)の作成に失敗しました"
"Scene : シャドウマップ用フローティングバッファ(16bit)の作成に失敗しました"
"Scene : シャドウマップ用フローティングバッファ(32bit)の作成に失敗しました"
": I failed to get surface from the shadow map texture for Scene"
": I failed to create a depth buffer of the shadow map texture for Scene"
": I failed to create shadow map for floating buffer (8bit) Scene"
": I failed to create shadow map for floating buffer (16bit) Scene"
": I failed to create shadow map for floating buffer (32bit) Scene"
If it stops after "Create Shadow Map : D3DFMT_A32B32G32R32Fn"
"Scene : シャドウマップ用テクスチャからのサーフェス取得に失敗しました"
"Scene : 背景スクリーン表示用テクスチャの作成に失敗しました"
"Scene : 背景スクリーン表示用テクスチャからのサーフェス取得に失敗しました"
"Scene : 背景スクリーン表示用テクスチャの深度バッファの作成に失敗しました"
": I failed to get surface from the shadow map texture for Scene"
": I failed to create a background screen display for texture Scene"
": I failed to get surface from the background screen display texture Scene"
": I failed to create a depth buffer of the background screen display for texture Scene"
If it stops after "- Create Vertex Buffers... "
"Scene : コピー用頂点バッファ(座標)の作成に失敗しました"
"Scene : コピー用頂点バッファ(テクスチャ座標)の作成に失敗しました"
"Scene : コピー用頂点バッファ(テクスチャ座標)の作成に失敗しました"
"Scene : 背景画像コピー用頂点バッファ(テクスチャ座標)の作成に失敗しました"
": I Failed to create copy for vertex buffer (coordinate) Scene"
": I Failed to create copy for vertex buffer (texture coordinates) Scene"
": I Failed to create copy for vertex buffer (texture coordinates) Scene"
": I failed to create a background image copy the vertex buffer (texture coordinates) Scene"
From Shader.cpp ----------------------------------------------------------------------
If it stops after "- load & compile shader programs.n"
"Scene : シェーダプログラム( copy.fx ) の読み込みかコンパイルに失敗しました"
"Scene : シェーダプログラム( PMD.fx ) の読み込みかコンパイルに失敗しました"
"Scene : シェーダプログラム( PMD_simple.fx ) の読み込みかコンパイルに失敗しました"
"Scene : シェーダプログラム( FloorShadow.fx ) の読み込みかコンパイルに失敗しました"
"Scene : シェーダプログラム( Skinning.fx ) の読み込みかコンパイルに失敗しました"
"Scene : シェーダプログラム( Accessory.fx ) の読み込みかコンパイルに失敗しました"
"Scene : シェーダプログラム( Accessory_simple.fx ) の読み込みかコンパイルに失敗しました"
": I failed to compile or read shader programs (copy.fx) Scene"
": I failed to compile or read shader programs (PMD.fx) Scene"
": I failed to compile or read shader programs (PMD_simple.fx) Scene"
": I failed to compile or read shader programs (FloorShadow.fx) Scene"
": I failed to compile or read shader programs (Skinning.fx) Scene"
": I failed to compile or read shader programs (Accessory.fx) Scene"
": I failed to compile or read shader programs (Accessory_simple.fx) Scene"
From MusicPlayer.cpp ---------------------------------------------------------------
"ERROR - Could not initialize COM library"
"ERROR - Could not create the Filter Graph Manager."
From Renderer.cpp -------------------------------------------------------------------
"Renderer : Direct3D9オブジェクトの作成に失敗しました")
"Renderer : ディスプレイモードの取得に失敗しました"
" -- デバイスがHWアンチエイリアスに未対応なため、モード1で起動します。n"
"Renderer : ディスプレイデバイスの生成に失敗しました"
": I failed to create a Direct3D9 object Renderer")
": I failed to get the display mode Renderer"
"-. Because the device is not support HW anti-aliasing, it will be started in mode 1 n"
": I failed to generate a display device Renderer"
Related content
Comments: 549
AddestorionVayanis In reply to ??? [2012-04-04 15:57:26 +0000 UTC]
okay, i got it.
The thing that follows next is supposed to be ShadowMap.fx
Since this is the thing which is malfunctioning, i recommend changing the value of the ShadowMapPrecision and ShadowMapResolution.
My settings are 0 (512 x 512) and 32 bit. I am willing to bet at least one of these combinations work:
0 (512 x512) and 32 bit
2 (2048x2048) and 32 bit
0 (512 x512) and 8 bit
2 (2048x2048) and 8 bit
Its default settings may or may not work on some operating systems, so you will need to change it.
👍: 0 ⏩: 5
YoriesSae In reply to AddestorionVayanis [2012-04-04 23:43:36 +0000 UTC]
it's my setting.ini
[link]
👍: 0 ⏩: 1
AddestorionVayanis In reply to YoriesSae [2012-04-05 00:09:30 +0000 UTC]
i cant download it at this moment yet. Still, did you update directX yet?
👍: 0 ⏩: 1
YoriesSae In reply to AddestorionVayanis [2012-04-05 03:47:12 +0000 UTC]
it's work, Thank you, .
but the model couldn't move as i did in Miku2dance.axe
why is that?
👍: 0 ⏩: 1
AddestorionVayanis In reply to YoriesSae [2012-04-05 04:27:03 +0000 UTC]
press s to start or stop the dance and music
press r to reset it to the beginning
press a to make the model 50% transparent and 100% transparent to see the marker
👍: 0 ⏩: 1
YoriesSae In reply to AddestorionVayanis [2012-04-05 06:20:29 +0000 UTC]
thank you sir,
can you give me your simple PMM with music & dance , please? ^^
👍: 0 ⏩: 1
AddestorionVayanis In reply to YoriesSae [2012-04-05 08:07:01 +0000 UTC]
you better make some yourself, because even if i give pmm files to you, you need to repair all the model, music and motion links, so its still much easier to make your own.
i usually stalk niconicodouga and youtube for motion and model data
👍: 0 ⏩: 0
YoriesSae In reply to AddestorionVayanis [2012-04-04 16:29:49 +0000 UTC]
it's same & it doesn't work,
i have a sad T,T
👍: 0 ⏩: 0
YoriesSae In reply to AddestorionVayanis [2012-04-04 16:13:35 +0000 UTC]
may i look your "setting.ini" please
👍: 0 ⏩: 1
AddestorionVayanis In reply to YoriesSae [2012-04-04 16:17:50 +0000 UTC]
# テスト用設定ファイル ver.20100322
# 変数名と値の間はタブで区切ること
## MMD関連の設定
# PMMファイル名
PMMFileName D:\Programs\MikuMikuDanceE_v729\UserFile\the secret garden artoolkit2.pmm
# MMDの"Data"フォルダへのパス
# (MMD標準のトゥーンファイルを差し替えたい場合のみ、セットしてください。)
#MMDDataFolderName D:\Programs\MikuMikuDanceE_v729\Data
# PMDオブジェクトの拡大・縮小率 (5.0)
Scale 9.0
# 表示する高さ
Height 0.0
# ライトの色(r,g,b) [0 ~ 255]
LightColor_RGB 154,154,154
# ライトの方向(x,y,z) [-1.0 ~ 1.0]
LightDirection_XYZ 0.3,-1.0,0.3
# 物理演算のセッティング (1 or 2 or 3)
BulletMode 1
# GPU側でスキニング処理を行う ( 0ff / 1
n(モード1) / 2
n(モード2) )
HWSkinningOn 1
## 描画関連の設定
# アンチエイリアシング (0ff, 1
n, 2
n(HW) )
AntiAliasing 1
# シャドウマップの範囲 (0MDのみ, 1
MD+アクセサリ)
ShadowMapRegion 1
# シャドウマップの解像度 (2:2048x2048, 1:1024x1024, 0:512x512)
ShadowMapResolution 0
# シャドウマップの精度 ( 32bit, 16bit, 8bit )
ShadowMapPrecision 32bit
# 拡大スクリーンモード ( 0ff, 1
n )
ARscreen 1
# 拡大スクリーンモード時の視野角 ( ズームイン:5.0 ~ 10.0 ~ 20.0:ズームアウト )
ARperspective 10.0
## ARToolKit関連の設定
# ARToolKitのOn/Off (0ff, 1
n)
ARToolKit 1
# ARToolKit Off時の画面サイズ (1:640x480, 2:960x720, 3:1280x960, 4:FullScreen)
WindowSize 2
# マーカパターンファイル patt.sample1. marker16.pat
MarkerPatternFileName .\Data\patt.sample1
# カメラ設定ファイル
CameraConfigFileName .\Data\WDM_camera_flipV.xml
# カメラパラメタファイル
CameraParamFileName .\Data\camera_para.dat
# マーカ検出モード (0:等倍(精度優先), 1:縮小(速度優先))
MarkerDetectMode 0
# 白黒化の閾値 ( 0 ~ 255 )
MarkerGrayScaleThreshold 200
EOF
👍: 0 ⏩: 1
YoriesSae In reply to AddestorionVayanis [2012-04-04 16:32:00 +0000 UTC]
it's same with me but it doesn't work T,T
👍: 0 ⏩: 1
AddestorionVayanis In reply to YoriesSae [2012-04-04 16:46:36 +0000 UTC]
i'll have to check its code. Dont expect me to be fast. The code is long, and its in japanese. I cant read japanese
👍: 0 ⏩: 1
YoriesSae In reply to AddestorionVayanis [2012-04-04 16:59:49 +0000 UTC]
take it easy,
I wonder, in the tutorial I think it's easyto do that, but in implementation it's a little hard , lol
but i'm enjoy it ^^
👍: 0 ⏩: 0
YoriesSae In reply to AddestorionVayanis [2012-04-04 16:09:17 +0000 UTC]
"change the #MMDDataFolderName to where you extracted your MikuMikuDance Data folder."
what is mean?
i'm use "D:\YoriesSae\Augment Reality\MikumikuDance\Extract file\ARToolKit_MMD_20100405\Data" is it right ?
👍: 0 ⏩: 0
YoriesSae In reply to AddestorionVayanis [2012-04-04 16:02:43 +0000 UTC]
i'm use windows 7 64bit,
whether it could?
👍: 0 ⏩: 2
AddestorionVayanis In reply to YoriesSae [2012-04-04 17:01:02 +0000 UTC]
update your directX to the latest version. The code is trying to use DirectX, but it may be having problems with older versions.
When you run the program, it will say
Create scene
Check Shader Model versions
VS_version >= 3.0
PS_version >= 3.0
are the numbers the same for you?
👍: 0 ⏩: 1
YoriesSae In reply to AddestorionVayanis [2012-04-04 17:08:49 +0000 UTC]
yes, it's same . . .
i had shared my screenshot before,
👍: 0 ⏩: 0
AddestorionVayanis In reply to YoriesSae [2012-04-04 16:05:48 +0000 UTC]
then you should open up the settings.ini file and change these to:
ShadowMapResolution 0
ShadowMapPrecision 32bit
these are the values i use. I'm using windows7 64 bit too
👍: 0 ⏩: 0
YoriesSae In reply to ??? [2012-04-04 07:35:06 +0000 UTC]
i'm load the miku.pmd & save it,
after that, i'm run the ARToolKit_MMD.exe, and then "ARToolKit_MMD.exe has stop working".
lol
👍: 0 ⏩: 1
YoriesSae In reply to YoriesSae [2012-04-04 10:27:25 +0000 UTC]
"change the #MMDDataFolderName to where you extracted your MikuMikuDance Data folder."
what is mean?
👍: 0 ⏩: 0
SilentLoneWalker In reply to ??? [2012-03-26 22:05:43 +0000 UTC]
When I move the marker, the model disappears. Is there a way to make it so I can move the market without having the models disappear?
👍: 0 ⏩: 1
AddestorionVayanis In reply to SilentLoneWalker [2012-03-27 02:20:18 +0000 UTC]
your best bet is to play around with the threshold setting.
Use low threshold settings when the image is generally dark, and use high threshold setting when the image is very bright. (standard is 120)
also, it helps that the light source is not overly bright, which does have tendencies to mess up the image.
Additionally i attach the marker to clips, bookmarks, cards, (etc etc) to ensure that the shadows from my fingers dont fall onto the marker pattern which does have the capability to mess up the image as well.
👍: 0 ⏩: 0
StarGazer500 In reply to ??? [2012-03-23 01:08:47 +0000 UTC]
what exactly do you need to type for the pmm path?
👍: 0 ⏩: 1
AddestorionVayanis In reply to StarGazer500 [2012-03-23 03:02:33 +0000 UTC]
the full location of the .pmm file that you want to play.
So it will be something like
PMMFileName D:\Programs\MikuMikuDanceE_v729\UserFile\Love and joy.pmm
👍: 0 ⏩: 1
StarGazer500 In reply to AddestorionVayanis [2012-03-23 23:51:16 +0000 UTC]
Ok I got the camera screen to finally come on.. But when I move the pattern in front of the webcam nothing happens and I've set the threshhold as high as it will go
👍: 0 ⏩: 1
AddestorionVayanis In reply to StarGazer500 [2012-03-24 05:39:04 +0000 UTC]
that may be the problem. You need to balance it out so that the threshold is just right.
High - pattern is visible even when it appears very light
Low - pattern is visible even when the surroundings are very dark.
Normally its about 120. So, adjust accordingly
👍: 0 ⏩: 1
StarGazer500 In reply to AddestorionVayanis [2012-03-24 16:42:51 +0000 UTC]
It's working now!!!! :'D You are like my hero now! Thanks for your help!
👍: 0 ⏩: 1
AddestorionVayanis In reply to StarGazer500 [2012-03-25 02:58:50 +0000 UTC]
lol, dont worry about it. lol
👍: 0 ⏩: 0
zx2011 In reply to ??? [2012-03-21 09:32:51 +0000 UTC]
Question :
- I'm using a pc with windows 7 32bit, if I want to use this, do I have to connect a webcam on my pc?
- Does this program required or need a webcam for the use?
I'm still confused, but I really have to know.
Thanks in advance
👍: 0 ⏩: 1
AddestorionVayanis In reply to zx2011 [2012-03-21 12:57:32 +0000 UTC]
yeah. This program needs a webcam. So youre going to need to find one i suppose.
If you dont have a webcam, but you have a microphone, you can try MMDAgent
👍: 0 ⏩: 0
AddestorionVayanis In reply to Yaoi0Yuri0rules [2012-03-15 03:58:47 +0000 UTC]
There may be two causes:
1 - you might want to update your version of mikumikudance to v739 directX version.
2 - If your mikumikudance is already v739 directX, then the next thing thats supposed to show up is loading of the Shadow map. Some graphics cards/computers cant handle high bits. So, change the settings of the shadow map resolution and shadow map precision to other values. If 2048x2048 (2) resolution and 32 bit precision dont work, try 512x512 (0) resolution and 8 bit precision or 4 combinations of those settings.
My 64 bit windows home premium is using 512x512 resolution at 32 bits precision
👍: 0 ⏩: 1
Yaoi0Yuri0rules In reply to AddestorionVayanis [2012-03-15 17:19:06 +0000 UTC]
Thanks! Got it working now!!
👍: 0 ⏩: 1
AddestorionVayanis In reply to Yaoi0Yuri0rules [2012-03-16 00:30:20 +0000 UTC]
which was the problem actually? version739 or the Shadow Map?
👍: 0 ⏩: 1
AddestorionVayanis In reply to Yaoi0Yuri0rules [2012-03-16 04:08:29 +0000 UTC]
lolkay.
I'm compiling lists of what can cause ARToolkit_MMD and MMDAgent to not work. So, definitely needs new versions. lol
👍: 0 ⏩: 0
CarolineShirosaki In reply to ??? [2012-02-17 22:11:30 +0000 UTC]
I either get the popup i sent you, or the command window freezes and is all "windows is searching for a solution" ((yeah right))
👍: 0 ⏩: 0
Touketsuyaiba In reply to ??? [2012-02-12 20:50:09 +0000 UTC]
I've been having errors loading the falling rose pedals like in that very bottom picture of secret garden. Would this be the cause of "update 24/7/2011" or something else?
👍: 0 ⏩: 1
AddestorionVayanis In reply to Touketsuyaiba [2012-02-13 00:32:41 +0000 UTC]
so whats the error? I need more information to help you out
👍: 0 ⏩: 1
Touketsuyaiba In reply to AddestorionVayanis [2012-02-14 00:55:56 +0000 UTC]
Each time I load an effect where rose pedals would fall and scatter, the ARToolkit would crash. Testing this out says that it is the cause of completely crashing the program, and not some other model in the ".pmm". Here is is in use: [link]
For some reason, I cannot get this to work with all the attempts I've tried. Know anything that might help?
👍: 0 ⏩: 1
AddestorionVayanis In reply to Touketsuyaiba [2012-02-14 02:55:02 +0000 UTC]
yeah, i should know that video. I uploaded it. lol.
i was using a mikumikudance_v739 directx version
artoolkit_20100405
Bulletmode 1
HWSkinningOn 1
AntiAliasing 1
ShaodwMapRegion 1
Shadowmapresolution 0
Shadowmaprecision 32bit
ARscreen 1
ARperspective19
ARToolkit 1
WindowSize 2
MarkerDetectMode 0
all settings similar?
👍: 0 ⏩: 1
Touketsuyaiba In reply to AddestorionVayanis [2012-02-26 21:58:35 +0000 UTC]
I'm really sorry for the late reply but yes they do seem familiar! Those are the options in the notepad right? and that's awesome, I love watching it XD lol
👍: 0 ⏩: 1
AddestorionVayanis In reply to Touketsuyaiba [2012-02-27 00:01:26 +0000 UTC]
yeah. so does it work for you yet?
👍: 0 ⏩: 0
badiyanu In reply to ??? [2012-02-11 05:16:48 +0000 UTC]
Thank you very much for this tutorial! I have be experimenting with AR for a few weeks now for work. I have had a lot of trouble trying to figure out how to get animations to work - thus I found this site.
Unfortunately, I cannot get very far with this. After step 11 I get a window that says the program is no longer responding - so it is crashing... It does not seem to matter how I edit the ini file.
relevant info:
windows vista 32 bit
antivirus disabled
user account control off
administrator
no parental blocks
2ghz intel dual core and 1gb vid vard
Webcam works with other programs - like flartoolkit
I copied the glut dll to my system folders
I'd really appreciate any suggestions. Thank you.
👍: 0 ⏩: 1
AddestorionVayanis In reply to badiyanu [2012-02-11 05:19:03 +0000 UTC]
does it immediately crash when you run it, or does it load up the blackscreen? It would help if you tell me whats the last known message the blackscreen gives before it crashed.
make sure you install the .dll files in step 12 too.
👍: 0 ⏩: 1
badiyanu In reply to AddestorionVayanis [2012-02-11 05:40:12 +0000 UTC]
here is a screengrab: [link]
I have not done step 12 because my pc is 32bit.
👍: 0 ⏩: 2
AddestorionVayanis In reply to badiyanu [2012-02-11 05:46:27 +0000 UTC]
the thing that follows is the loading of the .pmm file. Certain items in .pmm files like some lazers, accessories and mikumikueffects are known to crash it.
I can confirm if youre trying to load up the allstars.pmm, it will crash.
try saving a new .pmm file and putting an animasa or lat model in it. just to test it out.
👍: 0 ⏩: 1
badiyanu In reply to AddestorionVayanis [2012-02-11 06:03:57 +0000 UTC]
I have yet to play with pmms. My plan is to build models in Blender and export as pmms via a pluggin.
I have the ini set to find sample.pmm which I haven't heard anyone complain about.
👍: 0 ⏩: 2
AddestorionVayanis In reply to badiyanu [2012-02-11 06:14:13 +0000 UTC]
yeah, same problem. Allstars is just sample.pmm with more models.
Just make a new .pmm file with a basic model without anything else. just for testing sake. I think the lazers in sample and allstars.pmm has issues
👍: 0 ⏩: 1
<= Prev | | Next =>
























