Add fbx conversion for win viewer.

This commit is contained in:
lzwdgc 2020-03-01 22:45:50 +03:00
parent e8edda1ccf
commit 4fbe749be7

View file

@ -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;
}
}