Hi everyone, I am getting errors when I try to load a gltf file that was compressed using gltf-pipeline. DRACO loader says that the file is not a draco file (because it is .gltf) but when I use gltf loader it says that DRACO loader is missing in order to load this file. Here is an SO link that contains some code that I use: https://stackoverflow.com/questions/54291535/three-js-gltf-draco-compression
It seems you are not using the loader correctly. Please have a look at this post:
As you can see, you inject an instance of DRACOLoader
to GLTFLoader
and then use the latter one in order to load your glTF
asset.
1 Like
Thank you! That is exactly what I needed.