Blender to Unreal FBX + T3D exporter with instancing

Blender: these objects share linked mesh data
Unreal: import one FBX, paste T3D as instances

I wrote a very simple Blender to Unreal exporter because I couldn’t find one that exported scenes to FBX and T3D at the same time. The purpose is to export only unique data to FBX, instead of all object data, this way duplicates (with linked data in blender) are preserved and objects can be pasted in to Unreal after placement was done in Blender. Now I can export a whole scene at once and still benefit from the efficiency of linked data, without needing to reconstruct object placement manually in Unreal.

It’s no Datasmith, but this is all I need for testing and it works with Blender.

Usage:

  1. In Blender:
    1. Select objects to export, run script. (FBX names are based on mesh data names)
    2. Copy (T3D) text from console output to clipboard (Placed instance/object names will be the same in Unreal and Blender)
  2. In Unreal:
    1. Import FBX files
    2. paste (T3D) clipboard

To Do:

  • Convert to exporter addon
  • Options for file output destination, and content path in Unreal
  • Optionally skip either FBX or T3D output
  • Send T3D to clipboard or text file instead of console
  • Optional scale conversion
  • Instanced Static Mesh Component for Array modifier instances.
  • More features for iterative workflow?


https://gist.github.com/williamgs/4966912faef38770514eab2a9b182c5e

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.