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

support smpl with thetas? #15

Open
yosun opened this issue Oct 23, 2023 · 4 comments
Open

support smpl with thetas? #15

yosun opened this issue Oct 23, 2023 · 4 comments

Comments

@yosun
Copy link

yosun commented Oct 23, 2023

is there a way to add support with thetas?

tried loading the below generated json

https://replicate.com/p/juthorjbv5uuo4qmprttoxac7i

got this error NullReferenceException: Could not match animation to a model

generated smpl json sample shown below (truncated) - see link above for entire thing

{
  "thetas": [
    [
      [
        [
          7.380026340484619,
          2.0116214752197266,
          -0.11319607496261597
        ],
        [
          -25.853668212890625,
          41.415870666503906,
          72.64888763427734
        ],
        [
          -23.470918655395508,
          -53.890525817871094,
          -70.08582305908203
        ],
        [
          -13.222522735595703,
          -0.7969719767570496,
          5.535960674285889
        ],
@AdamBebko
Copy link
Collaborator

AdamBebko commented Oct 23, 2023 via email

@yosun
Copy link
Author

yosun commented Oct 23, 2023

well, i'm trying to figure out how to get a smpl json generated to be usable in Unity - without having to write my own smpl to mecanim biped converter... i was under the impression that this plugin could help with that?

does it only support smpl without thetas?

@AdamBebko
Copy link
Collaborator

AdamBebko commented Oct 24, 2023 via email

@yosun
Copy link
Author

yosun commented Oct 25, 2023

The model generated a SMPL json. How can we use this in Unity? I assume your Unity plugin's purpose is to allow Unity developers to use SMPL jsons directly in Unity, without needing to write our own converter?

I notice that the file format included thetas which seemed different than your example format.

Here is the entire SMPL json. https://gist.githubusercontent.com/yosun/2c296f9bb4e2de38926917797dcb59f9/raw/a764334d1f518d7d32012435d6ba4e4e0bddb812/idling.json

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