mrdoob/three.js — Issue #1402: JSONLoader "seems to be using old model format"
Author: rpsirois
Created: 2012-02-27 02:11:48+00:00
State: open

The following code is broken using the latest Three and obj converter code:

var loader = new THREE.JSONLoader();
loader.load("/three/shit/Tank2.js", function(geo) { loadModel( geo ) } );
function loadModel( geo ) {

newMesh = new THREE.Mesh( geo, new THREE.MeshFaceMaterial() );
scene.add( newMesh );

}

Throws:

DEPRECATED: [/three/shit/Tank2.js] seems to be using old model format
Three.js:671Uncaught TypeError: Cannot read property 'scale' of undefined

Is this a conversion or Three problem?

Thanks,
RS