Sejak di buatnya MikuMikuDance, adalah perangkat lunak yang bebas dan bagus dalam pemodelan 3D, dapatdigunakan untuk memasukkan model 3d, data gerak, dan data file gelombang disimpan dalam file biasa .pmm di augmented reality..
TUTORIAL
- download MikuMikuDance (mine is directx9 version) from [link]
- to download ARToolkit_MMD, first go to [link]
- go to this link [link] Click the obvious button, then on the next screen, click the one that says in english 'download now'
- extract the files.
- 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.
- back in computerland, open the ARToolkit folder, open up the .ini file named setting.
- change the #MMDDataFolderName to where you extracted your MikuMikuDance Data folder.
- change the PMMFileName to the path where the .pmm file you want to use is located
- you can change the scale to get a larger or smaller scaled model.
- save and exit the .ini file.
- run ARToolkit_MMD.exe
- 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.
- a windows blackscreen appears with a window named 'Property Sheet Properties.
- 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
- 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.
- if you can run it, a webcam output now appears.
- bring your printed pattern into full view of the webcam window. The whole pattern should be visible.
- the program detects a transformation of the pattern 'matrix' to calculate a viewing orientation.
- the files in the .pmm file should appear, but not move just yet.
- 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
- feel free to move the marker to different orientations to get different views of the whole thing.
- 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.
- 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.
Jika webcam mengalami kesulitan penginderaan penanda karena penanda tidak terlalu 'hitam', maka buka file setting.ini, dan cari kalimat yang bernama MarkerGrayScaleThreshold. Atur ke nilai tinggi (255 jumlah maksimum) akan membuat penanda Anda terdeteksi bahkan ketika mereka tidak muncul sebagai 'hitam'seperti yang seharusnya.
jika lingkungan sekelilingnya terlalu hitam, maka pengaturan nomor ke nilai yang lebih rendah akan membantu mendeteksi penanda dalam kondisi cahaya rendah.
Pengaturan standar adalah 128.
This comment has been removed by the author.
ReplyDeletewah bagi" gan motin gangnam stilenya dong
Deletetutorialnya bisa di terjemahin nggak?
ReplyDeletetutorialnya versi indo lah bg :D
ReplyDelete