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

Generate Lods option does not import models correctly #71141

Open
Tracked by #57416
Kalcen opened this issue Jan 10, 2023 · 6 comments
Open
Tracked by #57416

Generate Lods option does not import models correctly #71141

Kalcen opened this issue Jan 10, 2023 · 6 comments

Comments

@Kalcen
Copy link

Kalcen commented Jan 10, 2023

Godot version

v4.0.alpha10.official [4bbe7f0]

System information

Windows 10

Issue description

I've noticed that gltf files imported from Blender are missing all leaf bones in the scene view and in the skin weights, yet the bones are still selectable in the Skeleton3D inspector window.

This is how the animation appears in Blender:
Honeycam 2023-01-10 01-13-32

This is how the imported animation appears in the scene:

2023-01-10.01-16-54_Trim.mp4

Steps to reproduce

Open the zipped scene, right click on test.gltf and select New Inherited Scene, play the test_anim animation in the AnimationPlayer and view the bones in the Skeleton3D inspector.

Minimal reproduction project

ArmatureImportIssue.zip

@TokageItLab
Copy link
Member

TokageItLab commented Jan 10, 2023

I have explained many many times in the past whenever it has been reported that leaf bones do not show up, but it is due to the different way of defining bones in Blender and gltf, and there is no bug in the GUI and Bone animation.

The only problem here is that the skinning is missing, and I can confirm that it previews fine in the gltf viewer, so this is an issue with the godot importer.

@TokageItLab
Copy link
Member

TokageItLab commented Jan 10, 2023

Upon closer look, it seems that the vertices are missing, not the Skining missing. Is it Lods problem? Is there any idea? @fire

@Zireael07
Copy link
Contributor

@TokageItLab I know you've explained it many times, but is it documented? I can't see it anywhere in the Godot docs, so no wonder people keep wondering about their bones...

@TokageItLab
Copy link
Member

@Zireael07 For leaf bone should certainly be documented. I will add pipeline documentation for blender later...

@TokageItLab
Copy link
Member

TokageItLab commented Jan 10, 2023

FYI, it seems to import correctly when Generate Lods is unchecked.

image

@TokageItLab TokageItLab changed the title Imported 3D Armature Missing Last Bone In Chain Generate Lods option does not import models correctly Jan 10, 2023
@fire
Copy link
Member

fire commented Feb 22, 2023

In #73734 I attempt to resolve this bug by setting a minimum of 256 triangles and also assigning every attribute into the simplification algorithm.

@lyuma lyuma modified the milestones: 4.0, 4.1 Feb 27, 2023
@YuriSizov YuriSizov modified the milestones: 4.1, 4.2 Jun 22, 2023
@YuriSizov YuriSizov modified the milestones: 4.2, 4.x Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants