Can I load external glb object from google drive storage?

Hi All,

I want to load my glb object from google drive to my project.
Can I do that?

AFAIK, no. Google Drive does not offer CORS support which is required if you want to load the asset with GLTFLoader.

The service itself is not intended for this kind of file access. You probably want to use Google Cloud Storage instead.

1 Like

If you had to use Google Drive, you can register and authenticate with the official API and access files. But this is much more complicated than just passing the URL to the loader. For that type of access I agree with @Mugen87 that something like Google Cloud Storage (or Amazon S3) are better choices. Any static content hosting service with CORS support should work fine.

1 Like

Thank you very much @Mugen87 , @donmccurdy