Issues importing BVH & converting to FBX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to convert BVH files into FBX format for importing to Unreal Engine (to animate characters).
When I use the code below to convert the files, the resulting FBX fails to import to Unreal Engine:
"Can't detect import type. No mesh is found or animation track."
Sure enough, when I inspected the imported scene, there was no mesh and no poses. I'm pretty new to working with the FBX Python SDK (and FBX files in general), so any help/advice is appreciated.
format = lSdkManager.GetIOPluginRegistry().FindReaderIDByExtension("bvh")
importer = FbxImporter.Create(lSdkManager, "")
lResult = importer.Initialize(filepath, format, lSdkManager.GetIOSettings())
importer.Import(lScene)
FbxCommon.SaveScene(lSdkManager, lScene, result.fbx')