I have an OBJ, MTL and texture images exported from Cinema 4D
. The designers gave me the files in a ZIP. I am trying to display them with the help of THREE.JS
. I use the following code:
var mtlLoader = new THREE.MTLLoader();
mtlLoader.setPath('shipka-obj/');
mtlLoader.load('shipka.mtl', function (materials) {
materials.preload();
var objLoader = new THREE.OBJLoader();
objLoader.setMaterials(materials);
objLoader.setPath('shipka-obj/');
objLoader.load('shipka.obj', function (object) {
scene.add(object);
});
});
The problem is that the monument is missing parts:
The designers say I do something wrong but I can't see what it can be? Please, help! Thanks.
EDIT: I've uploaded the zip with the obj, mtl and the texture images to Dropbox. Here is a link. https://www.dropbox.com/s/ah8yhjadgihrihr/shipka-obj.zip?dl=0