Having an odd issue with 3d max 2013 obj to three.js 59 rev. In my 3d max scene, I originally have 5 cube objects. However, when I import them into the three.js scene, only 3 cubes are showing up. Also, their pivot point seems to be shared at the center of all objects.
var loader = new THREE.OBJMTLLoader();
loader.load('models/cubes.obj');
loader.addEventListener('load', function (event) {
object = event.content;
for(k in object.children){
group.add(object.children[k]); // Console showed there were 5 objects
}
});
scene.add(group);
Any thoughts on what might be causing this?
If I were to:
group.add(object); // I will see my five cubes, or
scene.add(object) // but then I can't access the children at all
It's quite a perplexing situation.