javascript - three.js importing .obj file error -


i'm trying import .obj file application through objloader.js script.

var loader = new three.objloader(); // load resource loader.load('models/broad_leaf_straight_trunk.obj',      function(object){         object.traverse(function(child){            if(child instanceof three.mesh){               scene.add(object);             };      });  }); 

the result of import raise following error

error: unexpected line: 'mtllib broad leaf straight trunk.mtl' 

is there error in code?


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -