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

Skip Draco-compressed glTF 3d format files. #56613

Merged
merged 1 commit into from
Jan 8, 2022

Conversation

fire
Copy link
Member

@fire fire commented Jan 8, 2022

Stage 0 of adding Draco is don't crash with Draco files.

https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_draco_mesh_compression

Stage 1 is to implement the entire gltf extensions standard.

Stage 2 is to sketch a proposal for adding draco and then putting the proposal into the pile.

Fixes: #47822

@fire fire requested a review from a team as a code owner January 8, 2022 03:03
@Chaosus Chaosus added this to the 4.0 milestone Jan 8, 2022
@akien-mga akien-mga added cherrypick:3.4 cherrypick:3.x Considered for cherry-picking into a future 3.x release labels Jan 8, 2022
@fire fire force-pushed the gltf-skip-draco branch from 7edf46d to b468104 Compare January 8, 2022 18:15
@akien-mga akien-mga merged commit e03714f into godotengine:master Jan 8, 2022
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.5.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jan 12, 2022
@akien-mga
Copy link
Member

Cherry-picked for 3.4.3.

@fire fire deleted the gltf-skip-draco branch January 12, 2022 20:02
@zfyccpp
Copy link

zfyccpp commented Nov 16, 2022

Is there any progress in supporting Draco Extension in Godot 4.0?

@fire
Copy link
Member Author

fire commented Nov 17, 2022

I am not expecting to support draco because we are using the mesh optimizer.

We could expose more features from like gltfpack, but draco and meshoptimizer do the same thing and they conflict.

There is a runtime file size cost.

I recommend using gltf transform to convert the files into core gltf profiles or the features godot supports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

glTF importer fails on Draco-compressed 2CylinderEngine.gltf from Khronos samples
4 participants