How To Apply .MTL File on .OBJ 3d Model via SceneKit & Model I/O How To Apply .MTL File on .OBJ 3d Model via SceneKit & Model I/O ios ios

How To Apply .MTL File on .OBJ 3d Model via SceneKit & Model I/O


It might be a bit late, but I'm facing the same issue and the way in which I could load the .mtl information was to create the object through and scene, for example, I'm loading this model

let scene = SCNScene(named: "rose.obj")

Make sure to have the .mtl and the jpg with the textures in your bundle.

Rose loaded from scene rootnode