Trying to add material in THREE.js
like this
var materialWall = new materialClass( { color: 0xffffff, map: THREE.ImageUtils.loadTexture( \'image
If you:
then I worked out a way around this which involves only a little bit of effort:
Full details can be found at http://tp69.wordpress.com/2013/06/17/cors-bypass/ for those that are interested.