Skip to content

KHR_mesh_quantization incorrect scales and positions #57

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

Closed
MrAlvaroRamirez opened this issue Apr 28, 2023 · 1 comment
Closed

KHR_mesh_quantization incorrect scales and positions #57

MrAlvaroRamirez opened this issue Apr 28, 2023 · 1 comment

Comments

@MrAlvaroRamirez
Copy link
Contributor

When compressing a GLTF model with gltfpack it appears with incorrect scales in game.

Model without quantization:
image

Model with KHR_mesh_quantization:
image

Model with KHR_mesh_quantization and -vpn flag (normalized attributes for positions):
image

This is the simple BP I'm using to load the models:
image

I attached the files used to reproduce the problem.

QuantizationIssue_GLB.zip

@rdeioris
Copy link
Owner

@MrAlvaroRamirez sorry for the huge late in the answer but I completely overlooked the issue.

In latest implementations the three assets looks good:

image

So i suppose during the last year the issue has been fixed. I will leave it open for your confirmation (if you have time).

Sorry again

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

No branches or pull requests

2 participants