Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

GLB's importing incorrectly or failing to import with vertex colors or blendshapes #2391

Open Spiketickett opened 3 months ago

Spiketickett commented 3 months ago

Describe the bug?

Whenever I import a GLB, it struggles to import the vertex colors in some of the meshes that are being imported, despite me double checking to import it with vertex colors. I have recently experienced similar GLB import issues with any mesh with blendshapes, where it consistently fails to import the model if it has them.

To Reproduce

Import a GLB file that has vertex colors or blendshapes. If it has only vertex colors, the file will import but may import without the correct vertex colors. If it has blendshapes, the import may fail.

Expected behavior

I expected all vertex colors to import as normal, and the model's blendshapes to not cause the import to fail.

Screenshots

No response

Resonite Version Number

2024.6.11.74

What Platforms does this occur on?

Windows

What headset if any do you use?

Valve Index

Log Files

HORYZEN - 2024.6.11.74 - 2024-06-21 07_23_42.log HORYZEN - 2024.6.11.74 - 2024-06-21 09_03_47.log HORYZEN - 2024.6.11.74 - 2024-06-24 09_11_29.log

Additional Context

I attempted to import multiple different GLB files for my girlfriend's avatar "Lumina".

Reporters

Spiketickett CrimsonTaylor Lonia

Frooxius commented 3 months ago

Are you able to provide us with any sample files for testing? They can be simple examples, just enough to show the issue.

Spiketickett commented 3 months ago

Are you able to provide us with any sample files for testing? They can be simple examples, just enough to show the issue.

I can try creating a public sample file, but would also like to share a file privately that I know has the problem for certain.

PointerOffset commented 3 months ago

The incorrect vertex colors may be an issue with Blender's GLB/GLTF exporter. https://projects.blender.org/blender/blender-addons/issues/105278

This may be fixed in the upcoming Blender 4.2 release looking at the issue history. Unfortunately it's been a bit of a long-standing issue that's flip-flopped between being fixed and breaking again.

I'm not sure about the blendshapes though.

FlameSoulis commented 3 months ago

I recently exported out a mesh with blendshapes to GLB. In fact, it's the only way to preserve blendshape order, as the FBX format seems to do LOL Random now.

This was done with Blender 3.2.2 LTS.