Hey, we have forums!

Author Topic: Animation Editor  (Read 8822 times)

0 Members and 1 Guest are viewing this topic.

Offline Yogoda

  • Extra Bit
  • *****
  • Posts: 144
    • View Profile
Animation Editor
« on: August 29, 2009, 11:19:00 am »
I have some questions regarding the animation editor :

For some creatures, not only bones are rotated/translated, but the bone skin itself is deformed. You have that effect in the Shark animation for example. How do we create this effect ? It is like there are additional bones for deforming the skin, but they do not appear in the editor. How do we edit them ? If we can only do this by editing the animation file, how do we change this ? (seems to be related to the "strip" attribute)

Here is an example :

<AnimationLayers>
    <AnimationLayer />
</AnimationLayers>
<Bones>
    <Bone idx="0" gfx="Shark/Body" pidx="-1" name="" fh="0" fv="0" gc="1" cr="0" cp="0 0" strip="0 16" />
    <Bone idx="1" gfx="Shark/Jaw" pidx="-1" name="Jaw" fh="0" fv="0" gc="1" cr="0" cp="0 0" rbp="1" />
</Bones>
<Animations>
    <Animation name="idle">
        <Key e="0 0 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 -183 70 0 4 0 0 0 0 0 0 0 0 " />
        <Key e="0.3 0 0 0 0 16 0 -0.000334218 0 -0.00133724 0 -0.00150339 0 -0.000835022 0 -0.00250553 0 -0.00367319 0 -0.00384123 0 -0.0036755 0 -0.00200264 0 1.93773e-007 0 0.00150302 0 0.0018373 0 0.0025043 0 0.00233505 0 0.00299224 0 0.00348479 1 -182 66 0 4 0 0 0 0 0 0 0 0 " />
        <Key e="1 0 0 0 0 16 0 -0.00417575 0 -0.00384136 0 -0.00451009 0 -0.00334264 0 -0.00265901 0 -0.00137143 0 0.000802116 0 0.00387179 0 0.00450895 0 0.00400997 0 0.00501172 0 0.00601112 0 0.00634613 0 0.00884985 0 0.0115278 0 0.0135262 1 -185 60 0 4 0 0 0 0 0 0 0 0 " />
        <Key e="1.5 0 0 0 0 16 0 -0.00393996 0 -0.00333888 0 -0.00100215 0 0.00100188 0 0.000834431 0 0.0021711 0 0.00260451 0 0.0031721 0 0.00283847 0 0.0021053 0 0.000768272 0 -0.000968844 0 -0.00123646 0 -0.00230558 0 -0.00237189 0 -0.00287509 1 -183 70 0 4 0 0 0 0 0 0 0 0 " />
        <Key e="1.8 0 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 -183 70 0 4 0 0 0 0 0 0 0 0 " />
    </Animation>
</Animations>

Second question :

There are different key types, we can change it using the "L" key in the editor, it change the key colour. So what's the difference between the key types ? We have grey, red, blue and yellow.

Thanks a lot ! I hope someone can answer.

Offline Yogoda

  • Extra Bit
  • *****
  • Posts: 144
    • View Profile
Re: Animation Editor
« Reply #1 on: August 29, 2009, 01:02:12 pm »
Found how to do it !

With E on a bone with the strip attribute, you switch to strip edit mode. The left/right key to change strip, up/down to make it higher-lower, j/k to move it to the left/right.

Cool ! I will add it to the wiki

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: Animation Editor
« Reply #2 on: August 30, 2009, 06:06:10 pm »
Found how to do it !

With E on a bone with the strip attribute, you switch to strip edit mode. The left/right key to change strip, up/down to make it higher-lower, j/k to move it to the left/right.

Cool ! I will add it to the wiki

Yeah, sorry that those controls are so mysterious btw! :)

Offline Yogoda

  • Extra Bit
  • *****
  • Posts: 144
    • View Profile
Re: Animation Editor
« Reply #3 on: August 30, 2009, 07:32:51 pm »
Your editor is amazing, it is really cool to be able to deform the skins in real time.

But I am still wondering what the different key colors are for lol.

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: Animation Editor
« Reply #4 on: September 01, 2009, 09:54:46 am »
If I'm remembering correctly:

One is ease in/out, one is ease in only, and the other is ease out only. I think the non-colored one is "no ease".

Offline Yogoda

  • Extra Bit
  • *****
  • Posts: 144
    • View Profile
Re: Animation Editor
« Reply #5 on: September 01, 2009, 11:10:05 pm »
Cool, I will check it, thanks a lot :)