I've been experimenting with a code example I found online and my goal is to incorporate a textured cube into the project while specifying its position. However, despite my efforts, the cube doesn't seem to be showing up. Here's what I have attempted so far:
var frametexture = new THREE.ImageUtils.loadTexture( 'https://threejs.org/examples/textures/crate.gif' );
var artwork = new THREE.BoxBufferGeometry( 200, 200, 20 );
var material = new THREE.MeshBasicMaterial( { map: frametexture } );
artframe = new THREE.Mesh( artwork, frametexture );
scene.add( artframe );
artwork.scale( - 1, 1, 1 );
You can view my code on JSFIDDLE