I have created a really simple model in Maya 8.5 to test in THREE.JS, the model is exported as .obj and converted to a JSON file using a Python script from the THREE.JS github repo.
The conversion looks like it worked fine as it is certainly a valid JSON object with all the data in there. The problem is when I load it in I get the following warning:
DEPRECATED: [js/jumper.js] seems to be using old model format
Does this mean the .obj format changed somehow or am I missing something else? Here is the code I’m using to load the object. I have other native shapes showing up fine so I know the setup is correct, its just this model loading that I’m having trouble with.
loader = new THREE.JSONLoader();
loader.load("js/jumper.js", function( geometry ) {
jumper = new Three.Mesh(geometry, new Three.MeshLambertMaterial({ color: 0x88000}));
jumper.scale.set(10,10,10);
scene.add(jumper);
}
);
Ok after posting on three.js github forum, I have found that you will get that error even if there are problems in your code which is run in the handler which is run when the model loads. Therefore all code should be checked in the handler even if the error points to an issue with the model.