Hi All,
I want to load my glb object from google drive to my project.
Can I do that?
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.
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.
Thank you very much @Mugen87 , @donmccurdy
Hihi, I found your reply here this is related to something i am facing. i am new in three.js but I am trying to load the glb file on the google cloud now in my first project. i tried all the URL links (gsutil URI
/ the URL that can dl the glb )is not working. What should i do, or which URL is the correct one i should use for useGLTF? or i need to do some set up before i use the usegGLTF to load my model? Thank you.