Skip to content
Discussion options

You must be logged in to vote

Hi @chrisssssy! The closest thing within the glTF Transform library is io.readAsJSON('path/to/scene.gltf'), which gives you the raw JSON, .bin, and textures. But for what you're describing, it may be just as easy not to use glTF Transform — load the .gltf with the Node.js fs utility, parse it as JSON, modify it, and save back to disk.

glTF Transform cannot itself do anything to the model without loading resources. It won't modify textures or geometry, but the .bin file could come out different due to data layout and padding differences.

Replies: 2 comments

Comment options

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

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants