Hello everyone, how to use gltfpipeline in the browser?

Hello everyone, how to use gltfpipeline in the browser? To achieve maximum compression of GLB?

Why? :thinking:

If what you mean is CesiumGS/gltf-pipeline, it is not meant to be used in browser / during runtime as a standalone compression lib. It has a lot of dependencies from node.js / Cesium environment.

If you really really need it to run continously on any downloaded model, you’d probably need to use AWS Lambda, Azure Functions or similar, and compress models during the download request (but if you are unfamiliar with those it will take ages just to learn them, so probably not a good idea tbh.)

1 Like

OK, I’ll find another solution. Thank you for your answer!