From 4fbe749be78ea3d00cba4c519ddb63da781de023 Mon Sep 17 00:00:00 2001 From: lzwdgc Date: Sun, 1 Mar 2020 22:45:50 +0300 Subject: [PATCH] Add fbx conversion for win viewer. --- src/mod_converter/fbx.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mod_converter/fbx.cpp b/src/mod_converter/fbx.cpp index 967dc7c..0c14a1b 100644 --- a/src/mod_converter/fbx.cpp +++ b/src/mod_converter/fbx.cpp @@ -221,6 +221,11 @@ void ConvertScene(FbxScene* lScene, AxisSystem as) case AxisSystem::eDirectX: FbxAxisSystem::DirectX.ConvertScene(lScene); break; + case AxisSystem::eWindows3DViewer: + // UpVector = +Z, FrontVector = +Y, CoordSystem = +X (RightHanded) + // UpVector = ZAxis, FrontVector = ParityOdd, CoordSystem = RightHanded + FbxAxisSystem(FbxAxisSystem::eZAxis, FbxAxisSystem::eParityOdd, FbxAxisSystem::eRightHanded).ConvertScene(lScene); + break; } }