I’m planning on using OneDrive cloud as my CDN for the prototype I’m developing.
However, I’m not sure how one would use the provided links/embed source URL (from OneDrive) in Babylon mesh loaders or even better if possible, the AssetsManager.
The parameters for these always refer to a ‘source directory’ and a ‘file name’ but OneDrive links seem to be hashed ID’s, any suggestions on how to make it work?
Hey there! Thank you for the suggestions! I’ll look into those!
I’ve also found this - the links seem to work ans direct-download, just don’t know how one would pass that into a meshTask for the AssetsManager or a gltf-loader… It seems babylon always expects a root folder and a file name with extension… any ideas?
The simplest and most reliable solution would be not to use OneDrive.
There is a lot of other CDNs which don’t need extra efforts to get file folder and file URL.