I'm trying to imitate http://threejs.org/examples/canvas_geometry_cube.html via using a 3d.obj file with a texture mapping.
But i keep receiving the following error plus the rotation is totally off.
Uncaught TypeError: Cannot read property 'rotation' of undefined
Full demo is here http://wunderfauks.com/test/examples/test.html
I've done it, if anyone needs to know you need to apply a matrix rotation.
Here's an example.