Skip to content
Discussion options

You must be logged in to vote

I think there should be warnings in your console about unknown extensions, correct?

Extensions are not included in the /core module, they need to be imported and registered:

import { NodeIO } from '@gltf-transform/core';
import { KHRONOS_EXTENSIONS } from '@gltf-transform/extensions';
const io = new NodeIO().registerExtensions(KHRONOS_EXTENSIONS);

https://gltf-transform.dev/extensions

If you're using non-Khronos extensions (EXT_meshopt_compression, EXT_mesh_gpu_instancing, EXT_texture_webp, ...) then you'd instead need to register ALL_EXTENSIONS.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by donmccurdy
Comment options

You must be logged in to vote
1 reply
@donmccurdy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #1154 on November 04, 2023 13:09.