Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE #515 FBX rotated on axis #668

Merged
merged 6 commits into from
Mar 1, 2024
Merged

ISSUE #515 FBX rotated on axis #668

merged 6 commits into from
Mar 1, 2024

Conversation

vmavadiya
Copy link
Contributor

This fixes #515

Description

Assimp supported model file rotation is done by file model convertor available in global settings.
We need to upgrade assimp library to at least 5.X.X version for fetching "GlobalSetting" from assimp file.
I have done with following assimp branch https://github.com/assimp/assimp/tree/v5.3.1

Assimp supported model file rotation is done by file model convertor available in global settings.
We need to upgrade assimp library to at least 5.X.X version for fetching "GlobalSetting" from assimp file.
I have done with following assimp branch https://github.com/assimp/assimp/tree/v5.3.1
@carmenfan carmenfan self-assigned this Feb 4, 2024
Do changes to handle rotation for FBX file only, other file working as it is.
Remove extra code for FBX file checking as suggested by carmen.
Keeping the code to check for FBX file, to handle rotation in other 3d file.
Copy link
Member

@carmenfan carmenfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vmavadiya can you figure out when this is fixed and try a earlier version of assimp?

It's utilisiin string_view which is supported in c++17.

we're still building with c++14 support and upgrading to c++17 is going to be a massive project as some of our other dependencies doesn't like that. So It'd be useful to figure out how far back we can go until vc140/c++14 compiles.

@vmavadiya
Copy link
Contributor Author

@vmavadiya can you figure out when this is fixed and try a earlier version of assimp?

It's utilisiin string_view which is supported in c++17.

we're still building with c++14 support and upgrading to c++17 is going to be a massive project as some of our other dependencies doesn't like that. So It'd be useful to figure out how far back we can go until vc140/c++14 compiles.

@carmenfan The issue was resolved in 5.x.x version with following commit in assimp assimp/assimp#2293.

And we have used version 5.0.0 of assimp, which is complied with C++14 and working fine.

@carmenfan carmenfan self-requested a review February 29, 2024 12:06
@carmenfan carmenfan merged commit c1ecd4d into staging Mar 1, 2024
3 checks passed
@carmenfan carmenfan removed their assignment Mar 5, 2024
@carmenfan carmenfan deleted the ISSUE_515 branch March 6, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants