import .obj with .mtl texture

I wish i could keep my textures when importing in .obj, but i don’t know how to. I’m using 2.5 alpha 1. How can i import the .obj file with the textures in the .mtl file?

When you import the obj make sure you have selected Image Search in the import options. Open the mtl file in a text editor and make sure it has the correct name of the texture file and the texture is in the same location as the obj and mtl.

Just tried with 2.5alpha1 and works for me, importing the objects texture and applies it to its UVs.

Richard

Thanks.

Mh… maybe i don’t know much about .mtl . I thought that any kind of textures would be exported from my modeling program. But reading your comments, i’m starting to thinks that only certain kind of textures can be exported…

I don’t have more than a .obj and a .mtl. Should i have a… let’s say… jpg file also?

I opened the .mtl file and it has almost any information. So maybe i should ask this question in Art of Illusion forum… See:

#Produced by Art of Illusion 2.8.1, Mon Feb 15 19:18:32 GYT 2010
newmtl
Kd 0.53367 0.60475 0.1786
Ks 0 0 0
Ka 0 0 0
illum 1

Don’t know about AoI but in the export settings is there something about including texture info. You should have to also export your texture map.

Richard