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

Conversion to SMPL parameter (Choreographic for music in the wild, positional data --> rotational data) #56

Open
h0han opened this issue Jul 22, 2024 · 3 comments

Comments

@h0han
Copy link

h0han commented Jul 22, 2024

Hello, thank you for your wonderful work.
I'm seeking a way to take the choreography for music in the wild as a .fbx format.
For this, I have tried to convert the 3D position into SMPL parameter, using the commend of python -u main_actor_critic.py --config configs/actor_critic_demo.yaml --train and rotmat=True in the config file.
In this process, I have a question about the function of visulizeAndWrite() in functional.py. In the function, the dance motion data (maybe predicted 3D position sequence) is got into the get_closest_rotmat() and rotmat2aa. As I know, the SMPL model can predict its parameters using the 3D rotational data, but in the code, there is no function for converting positional data to rotational data.

So, is there a way of converting positional data to rotational data? Or do I implement the function using the IK method and so on?

If there's anything I'm misunderstanding, I would appreciate it if you could correct me.

@Ancolie18
Copy link

https://github.com/wangsen1312/joints2smpl
hi, this project seems can do what you want. I tried it, but meet some error. you can try it too~

@juhayna-zh
Copy link

https://github.com/wangsen1312/joints2smpl hi, this project seems can do what you want. I tried it, but meet some error. you can try it too~

hey, i find this project useful. i successful converted it to a pickle file that can be imported into Blender, and then i got a 3D model dance using the SMPL-to-FBX plugin.

however, i still cannot drive custom 3D models (such as mixamo), i can only drive SMPL's default human body. i asked some of my Blender-familiar friends, and they say that driving custom 3D models may be difficult, because SMPL is not a common skeleton format in their industry.

so i decide to stop here.
but i hope someone who is good at 3D modeling can continue to explore how to drive it. for all those interested, i also find the discussion in this link useful: google-research/mint#39

@h0han
Copy link
Author

h0han commented Jan 7, 2025 via email

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

3 participants