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
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11193

PostPosted: Tue Apr 18, 2017 3:06 pm    Post subject:
Fix FBX conversion to OpenGL coordinate system
Reply with quote

Thanks Farshid, fix merged and submitted to OSG master.

On 15 March 2017 at 18:31, Farshid Lashkari <> wrote:
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
View user's profile Send private message
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 Tiff File to .Osg file conversion Latha Rani General 1 Tue Oct 24, 2017 7:06 am View latest post
No new posts How to improve system performance white_water125 General 0 Tue Oct 17, 2017 6:43 am View latest post
No new posts OpenGL Mottaghi, Arman General 1 Sun Jul 09, 2017 11:28 pm View latest post
No new posts Render Geographic/Projected coordinat... Bruno Oliveira General 0 Mon Jun 05, 2017 2:58 pm View latest post
No new posts Render point cloud in a different coo... Bruno Oliveira General 1 Mon Jun 05, 2017 1:50 pm 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