Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Conversation

@AsoboStudioPersonal
Copy link

Low poly fox by PixelMannen (Animated)
https://sketchfab.com/models/371dea88d7e04a76af5763f2a36866bc
https://opengameart.org/content/fox-and-shiba

Copyright/Attribution Notice:
Feel free to credit me. It is not required though.

@emackey
Copy link
Member

emackey commented Mar 2, 2018

Nice model!

I notice it has what appear to be a number of animation cycles, walk, run, look around, etc. But these are all lumped together into a single animation block called Take 001. Do you have any way to break these up into separate named animations?

This repo is in need of models that have separate, named animations, such that for example the run cycle could be used independently of a walk cycle.

Also, is there a license associated with this?

@AsoboStudioPersonal
Copy link
Author

Yes, this file contains only one animation; and I wouldn't try to break this into seperate named animations.
Other GLB files may contain multiple named animations.
As I understand from the above links, the author gives us full rights to use his asset.

@donmccurdy
Copy link
Contributor

I love this model, looks great.

Will have to agree with @emackey though, that we probably should not show it as a sample unless the animations are split apart and looping cleanly. There has been some confusion about whether and how glTF 2.0 supports multiple animations because our sample models were misleading in the past, and we don't want to repeat that issue. 🙂

I've been working on a three.js feature that would let us split the clip and re-export, and will test that with this model. But unfortunately there's no guarantee it will work once separated, unless the asset was animated with that case in mind.

@donmccurdy donmccurdy self-assigned this Mar 2, 2018
@donmccurdy
Copy link
Contributor

Unfortunately i'm not getting clean results when trying to split the animation at runtime in three.js (which isn't necessarily surprising if the model wasn't exported with that intent), and importing into Blender doesn't quite look right either, so not obvious to me how to split the animations from the FBX source.

@donmccurdy donmccurdy removed their assignment Apr 16, 2018
@scurest
Copy link

scurest commented Jul 19, 2018

No interest in this?

I took the GLB down and polished it quite hard to get this glTF-Embedded file: https://gist.github.com/scurest/1c0f5fb076c3ff128bde2dd6dcb3a796.

It has three separate animation cycles, plus several other optimizations. It is much smaller than the original GLB too.

How's it look?

@donmccurdy
Copy link
Contributor

Looks good! Quite compact, too. Couple things:

  • the original asset is CC Attribution, we should include a link to the author's sketchfab page.
  • looks like there is an extra frame or two on the run cycle, it doesn't quite loop cleanly. that's there in the sketchfab version too, though... would it be difficult to fix that?

Otherwise I'm happy with this, it passes validation and we do need more samples with multiple animations. 👍

@scurest
Copy link

scurest commented Jul 19, 2018

  • Good point. How about an asset["copyright"] string like

    Original model by PixelMannen <https://opengameart.org/content/fox-and-shiba>. Rigging and animation by Tom Kranis <https://sketchfab.com/models/371dea88d7e04a76af5763f2a36866bc>, CC Attribution <https://creativecommons.org/licenses/by/4.0/>. Modified for use as a glTF sample model.
    

    I think that covers CC Attribution's requirements?

  • The "catch" when the left forepaw strikes the ground? Like you say, that was in the original, and removing it doesn't seem to be a matter of just deleting keyframes, so I think that's beyond my skill, unfortunately.

@donmccurdy
Copy link
Contributor

donmccurdy commented Jul 19, 2018

For copyright, I think asset.copyright and including a README.md with the sample file here would be sufficient.

Would defer to others on the catch in the animation loop; haven't had the chance to try editing that yet myself.

@scurest
Copy link

scurest commented Jul 26, 2018

I revised the run animation a bit. Any better?

@donmccurdy
Copy link
Contributor

Thanks! I like the new version. 👍 Do you, or @AsoboStudio, want to open a PR (or update this one) including a README.md file?

@emackey
Copy link
Member

emackey commented Jan 29, 2020

Further discussion moved to new PR #249.

@emackey emackey closed this Jan 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants