jMonkeyEngine / jMonkeyEngine/jmonkeyengine
jme3-plugins imports TextureTransformMultiTest incorrectly
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 14
Description
I noticed a defect in GltfLoader while developing the MonkeyWrench library.
The test data is TextureTransformMultiTest from Khronos's glTF sample models.
Here's how it looks in CompareLoaders when "TextureTransformMultiTest/glTF/TextureTransformMultiTest" is loaded using jme3-plugins:
The 6 empty boxes at the top of the "UV 1" column indicate that jme3-plugins doesn't correctly process the "texCoord" : 1 lines in "TextureTransformMultiTest.gltf" that select the secondary U-V channel. jme3-plugins is already modifying texture coordinates for the "KHR_texture_transform" extension, so selecting a U-V channel ought to be possible.
(Currently, JME's PBR material does not implement clearcoat,which is why the 9 bottom boxes are completely dark. That's a separate issue!)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with GltfLoader and reproduce the issue in CompareLoaders using the linked Khronos TextureTransformMultiTest/glTF/TextureTransformMultiTest sample. Trace how the jme3-plugins loader handles the "texCoord": 1 entries alongside KHR_texture_transform. Done means the secondary UV channel is selected and transformed correctly, including the six affected boxes in the UV 1 column.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100