Closed EmiyaSyahriel closed 6 years ago
I can't reproduce here... can you attach an example input please?
Sorry for late reply. I’ve put every source files and files generated by MillionDance except Character Motion due to file size. I’ve tried to import the files to Blender and the bug persist (using mmd_tools and pymeshio plugins). By the way, I downloaded the build from AppVeyor 2 days ago.
MillionDance_ScaleBug.zip https://drive.google.com/file/d/0B3wkrxNHozmwd3RSemR4UF9lLTJaT2hDdnM5M0xPOW5VZV8w/view?usp=drive_web
Pada tanggal Rab, 24 Okt 2018 pukul 04.07 George (Tong) Wu < notifications@github.com> menulis:
I can't reproduce here... can you attach an example input please?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenMLTD/MLTDTools/issues/6#issuecomment-432419924, or mute the thread https://github.com/notifications/unsubscribe-auth/AXXFzC8434TEwnr_uKywJ1tGtcdit79Kks5un4T5gaJpZM4X0q2G .
-- You will found the blooming blue flower near the gate of Novalis - Syahriel http://syahrielos.tk
The transformed model works fine on my PC. And, the wrong scale (~100x) is strange to me, because normal scale factor of Unity to PMX is 0.08 (= 1/12.5). So just an insight appeared. Numeric format problem.
From your profile I see you are from Indonesia. In your reply you used the decimal separator as 123.45,000
(= 10 × 12345), where in my locale it is 123,45.000
.
The default character height is "1.6", which will be interpreted as "16" using your locale. So everything messes up.
First I'll fix this bug soon. Also I need some time to think about how to design this input so that users will not get confused with numeric format.
Globalization plays tricks if you forget to consider it. LOL.
Please try out the latest auto build. It now uses your UI locale (in human's words, write numbers as you are used to).
It's now fixed! Thanks for the fix.
By the way, the ‘100’ were actually the result when I compare the size of the generated PMX model and standard Hatsune Miku PMD in blender with pymeshio addon though they have a slight different in height when I used ’0.01’ with the generated model. I haven’t compare the generated model in MMM / MMD as MMD don’t have an option to resize the model and MMM have a big performance problem in my laptop when loading more than one models.
About your second reply, My laptop locale is Japanese with Indonesian currency format, but looks like that didn’t make any different LOL.
Anyway, thanks for the fix.
Both motion sources (MLTD & MMD) were affected, if Scaling to normal PMX size is checked, the tool generates about 100x normal model size. but if unchecked, it generates about 0,1x ~ 0,01x normal model size with 100x bone size