I was trying in implement a progress bar to tell my users that “something is happening” but I need to load a 50MB file (.bin, .gltf). The documentation says:
url to the glTF file,
onProgress (console.log( ( xhr.loaded / xhr.total * 100 ) + ‘% loaded’ )
My problem is that the onProgress function monitors the glTF file (.glTF, 200kb) and not the .bin (50MB) and shows 100% after 1sec.
How can I make the OnProgress function monitor the .bin file?