You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Analyze the model and obtain that UV is empty #5116
BugGlobal flag to mark a deviation from expected behaviourMMDBugs related to the MMD ("Mikumiku Dance") format.RegressionBugs related to any kind of regression testsUVsProblems/questions related to texture mapping UVs
Describe the bug
Hi. I used assimp5.0.1 to load the miku model and it was able to obtain the correct UV coordinates(mTextureCoords) and display them normally, but using assimp5.2.5 to load the miku model resulted in the display being incorrect due to the null UV coordinates(mTextureCoords) obtained.
To Reproduce
Steps to reproduce the behavior:
After loading the model, use OpenGL to display it.
Expected behavior
Miku model can display normally.
Screenshots
Using 5.0.1:
Using 5.2.5:
Platform (please complete the following information):
Broken by: 9e46fca
This generates the following incorrect error messages for the Miku model:
FBX: length of input data unexpected for ByVertice mapping: 2733, expected 8643
FBX: length of input data unexpected for ByVertice mapping: 2733, expected 8643
Additional notes: 2 weeks until I'm locked out due to my refusal to comply with Microsoft's inane 2FA policy. Do not expect replies from me after that.
No comment in over a week? Expecting me to file a pull request (not going to happen; just fix it yourself and don't bother giving credit for a trivial fix)? Nobody monitoring "old" issues becuase github wisely chose "last added" rather than "last updated" as the default sort criteria? Secret rewrite of the FBX importer in progress? Nobody interested in fixing FBX issues any more, given that it's so broken since 5.0.1 anyway (e.g. numerous anim issues since at least 14b8d12)? I'd try harder to fix them myself, but I have other priorities, and for now, I have other ways of dealing with FBX files (I can still get the FBX SDK, at least, and sometimes, if the planets are correctly aligned, Blender actually successfully converts them as well, with only a little bit of manual intervention). Also, I can't report fixes any more after MS boots me off of github.
BugGlobal flag to mark a deviation from expected behaviourMMDBugs related to the MMD ("Mikumiku Dance") format.RegressionBugs related to any kind of regression testsUVsProblems/questions related to texture mapping UVs
Activity
darktjm commentedon Sep 9, 2023
Broken by: 9e46fca
This generates the following incorrect error messages for the Miku model:
Proposed fix:
Additional notes: 2 weeks until I'm locked out due to my refusal to comply with Microsoft's inane 2FA policy. Do not expect replies from me after that.
darktjm commentedon Sep 16, 2023
No comment in over a week? Expecting me to file a pull request (not going to happen; just fix it yourself and don't bother giving credit for a trivial fix)? Nobody monitoring "old" issues becuase github wisely chose "last added" rather than "last updated" as the default sort criteria? Secret rewrite of the FBX importer in progress? Nobody interested in fixing FBX issues any more, given that it's so broken since 5.0.1 anyway (e.g. numerous anim issues since at least 14b8d12)? I'd try harder to fix them myself, but I have other priorities, and for now, I have other ways of dealing with FBX files (I can still get the FBX SDK, at least, and sometimes, if the planets are correctly aligned, Blender actually successfully converts them as well, with only a little bit of manual intervention). Also, I can't report fixes any more after MS boots me off of github.
stephengold commentedon Oct 27, 2023
I'm able to reproduce this issue using the "Miku.zip" model provided by the OP.
I'm also seeing "length of input data" issues while importing other FBX models:
Error, T0: FBX: length of input data unexpected for ByPolygon mapping: 1076, expected 972so there may be similar issues elsewhere in AssetLib/FBX.
kimkulling commentedon Dec 4, 2023
Sorry for my late response. I am rare on time and I am overwhelmed by the number of open topics.
FBXMeshGeometry: solve issue #5116 using patch provided by darktjm
kimkulling commentedon Dec 4, 2023
Closed by #5333
FBXMeshGeometry: solve issue #5116 using patch provided by darktjm