Importing .OBJ file with companion files via http/https

I know that ModelIO can also import .OBJ file with companion files, such as MTL and texture files. And when I create SCNScene instance in that way, everthing is ok.

let scene = try SCNScene(URL: NSBundle.mainBundle().URLForResource("3d", withExtension: "obj")!, options: [])    

But when I'm tryng to load files from remote server via http or https .OBJ file will be loaded without companion files.

let scene = try SCNScene(URL: url, options: []) // url "https://server.com/files/3d.obj"

What can be wrong with this approach?

You need to download all of the files the obj is using. the MTL file has relative references to textures, maps, etc... if you're gonna download the obj I would download a zip file and unzip it on the client side

Importing .OBJ file with companion files via http/https
 
 
Q