Hi. I have a problem with loading material of obj file.The obj is
loaded, but the texture isnt.
Here is my code for loading obj
obj_loader2 = Obj.load("../assets/ogre_house/ogre_house.obj");
obj_loader2.bothsides = true;
house_mesh = obj_loader2.handle;
house_mesh.position = new Number3D(-400,0,0);
scene.addChild(house_mesh);
Here is my mtl file
# 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware
# File Created: 13.05.2010 11:47:45
newmtl House_MAT
map_Kd house_diffuse.jpg
and in the obj file
there is
mtllib ogre_house.mtl
and the vertices
the texture,mtl and obj are in same folder
Any ideas?