Hello, I am in need of assistance. I am currently working on importing FBX models into Threejs and here is the import code that I am using:
let loader = new FBXLoader();
loader.load(model.obj_path, object => {
let mix = new THREE.AnimationMixer(object);
if (object.animations.length) {
var action = mix.clipAction(
object.animations[0]
);
mixer.push(mix);
action.play();
}
object.castShadow = true;
object.scale.copy(model.scale);
object.position.copy(model.position);
object.rotation.set(model.rotation.x, model.rotation.y, model.rotation.z);
group.add(object);
loadingScreen();
}, onProgress);
Although there are no issues with the import process, I have noticed a display problem with some models where certain parts are missing. Here is an image showing the issue:
https://i.sstatic.net/LAQN0.png In addition to this project, I have also incorporated OrbitControl to manage the camera movements. Interestingly, when I manipulate the camera by moving around and zooming in/out, the missing parts of the model seem to appear.
https://i.sstatic.net/aUUNz.png
I would greatly appreciate any insights or solutions from those who may have encountered a similar issue before. Thank you all for your help and wishing everyone a great day!