Hello.

I have strange problems with loading obj file.
I try to load file using code like

objLoader=Obj.load("assets/2009_07_08/3.obj",
{material:material,ownCanvas:true,name:"torso",centerMeshes:true});

But I got error
Obj MTL LOAD ERROR: unable to load .mtl file at assets/
2009_07_08/3.obj/

in obj file mtl is defined using line
mtllib 3.mtl

On my local system swf/fla files are located at the folder P:/
obj file are located in p:/assets/2009_07_08/
mtl file are located at the p:/ and p:/assets/2009_07_08/
normal_from_Zbrush8.jpg фку located at the p:/ and p:/assets/
2009_07_08/

I have also uploaded them here
http://files.rightinpoint.com/3.mtl
http://files.rightinpoint.com/3.obj

I am not sure where I should place mtl file so it will be loaded
correctly.

Any suggestions are welcome :)

Thanks, Andrew

Reply via email to