Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What types of FBX files are supported? #54

Open
maxellabdullah opened this issue Dec 20, 2023 · 7 comments
Open

What types of FBX files are supported? #54

maxellabdullah opened this issue Dec 20, 2023 · 7 comments

Comments

@maxellabdullah
Copy link

Exactly what fbx animations does it support? Or do I have to change the name of the bone first? I tried using fbx from gamerip results but it didn't work.
only fbx from mixamo is what i have tried and it works

@ButzYung
Copy link
Owner

FBX motion file is always tricky because of the difference in bone names. The only thoroughly tested FBX motions are those from Mixamo. Some motions from ActorCore work too. XR Animator uses regular expressions to try to map the bone names but I am not surprised that some FBX motions simply won't work due to bone naming. Yeah if you change the bone names to match the VRM/humanoid format it's likely to work that way.

@maxellabdullah
Copy link
Author

FBX motion file is always tricky because of the difference in bone names. The only thoroughly tested FBX motions are those from Mixamo. Some motions from ActorCore work too. XR Animator uses regular expressions to try to map the bone names but I am not surprised that some FBX motions simply won't work due to bone naming. Yeah if you change the bone names to match the VRM/humanoid format it's likely to work that way.

However, the FBX animation from Mixamo also doesn't work if the file has been slightly edited in Blender or when trying to export it as a BVH file.

OK, I'll try it, changing the name of the bone according to the bone VRM model. or could it be bone mmd?

I included an animated FBX file that won't work in XR Animator. here is the link https://drive.google.com/drive/folders/1M8yywMLiORC5iGrbLcZSfl-uGucHNYD_5o8XRq098Ear5ZwUnZnznJjzuyveDy-GOCEcwGz-?usp=sharing

@ButzYung
Copy link
Owner

Do not include any model/skin data in the FBX file. You just need the motion data.

As for BVH, I think those you provided in the samples have some syntax issues, as the animation frame data should be separated by lines instead of putting everything on a single line.

@maxellabdullah
Copy link
Author

What about the fbx videobooth that I included in the Google Drive folder? I don't think it includes model/skin
Next, can you provide an example of a BVH file for me to imitate and learn it?

@ButzYung
Copy link
Owner

ButzYung commented Dec 22, 2023

Judging from the console log (you can see for yourself at XR Animator tray menu located at the bottom right of Windows taskbar, under DevTools=>Console), those FBX files seem to be fetching some material or mesh data but failed for some reasons.

Here is an example of a valid BVH motion file.
https://threejs.org/examples/models/bvh/pirouette.bvh

You can see that frame data at the bottom are separated by line break.

@maxellabdullah
Copy link
Author

Ah I see, okay. Thank you very much for your help and guidance. 👍👍

and may I ask one more time. How do I ensure that when I export data to VMD it includes IK bone data. Because without it, my model, when using the converted vmd in software other than mmd, the legs are stuck and don't move

@ButzYung
Copy link
Owner

Turn "Leg IK" on, under "Mocap options => Body pose options". It will enable output of leg IK data when exported to VMD, as well as changing the way leg animations are calculated (using IK instead of FK, though in most cases the difference is minimal)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants