Sign in to follow this  
jessepmason

Fbx Exporter - Right Handed

Recommended Posts

Hello! Its awesome to see support for a right handed coordinate system, since my main application is Maya it helps.

But I am wondering if the FBX Exporter supports exports to the right handed coordinate system? Thanks!

Share this post


Link to post
Share on other sites

Hi J!  Good to see you again.  I'm not qualified to talk about this, but a search of our github site... for 'fbx' + "handed"... returned an interesting hit.

https://github.com/BabylonJS/Babylon.js/blob/master/Exporters/FBX/3rdParty/Fbx2017.0.1/include/fbxsdk/scene/fbxaxissystem.h

There sure is lots of talk in there... that could be pertinent.  :)  Hope this helps.  Maybe smarter people than I... will comment soon.  Stay tuned.

Share this post


Link to post
Share on other sites

Thanks! Good to be back.

After a little bit of digging I don't think it is supported yet but...

i'm not sure if it's the right way but it seems to work anyway as I know nothing about c++....

In this file https://github.com/BabylonJS/Babylon.js/blob/master/Exporters/FBX/BabylonFbxNative/BabylonMesh.cpp

I just switched the X and Y indices, inverted the Z normal and Z vertex positions.

There is probably a lot more to it so ya Ill just stick to the left handed system for now lol

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.