You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's okay if SK refuses to read anything that it can't handle in terms of glTF extensions, but since I'm getting a segfault (below) I assume there's something wrong in the decoding of (probably) the EXT_meshopt_compression data. Or perhaps the quantization used. Interestingly, cgltf does not list support for KHR_mesh_quantization in its readme, but does appear to actually support it.
Edit: just tested with a file using only KHR_mesh_quantization and KHR_texture_transform (same input file, no -c option to gltfpack) and that loads without problems.
Ay okay, that's not great, yeah! I can definitely reproduce that with your model.
I do have some work related to this in the feature/gltf_meshopt branch. I believe I had a number of models from gltfpack working, but it looks like it doesn't work on yours. Doesn't crash, but doesn't load it right yet.
This should be resolved in v0.3.10 and v0.4 preview builds. Basisu texture compression isn't present yet, but I'm pretty sure I got all the mesh optimizations working :)
Description
This is with a .glb as output by gltfpack, which uses a few extensions:
It's okay if SK refuses to read anything that it can't handle in terms of glTF extensions, but since I'm getting a segfault (below) I assume there's something wrong in the decoding of (probably) the EXT_meshopt_compression data. Or perhaps the quantization used. Interestingly, cgltf does not list support for KHR_mesh_quantization in its readme, but does appear to actually support it.
Edit: just tested with a file using only KHR_mesh_quantization and KHR_texture_transform (same input file, no
-c
option to gltfpack) and that loads without problems.Platform / Environment
Linux, SK repo (ea5e48d)
Logs or exception details
Appears to be a null pointer:
model.glb.gz
The text was updated successfully, but these errors were encountered: