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 dequantize() function #431

Merged
merged 3 commits into from
Nov 20, 2021
Merged

Add dequantize() function #431

merged 3 commits into from
Nov 20, 2021

Conversation

donmccurdy
Copy link
Owner

@donmccurdy donmccurdy commented Nov 19, 2021

Adds dequantize() function, removing KHR_mesh_quantization and converting vertex attributes to float32.

Usage:

import { dequantize } from '@gltf-transform/functions';
await document.transform(dequantize());
gltf-transform dequantize input.glb output.glb

Remaining:

  • Unit tests

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

Successfully merging this pull request may close these issues.

None yet

1 participant