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

mirrored mesh flip normals #2454

Open
blancgoat opened this issue Jan 4, 2025 · 1 comment
Open

mirrored mesh flip normals #2454

blancgoat opened this issue Jan 4, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@blancgoat
Copy link

blancgoat commented Jan 4, 2025

#2252 maybe same issue

Describe the bug
When mirroring a mesh connected to an armature, the normals are also flipped upon export.

To Reproduce
Steps to reproduce the behavior:

  1. Import a mesh. call it A
  2. Duplicate mesh A. call it B
  3. Create an armature and connect it to the modifier of mesh A
  4. Duplicate mesh A and mirror it. call it A` (In the example file, scale x to -1)
  5. Duplicate mesh B and mirror it. call it B`
  6. Export it as a glTF file and then import it again.

Expected behavior
The normals of the original A, A`, B, B`, and the imported ones should be the same.
but A` isn't same.

Screenshots
Untitled-1

.blend file/ .gltf (mandatory)
test.zip

Version

  • OS: windows 11
  • Blender Version 4.2.5

Additional context
I tried to help resolve the issue, but it wasn't easy. When I attempted it in the __get_normals() (gltf2_blender_gather_primitives_extract.py), the texture flip succeeded, but the normals remained flipped, so I suspect this might not be the solution.

@julienduroure
Copy link
Collaborator

Confirmed

@julienduroure julienduroure added the bug Something isn't working label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants