Skip to content

Add FBX export support#262

Open
earthiverse42 wants to merge 1 commit into
FabianFG:masterfrom
earthiverse42:fbx-export-feature
Open

Add FBX export support#262
earthiverse42 wants to merge 1 commit into
FabianFG:masterfrom
earthiverse42:fbx-export-feature

Conversation

@earthiverse42

Copy link
Copy Markdown

Add FBX Skeletal Mesh Export Support

This PR adds FBX export functionality for skeletal meshes extracted from Unreal Engine games.

Changes

  • Added FBX format to EMeshFormat enum
  • Updated MeshExporter to support FBX export
  • Implemented complete FBX exporter (FbxExporter.cs) with:
    • Skeletal mesh geometry export
    • Bone hierarchy and transforms
    • Skin weights/vertex influences
    • Morph targets/blend shapes
    • Proper axis system for Blender compatibility

Technical Details

  • Uses Y-up, -Z-front, Y-right axis system declaration
  • Resolves orientation and mirroring issues when importing to Blender
  • Models import correctly as Z-up, -Y-forward in Blender
  • Maintains proper skinning relationships

Testing

Tested with multiple Unreal Engine skeletal meshes, imports correctly into Blender 4.5+ without distortion or mirroring issues.

- Added FBX format to EMeshFormat enum
- Updated MeshExporter to support FBX export option
- Implemented complete FBX exporter with proper axis system
- Fixed orientation issues: exports as Y-up, -Z-front, Y-right
- FBX files import correctly in Blender as Z-up, -Y-forward
- Includes skeletal mesh, bones, skin weights, and morph targets
@earthiverse42

Copy link
Copy Markdown
Author

its only ascii right now i guess i should make it binary if you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant