Closed yadunandan6176 closed 11 months ago
Hi @yadunandan6176, a couple questions:
Hello @lilleyse, thanks for replying
My node version is v19.8.1. I did validate my gltf with the tool you provided it was having some errors. Then I tried with a different glTF file the command line and scripts are working fine.
Hi, I am using gltf-pipeline tool for converting my gltf file to draco compression and later to glb. I facing some difficulties while executing it.
I have done global installation of gltf-pipeline as per the README file this is the command I used
npm install -g gltf-pipeline
I am trying to use draco compression for the gltf file I have, the command is very similar to that of the README file
gltf-pipeline -i /path/building2gltf.gltf -o /path/building2gltfdrc.gltf -d
This is not working for me as the command is executed the error is popped up as follows:
I even tried to use the pipeline as a library to run in nodejs environment. Still I face errors as the script is not very different from the README file
The script I am using is as follows:
The error I am getting while executing this script is as follows:
May I know where I am going wrong and how to make use of this library.