Your:

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


=================================================

Correto: (correct)

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


________________________________
De: zhil <[email protected]>
Para: away3d.dev <[email protected]>
Enviadas: Quarta-feira, 8 de Julho de 2009 10:48:14
Assunto: [away3d] Problem with loading obj file


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



      
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

Reply via email to