FBX IO: Export normals with IndexToDirect reference mode #105020

Merged
Thomas Barlow merged 3 commits from Mysteryem/blender-addons:fbx_normals_IndexToDirect into main 2023-12-02 02:08:21 +01:00

3 Commits

Author SHA1 Message Date
c332758bf6 Increase FBX minor version 2023-12-02 01:03:13 +00:00
bc5132040f Merge branch 'main' into fbx_normals_IndexToDirect 2023-12-01 00:03:17 +00:00
149353ee55 FBX IO: Export normals with IndexToDirect reference mode
The FBX SDK documentation says that normals should be IndexToDirect
mapped. 9 years ago, we didn't export with IndexToDirect mode because
apps at the time didn't support it well.

9 years is a long time and the apps I've tried all work with
IndexToDirect, so the export of normals has been updated to use the
IndexToDirect mode, using the already existing, but disabled code.

The FBX importer was not previously set up to handle the import of
ByVertice-IndexToDirect normals, so this has been added to ensure that
FBX IO exported .fbx files can also be imported.
2023-11-22 01:51:01 +00:00