#Hello guys! How to use gltfpack for file glb from local to compress and decompress by meshopt?Thanks

2 messages · Page 1 of 1 (latest)

harsh beacon
#

Hello everyone, can I ask? How to use gltfpack for file glb which is got from form upload. Because I realize that gltfpack just receive file glb from path but I don't have any path to contain file glb with my code. My aim is compress and decompress file glb by meshopt to optimize file glb. Thank everybody with all my heart

grim mica
#

you need to use that in terminal

navigate to folder

gltfpack -i old-file.gltf -o new-file.glb

you then just use that glb in the code