I'd like to be able to do the same as in this post :
let url = URL.init(string: "https://cloud.box.com/shared/static/ock9d81kakj91dz1x4ea.obj")
let asset = MDLAsset(url: url! as URL)
let object = asset.object(at: 0)
let node = SCNNode(mdlObject: object)
I don't want to have to load it from the user's phone like so :
guard let url = Bundle.main.url(forResource: "ock9d81kakj91dz1x4ea", withExtension: "obj") else { return nil }
let asset = MDLAsset(url: url)
let object = asset.object(at: 0)
let node = SCNNode(mdlObject: object)
Since I'd need many obj model in my app, it would be very inconvenient to have to download all the 3d obj models to the user's phone before showing them.. With time, it would take a lot of space on the user's phone.
So my question is, is there any way of showing a 3d obj model without it being on the user's phone like with an api? If there's another way of doing it besides obj file, I'm open to anything really.
Thanks!