mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
Add fbx conversion for win viewer.
This commit is contained in:
parent
e8edda1ccf
commit
4fbe749be7
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue