Animation mixing UI
Animation mixing UI
Hey guys, I'm working on some new changes to the animation editor. Now you can have multiple animations and mix them together. Still a work in progress, but feedback is welcome. Make sure to resize your window appropriately.
We are targeting WebKit and I used many WebKit-only features, so be sure to use the latest version of Chrome or Safari (or better yet, a WebKit nightly) to test it out!
http://www.wolfire.com/ui/animationeditor2/editor.html
We are targeting WebKit and I used many WebKit-only features, so be sure to use the latest version of Chrome or Safari (or better yet, a WebKit nightly) to test it out!
http://www.wolfire.com/ui/animationeditor2/editor.html
Re: Animation mixing UI
Very nice. It does take up a lot of space though.
-
- Posts: 856
- Joined: Sun Feb 08, 2009 11:01 am
- Location: Lost in the Alps.
Re: Animation mixing UI
Can we see a video of this in action? I'm sort of at a loss for exactly what it's supposed to be doing (other than multiple timelines).
-
- Posts: 1451
- Joined: Sun Oct 26, 2008 8:24 pm
- Location: Sweden
- Contact:
Re: Animation mixing UI
Seems to work nicely, stuff I noticed:
* I don't want to be able to drag the layers in any other place than the designated dragging area to the left of the name of the layer.
* You can remove all layers unabling you to add any layers at all.
* It seems the add/remove layers buttons are a bit too close together while at the same time looking very much the same, we don't want to remove a layer on accident.
* I don't want to be able to drag the layers in any other place than the designated dragging area to the left of the name of the layer.
* You can remove all layers unabling you to add any layers at all.
* It seems the add/remove layers buttons are a bit too close together while at the same time looking very much the same, we don't want to remove a layer on accident.
Re: Animation mixing UI
Check it out http://www.youtube.com/watch?v=eLvIbizPnTo&hd=1TheBigCheese wrote:Can we see a video of this in action? I'm sort of at a loss for exactly what it's supposed to be doing (other than multiple timelines).
-
- Posts: 856
- Joined: Sun Feb 08, 2009 11:01 am
- Location: Lost in the Alps.
Re: Animation mixing UI
It seems to me like having a "+" button on every layer is a bit redundant when they all accomplish the same task. Probably better to put a single "add layer" button somewhere else.
-
- Posts: 180
- Joined: Thu Sep 10, 2009 9:16 am
- Location: Brisbane, QLD, Australia, Southern Hemisphere, Earth, Sol, Inner Rim, Orion Arm, Milky-Way, Universe
Re: Animation mixing UI
Seen the video, but that doesn't tell me what it actually does. How does it "mix" the animations?
-
- Posts: 856
- Joined: Sun Feb 08, 2009 11:01 am
- Location: Lost in the Alps.
Re: Animation mixing UI
What I'm assuming is that you would be able to combine different animations together. One might be a walking, and one might be a talking animation. Combining them together would produce a walking and talking character.
It occurs to me though, the animation editor is way too simple to be able to handle linking the animations to in-game actions. It'd work for scripted animations, but how would you be able to tie the animation to a combat move? Or tieing it to IK?
Also, it looks like you'll need a separate bone armature for the face in addition to the body. Otherwise, the face would be simulated with ragdoll physics when they are killed, which might be hard to pull off. Though thinking about it now, if we can have jaws that fall open with ragdolls, that would be crazy awesome!
It occurs to me though, the animation editor is way too simple to be able to handle linking the animations to in-game actions. It'd work for scripted animations, but how would you be able to tie the animation to a combat move? Or tieing it to IK?
Also, it looks like you'll need a separate bone armature for the face in addition to the body. Otherwise, the face would be simulated with ragdoll physics when they are killed, which might be hard to pull off. Though thinking about it now, if we can have jaws that fall open with ragdolls, that would be crazy awesome!
-
- Posts: 34
- Joined: Sat Oct 24, 2009 5:08 pm
- Location: New York USA
- Contact:
Re: Animation mixing UI
Sounds like a easier version of non linear editing. If you can pull-this-off, it will be great because it will save us from creating poses files.TheBigCheese wrote:What I'm assuming is that you would be able to combine different animations together. One might be a walking, and one might be a talking animation. Combining them together would produce a walking and talking character.
Exciting times, exciting times indeed.
camino1961.com
Re: Animation mixing UI
This is just the UI, haven't made the other part yet.Eagle0600 wrote:Seen the video, but that doesn't tell me what it actually does. How does it "mix" the animations?
-
- Posts: 180
- Joined: Thu Sep 10, 2009 9:16 am
- Location: Brisbane, QLD, Australia, Southern Hemisphere, Earth, Sol, Inner Rim, Orion Arm, Milky-Way, Universe
Re: Animation mixing UI
Hrm. Then I shall suppress my curiosity and wait.
-
- Posts: 2
- Joined: Wed Nov 25, 2009 12:02 am
- Location: Montreal, Canada
Re: Animation mixing UI
Maybe this is coming soon too, but I am eager to learn.
Scince I stumbled across Wolfire games, I have been reading about Webkit, Awesomium, CSS, HTML5 etc...
I am a traditional C++ programmer, not well versed in Javascript, and I wonder how you interface between the JavaScript and your C++ engine?
Looking at the code, there is a line...
var Client = {}
// Animation API, UI -> engine
When the 'Play' button is pressed, then you need to invoke the 'Play' function in your engine somehow. Is the Client.play(); call invoking this function? If so, I have no idea how. Are the bindings in another file?
If there is some reading that I could do to get myself up to speed, please point me in the right direction.
Thanks
Phil
Scince I stumbled across Wolfire games, I have been reading about Webkit, Awesomium, CSS, HTML5 etc...
I am a traditional C++ programmer, not well versed in Javascript, and I wonder how you interface between the JavaScript and your C++ engine?
Looking at the code, there is a line...
var Client = {}
// Animation API, UI -> engine
When the 'Play' button is pressed, then you need to invoke the 'Play' function in your engine somehow. Is the Client.play(); call invoking this function? If so, I have no idea how. Are the bindings in another file?
If there is some reading that I could do to get myself up to speed, please point me in the right direction.
Thanks
Phil
-
- Posts: 2
- Joined: Wed Nov 25, 2009 12:02 am
- Location: Montreal, Canada
Re: Animation mixing UI
ok, so I have discovered 'V8', the JScriptEngine that Chromium is built on.
Now I just need to figure out how values get passed back and forth.
Are you guys using V8? Just out of curiosity?
Now I just need to figure out how values get passed back and forth.
Are you guys using V8? Just out of curiosity?
Re: Animation mixing UI
Yup You figured it out. We use Client.play() or other similar functions to communicate between the two layers.