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

BumpFactor < 1.0 is ok but BumpFactor == 1.0 can't be retreived #109

Open
flarive opened this issue Jan 2, 2025 · 1 comment
Open

BumpFactor < 1.0 is ok but BumpFactor == 1.0 can't be retreived #109

flarive opened this issue Jan 2, 2025 · 1 comment

Comments

@flarive
Copy link

flarive commented Jan 2, 2025

Hello,

In 3ds max when i export a material having a bump amount < 100 (BumpFactor < 1.0 in the fbx file), openfbx works well to retreive the value.

max_bump_88_ok
bump_factor_88_ok

Now if i set the bump amount to 100 in the 3ds max material editor (100 is the default value in 3ds max) (1.0 in the fbx file), then i don't break into the following line and the BumpFactor retreived by openfbx is wrong (something like -6.2774385622041925e+66 = non initialized double).

max_bump_factor_100_ko
bump_factor_100_ko

May be this problem also affect DiffuseFactor, AmbientFactor, SpecularFactor...

Thanks for your help again

Eviral

@flarive
Copy link
Author

flarive commented Jan 2, 2025

2 more screenshots :

Bump factor = 0.88 -> OK
bump_factor_ok

Bump factor = 1.0 -> No entry (KO)
no_bump_factor

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

No branches or pull requests

1 participant