viromedia / virocore

ViroCore cross-platform AR/VR renderer
MIT License
370 stars 108 forks source link

FBX is showing correct animation, but vrx is not in ViroReact #312

Open rhasan082 opened 5 years ago

rhasan082 commented 5 years ago

Hi, I'm using ViroReact for animation. Our artist has designed FBX file where an animated character is showing properly. But once I load the VRX file, I can see the animated character with a detached body. For your convenience, I'm attaching the converted VRX log. Can anyone please suggest me what could be the possible reason for the broken animated character?


"   Original up axis 3, sign 1"
"   Original forward axis 2, sign -1"
"   Coordinate system 0"
"Triangulating scene..."
"Exporting FBX..."
"Exporting skeleton"
"Exporting node [Root Group], type [null]"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [World], type [mesh]"
"   Exporting geometry"
"      UV set name UVChannel_1"
"      Polygon count 3968"
"      Num vertices 11904, stride 48"
"      VAR size 571392"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 3968"
"      Phong material"
"         Opacity set to 1.000000"
"         Texture index 0, texture type [DiffuseColor], texture name [NNMapwithredstarsBlank.jpg]"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Text006], type [mesh]"
"   Exporting geometry"
"      UV set name UVChannel_1"
"      Polygon count 2406"
"      Num vertices 7218, stride 48"
"      VAR size 346464"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 2406"
"      Phong material"
"         Opacity set to 1.000000"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Text005], type [mesh]"
"   Exporting geometry"
"      UV set name UVChannel_1"
"      Polygon count 3332"
"      Num vertices 9996, stride 48"
"      VAR size 479808"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 3332"
"      Phong material"
"         Opacity set to 1.000000"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Text004], type [mesh]"
"   Exporting geometry"
"      UV set name UVChannel_1"
"      Polygon count 1770"
"      Num vertices 5310, stride 48"
"      VAR size 254880"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 1770"
"      Phong material"
"         Opacity set to 1.000000"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Text003], type [mesh]"
"   Exporting geometry"
"      UV set name UVChannel_1"
"      Polygon count 2576"
"      Num vertices 7728, stride 48"
"      VAR size 370944"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 2576"
"      Phong material"
"         Opacity set to 1.000000"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Text002], type [mesh]"
"   Exporting geometry"
"      UV set name UVChannel_1"
"      Polygon count 1758"
"      Num vertices 5274, stride 48"
"      VAR size 253152"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 1758"
"      Phong material"
"         Opacity set to 1.000000"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Text001], type [mesh]"
"   Exporting geometry"
"      UV set name UVChannel_1"
"      Polygon count 4688"
"      Num vertices 14064, stride 48"
"      VAR size 675072"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 4688"
"      Phong material"
"         Opacity set to 1.000000"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Point004], type [null]"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Point006], type [null]"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Point003], type [null]"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Point005], type [null]"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [NOM NOM001], type [mesh]"
"   Geo-only translation 0.000000, 0.000000, -22.500002"
"   Exporting geometry"
"      UV set name UVChannel_1"
"      Polygon count 12288"
"      Num vertices 36864, stride 48"
"      VAR size 1769472"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 12288"
"      Phong material"
"         Opacity set to 1.000000"
"         Texture index 0, texture type [DiffuseColor], texture name [Lowpoly1001AlbedoTransparency.png]"
"   Exporting skin"
"      Number of clusters 1"
"      Found bones for 6146 control points"
"   Exporting skeletal animations"
"      Animation [Take 001] duration 5533 ms"
"   Exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Mouth Position], type [null]"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Mouth], type [mesh]"
"   Geo-only translation 1.514451, -3.030301, 0.000001"
"   Geo-only rotation -0.000126, 0.000100, -21.418587"
"   Exporting geometry"
"      UV set name (null)"
"      Polygon count 172"
"      Num vertices 516, stride 48"
"      VAR size 24768"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 172"
"      Phong material"
"         Opacity set to 1.000000"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Main CTRL], type [unknown]"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Left ARM], type [mesh]"
"   Exporting geometry"
"      UV set name UVChannel_1"
"      Polygon count 440"
"      Num vertices 1320, stride 48"
"      VAR size 63360"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 440"
"      Phong material"
"         Opacity set to 1.000000"
"         Texture index 0, texture type [DiffuseColor], texture name [Lowpoly1001AlbedoTransparency.png]"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Right ARM], type [mesh]"
"   Exporting geometry"
"      UV set name UVChannel_1"
"      Polygon count 440"
"      Num vertices 1320, stride 48"
"      VAR size 63360"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 440"
"      Phong material"
"         Opacity set to 1.000000"
"         Texture index 0, texture type [DiffuseColor], texture name [Lowpoly1001AlbedoTransparency.png]"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Dummy001], type [null]"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Logo Empty], type [mesh]"
"   Exporting geometry"
"      UV set name UVChannel_1"
"      Polygon count 2"
"      Num vertices 6, stride 48"
"      VAR size 288"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 2"
"      Phong material"
"         Opacity set to 1.000000"
"         Texture index 0, texture type [DiffuseColor], texture name [logolarge2.png]"
"         Texture index 11, texture type [TransparentColor], texture name [logolarge2.png]"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Eye Position], type [null]"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Right Eye], type [mesh]"
"   Geo-only translation -13.541255, 4.374281, 0.000017"
"   Geo-only rotation -179.999985, 0.000066, 16.091656"
"   Exporting geometry"
"      UV set name (null)"
"      Polygon count 172"
"      Num vertices 516, stride 48"
"      VAR size 24768"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 172"
"      Phong material"
"         Opacity set to 1.000000"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Exporting node [Right Eye001], type [mesh]"
"   Geo-only translation -13.541255, 4.374281, 0.000017"
"   Geo-only rotation -179.999985, 0.000066, 16.091656"
"   Exporting geometry"
"      UV set name (null)"
"      Polygon count 172"
"      Num vertices 516, stride 48"
"      VAR size 24768"
"   Exporting materials"
"      Num materials 1"
"      Primitive count for material 0: 172"
"      Phong material"
"         Opacity set to 1.000000"
"   No skeleton found, will not export skin"
"   Exporting blend shape animations"
"   Mesh had no deformers, not exporting blend shape animations"
"   Exporting keyframe animations"
"      Animation [Take 001] duration 5533 ms"
"Encoding protobuf [6731697 bytes]..."