Page MenuHome

Add "Triangulate Faces" option to FBX export
ClosedPublic

Authored by Samuli Raivio (bqqbarbhg) on Mar 15 2022, 5:39 PM.

Details

Summary

I noticed the FBX export was missing a triangulation option seen in other software and other Blender exporters such as .obj.

This feature is rather useful for example for ensuring consistent normal map baking in third party software, where tangent space gets easily messed up with tools using mikktspace that depends on triangulation choices.

This patch adds a "Triangulate Faces" option in the export options similarly to what the Wavefront OBJ exporter has. Diff-wise it's rather simple by reusing the temporary mesh creation from "Apply Modifiers".

Diff Detail

Event Timeline

Samuli Raivio (bqqbarbhg) requested review of this revision.Mar 15 2022, 5:39 PM
Samuli Raivio (bqqbarbhg) created this revision.

Fixed the default value in save_single().

Hi, thanks for the patch.
I assume @Bastien Montagne (mont29) is the best person to ask for the review (add-on author)

Looks good, thanks for the patch!

This revision is now accepted and ready to land.Mar 28 2022, 9:34 AM