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

Append a new setting "AI_CONFIG_EXPORT_FBX_TRANSPARENCY_FACTOR_REFER_TO_OPACITY" #5450

Merged
merged 6 commits into from
Feb 27, 2024
Merged

Conversation

Riv1s-sSsA01
Copy link
Contributor

In a fbx file, materials contain property "transparencyFactor".
Current assimp writes "1.0" in this value so far.
However, official sample codes use this value as opacity.
FBX SDK Help | FBX C++ API Reference: ImportScene/DisplayMaterial.cxx | Autodesk
So, I want to add an option to output files for applications which use this value as opacity.

Copy link
Member

@kimkulling kimkulling left a comment

Choose a reason for hiding this comment

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

Looks fine.

@kimkulling kimkulling merged commit f95050e into assimp:master Feb 27, 2024
8 checks passed
@kimkulling
Copy link
Member

Merged, thanks a lot for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants