OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Fix FBX conversion to OpenGL coordinate system


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Submission
View previous topic :: View next topic  
Author Message
Farshid Lashkari
Guest





PostPosted: Wed Mar 15, 2017 6:34 pm    Post subject:
Fix FBX conversion to OpenGL coordinate system
Reply with quote

Hi Robert,

When the "ZUp" option was added to the fbx loader, it broke the previous behavior of converting to the OpenGL axis system. I'm referencing the following commit:


https://github.com/openscenegraph/OpenSceneGraph/commit/c168887e5e9da4e891904d11ccac8ddd60b0362d



This commit inverted the value of the "fSign" variable, but did not update the previous code that used the variable. I've attached the change that restores the original behavior when not using the "ZUp" option.


Cheers,
Farshid

------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Submission All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts About LatLonHeight to XYZ Conversion Rambabu General 2 Wed Feb 01, 2017 5:35 am View latest post
No new posts OSG with OpenGL ES 2.0 and Angle andxet2 Build system [build] 3 Mon Jan 23, 2017 4:36 pm View latest post
No new posts Solar system in OSG or OpenGL? Flogo General 1 Sat Jan 07, 2017 1:24 am View latest post
No new posts System requirements for OpenSceneGraph Nikkitta General 7 Wed Dec 28, 2016 6:28 pm View latest post
No new posts Use OSG with an existing renderer in ... Valtiel General 5 Fri Nov 18, 2016 10:44 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP