facebookincubator / FBX2glTF

A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.
Other
2.1k stars 332 forks source link

Animation is missing during converting #244

Open jinwoobot opened 4 years ago

jinwoobot commented 4 years ago

Hello, animation that used to work on the fbx does not work after conversion. Warning: node /RootNode/69200L2000 uses unsupported transform inheritance type 'eInheritRrSs' (Further warnings of this type squelched.)

Animation CINEMA_4D_Main: [18446744073709551615 - 18446744073709551615] Warning: animation 'CINEMA_4D_Main' has zero channels. Skipping.

I don't know what zero channels is..

Jeremboo commented 4 years ago

I've got the same issue here. But without the first warning. The animations are really simple and basic.

Animation Take 001: [18446744073709551615 - 18446744073709551615]
Warning: animation 'Take 001' has zero channels. Skipping.

Edit:

I also tried to add the animation into a specific layer and it still doesn't work.

Jeremboo commented 4 years ago

I finally fixed it through Maya 2020 and importing my animation into a layer!

See how it was implemented in Maya: Screen Shot 2020-03-17 at 9 45 52 PM

Even if it was fixed in that way, the issue should stay open. I think it can be better to keep the animation event if it's not integrated into a layer. Softwares like C4D doesn't really allow this layer system.

wangerzi commented 4 years ago

I have the same situation when I use the c4d R21.115 export fbx model

Animation CINEMA_4D_: [4294967295 - 4294967295] animation 0: CINEMA4D (0 channels, 0.0 MB) Building render model... Material 0: 澶槼 [shading: Lambert] Material 1: 鏉愯川.1 [shading: Lambert] Material 2: 鏉愯川 [shading: Phong] 4637 vertices 8480 triangles 3 textures 6 nodes 3 surfaces 1 animations 1 cameras 0 lights Warning: animation 'CINEMA_4D___' has zero channels. Skipping. Warning: Couldn't open file , skipping file. Wrote 32625 bytes of binary glTF to sola.glb.

jinwoobot commented 4 years ago

Hi @wangerzi I think this problem is due to C4D FBX. My solution is import the FBX into the blender(or 3dsmax, maya..) and export it as FBX. And covert same process using FBX2glTF.

I think the FBX of c4d is a little different than the other one.

wangerzi commented 4 years ago

Hi @velbi Thanks for comment, I will try it later. Recently, I tried to convert a long time animation fbx model that made by c4d to gltf, but the animation was cut, maybe they have same reason.

jinwoobot commented 3 years ago

The problem is 'rotate property'. If the animation has 'move property', It's working! or If the animation has 'rotate property' with 'move property', It's also working! but, If the animation only has 'rotate property', the animation made in c4d is missing during converting

I think FBX2glTF should check to something related 'rotate property' from Cinema4D.