Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Blending FBX Character Animation Takes

General discussion about anything TouchDesigner

Blending FBX Character Animation Takes

Postby ParticlePeter » Fri Mar 19, 2010 9:53 am

Hi,

I import an animated FBX Character, take001 gets generated as a CHOP. Than I import the same Character, but with a different animation.
Now I copy take001 from the second Character into the animation COMP of the first character ( it gets renamed to take002 ). I wire these two takes into a switch CHOP, which I connect to the out chop. Switching works fine, but when I wire the takes into a cross CHOP only take001 works fine, but fading to take002 explodes the character in a really wired way.

Is there another ( the right ) way to import FBX takes and get them cross faded ?

How is rotation handled ? Is touch aware of rotation channels and blends them in Quaternion Space ?

Cheers, searching for the Pivot of my Soul, PP !!!
ParticlePeter
 
Posts: 24
Joined: Thu Nov 27, 2008 1:41 pm

Re: Blending FBX Character Animation Takes

Postby teflonjf » Fri Mar 19, 2010 1:14 pm

Just to double check a few basics . . . make sure you have the same # of channels all named the same and in the same order. Also, make sure the blending works in your source animation package, I've seen cases where mapping or based poses are different between takes.

If you can post an example I'll take a look, this should work.
teflonjf
 
Posts: 242
Joined: Wed Nov 14, 2007 3:01 pm

Re: Blending FBX Character Animation Takes

Postby ParticlePeter » Fri Mar 19, 2010 3:09 pm

So you think my approach was the right one ?
But if the chhnnel naming and numbering would be different, shouldn't the switch CHOP screw it up as well ?

Any ideas about the quaternions ? Euler rotations blendet on per channel basis do look wired, but at 100 % blend weight the result should be right, at least, but it isn't.

My setup is kind of complicated, will prepare a simpler one.

Cheers, searching for the Pivot of my Soul, PP !!!
ParticlePeter
 
Posts: 24
Joined: Thu Nov 27, 2008 1:41 pm

Re: Blending FBX Character Animation Takes

Postby malcolm » Fri Mar 19, 2010 4:10 pm

Hey, we just added Quaternion blending as a feature to the Blend CHOP today. It requires a FTE-commercial or Pro license though.
You can tag your channels as quaternion rotations using the Attribute CHOP, then feed it into the Blend CHOP (in builds 5304 or later), turn on the feature, and it'll use quaternions.

You're right that it should look correct with 100% blend on a specific input though...
User avatar
malcolm
Staff
 
Posts: 4054
Joined: Tue Nov 13, 2007 1:11 am

Re: Blending FBX Character Animation Takes

Postby ParticlePeter » Fri Mar 19, 2010 6:08 pm

Sounds great, unfortunatelly I started with touch 077 today, and of course only FTE. Any chance that this feature gets into FTE ? Would like to see how far I can get with Characters.

Btw, I tested the blend CHOP as well, the first channel I connected to a constant CHOP to edit the weights, but nothing happened at all, even the original animation didn't get through. The cross CHOP worked, but screwed up as mentioned. Anyway, will try to import an FBX with multiple takes, maybe teflonjf is right and I screwed up somewhere.

Cheers, searching for the Pivot of my Soul, PP !!!
ParticlePeter
 
Posts: 24
Joined: Thu Nov 27, 2008 1:41 pm

Re: Blending FBX Character Animation Takes

Postby teflonjf » Fri Mar 19, 2010 8:37 pm

Yeah, in theory the switch and cross should function about the same, though I've seen ordering of channels cause problems when I didn't expect. You can sort the all the takes using one of them as reference, maybe that will help. Of course how different the moves are is very important in blending mocap and ultimately quaternions will be your best bet for quality. But even without your character shouldn't explode, though it may have a few issues, depending on the moves you are blending.

Anyway, send a file if you can and I'll see if I can provide anything more useful.

Jeff
teflonjf
 
Posts: 242
Joined: Wed Nov 14, 2007 3:01 pm

Re: Blending FBX Character Animation Takes

Postby ParticlePeter » Sun Mar 21, 2010 2:26 pm

I created the example FBX file, but with this file Touch was crashing very often and I cannot save as .toe ( details at the given link ) so posted a bug report:

Lots of crashes while blending FBX Takes
http://www.derivative.ca/Forum/viewtopic.php?f=12&t=2107

You'll find the FBX file attached. This time even the switch node is not working as expected, but the takes work proper in Motionbuilder. Do you think I miss some settings ?

Also on my machine ( GFX 280 ) I see rendering issues around wings and feet. If you see them as well, is this Z-Fighting ? If not, what could it be then ?

Cheer, searching for the Pivot of my Soul, PP !!!
ParticlePeter
 
Posts: 24
Joined: Thu Nov 27, 2008 1:41 pm

Re: Blending FBX Character Animation Takes

Postby Achim » Sun Mar 21, 2010 6:15 pm

ParticlePeter wrote:Also on my machine ( GFX 280 ) I see rendering issues around wings and feet. If you see them as well, is this Z-Fighting ? If not, what could it be then ?!


Append a facet SOP to /plyDragon/mesh, turn on "Orient Polygons" and the last "Compute Normals" button. This should fix the rendering issues and the second take seems to work fine as well.

Maybe the "Orient Polygons" and "Compute Normals" combo could/should be automatically applied when loading an fbx file?
Achim
 
Posts: 1668
Joined: Wed Nov 14, 2007 1:52 pm

Re: Blending FBX Character Animation Takes

Postby ParticlePeter » Mon Mar 22, 2010 4:39 am

Thx, that fixed the rendering issue, but the switch and cross CHOP are still not working as expected here. I posted comparing screenshots in the bug thread.

Cheers, searching for the Pivot of my Soul, PP !!!
ParticlePeter
 
Posts: 24
Joined: Thu Nov 27, 2008 1:41 pm

Re: Blending FBX Character Animation Takes

Postby malcolm » Mon Mar 22, 2010 5:35 pm

I can see the issue and I'll be taking a look at it as soon as I can.
User avatar
malcolm
Staff
 
Posts: 4054
Joined: Tue Nov 13, 2007 1:11 am

Next

Return to General TouchDesigner Discussion

Who is online

Users browsing this forum: No registered users and 20 guests