glTFRuntime icon indicating copy to clipboard operation
glTFRuntime copied to clipboard

KHR_mesh_quantization incorrect scales and positions

Open MrAlvaroRamirez opened this issue 1 year ago • 1 comments

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

MrAlvaroRamirez avatar Apr 28 '23 12:04 MrAlvaroRamirez

@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

rdeioris avatar Apr 26 '24 07:04 rdeioris