0
Why is the model not loading?
https://sololearn.com/compiler-playground/W4ZAX6V61iL1/?ref=app
7 odpowiedzi
0
Sky? I remember this working before. It is working for me now/still. Did you fix it?
+ 2
The cat model isn't loading because the URL you're using to fetch the GLB file is invalid. The URL https://dl.dropbox.com/scl/fi/va7jzskhzjn7yumty8865/trotting_cat.glb?rlkey=u8ug9eq2mni57rm97b9e15lre&st=7f80klij& is for a shared Dropbox file.
Once you have a valid, direct URL, replace the current one in your loader.load() call:
JavaScript:
loader.load(
'your_new_valid_and_direct_url_to_trotting_cat.glb',
(gltf) => {
// ... rest of your code
},
undefined,
(error) => {
console.error('Failed to load GLB:', error);
}
);
+ 1
But It used to work before, now it's not working idk. Does they change policies for 3d models?
+ 1
Yup it's working now🔥
0
It now appears to be the text file not the correct glb ...
Are you running this outside of Sololearn and running correctly or did you create this inside / on sololearn platform?
0
Yes I created this on sololearn before, u can check the comments