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

Add support for EXT_texture_webp #450

Merged
merged 4 commits into from
Jan 28, 2019
Merged

Add support for EXT_texture_webp #450

merged 4 commits into from
Jan 28, 2019

Conversation

OmarShehata
Copy link

This PR adds support for the draft EXT_image_webp extension. It was originally in #448 but the approach changed since the extension was updated, so it was easier to branch from master.

It looks like with the new structure, there isn't anything beyond the WebP header check needed in gltf-pipeline. I added the same tests and sample models to verify that it can take a model with the WebP extension, with and without a fallback image, and it won't toss it. I tested the output models in CesiumJS with the WebP PR and both gltf/glb work correctly.

@lilleyse this is ready but should not be merged until the extension is merged.

@OmarShehata
Copy link
Author

@lilleyse should be cleaner and a bit more robust now. The sampler was indeed not part of the extension so I've removed it.

@OmarShehata OmarShehata changed the title Add support for EXT_image_webp Add support for EXT_texture_webp Jan 25, 2019
@OmarShehata
Copy link
Author

Now that the extension has been merged, I think this is ready to merge @lilleyse .

@lilleyse
Copy link
Contributor

Looks good. Just update CHANGES.md and this should be ready to go.

@OmarShehata
Copy link
Author

Thanks @lilleyse . Let me know how this looks.

@lilleyse lilleyse merged commit d40326f into CesiumGS:master Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants