Hello.
I am trying to render objects i import from fbx files exported from Blender. The file i am trying to import is a stomach. Here a link of what i am importing…
Anyways…I placed my camera inside the big stomach part and by watching to the walls of the stomach, i can see the area that were supposed to be behind the stomach walls blinking as if it rendered before the closed by walls did.
I noticed also that my avatar who wears clothers above the skin shows the skin blinking before being covered by the clothes.
So It seems to me the render is not rendering correctly.
Here is the code for creation of my camera:
this._threeObj = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.01, 50000);
this._threeRenderer = new THREE.WebGLRenderer({antialias: false});
this._threeRenderer.setSize(window.innerWidth, window.innerHeight);
this._threeRenderer.autoClear = false;
this._threeRenderer.shadowMapEnabled = true;
this._threeRenderer.shadowMapSoft = true;
loading objects:
let loader = new THREE.FBXLoader();
loader.load(data.model,(object)=>{
object.receiveShadow = true;
object.castShadow = true;
object.frustumCulled = true;
})
Any thoughts on the problem?