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

jme3-plugins imports NormalTangentTest incorrectly #2098

Open
stephengold opened this issue Oct 13, 2023 · 0 comments · May be fixed by #2120
Open

jme3-plugins imports NormalTangentTest incorrectly #2098

stephengold opened this issue Oct 13, 2023 · 0 comments · May be fixed by #2120
Labels
defect Something that is supposed to work, but doesn't. Less severe than a "bug"

Comments

@stephengold
Copy link
Member

I noticed a defect in GltfLoader while developing the MonkeyWrench library.

The test data is NormalTangentTest from Khronos's glTF sample models.

Here's how it looks in CompareLoaders when "NormalTangentTest/glTF/NormalTangentTest.gltf" is loaded using jme3-plugins:

Normal-Tangent-Test

According to the documentation for the sample model, this result indicates that the sign of the Y component of the normal is reversed.

I haven't identified the root cause of this bug. However, since MonkeyWrench passes this same test, it's likely the bug is in jme3-plugins, not the PBR material.

@stephengold stephengold added the defect Something that is supposed to work, but doesn't. Less severe than a "bug" label Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something that is supposed to work, but doesn't. Less severe than a "bug"
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant