Apologies for my poor English skills. I am encountering an issue with the Collada loader in Three.js. In Blender, I have a cylinder with a UV texture applied to it, and when I render it everything looks fine. However, upon exporting and loading it into Three.js using the Collada loader, the color associated with the image gets applied to the entire model as shown here. Originally, the model is supposed to be red.
This is how I load my model:
var loader = new THREE.ColladaLoader();
loader.options.convertUpAxis = true;
loader.load( 'untitled.dae', function ( collada ) {
var dae = collada.scene;
var skin = collada.skins[ 0 ];
dae.position.set(0,0,0);
dae.scale.set(25,25,25);
Here is a link to my Collada file if you want to take a look. What could be going wrong here? Is there an issue with the way I am exporting the model or am I missing some attributes during the export process? I am relatively new to web 3D programming.