Answer the question
In order to leave comments, you need to log in
Threejs, how to get rid of triangular distortion [Solved]?
Hello.
I make a simple 3d example and draw a few simple elements:
Or like this:
I don’t see such jambs in the enlarged version:
But if you look at the object from the inside, then there is a complete disgrace:
There should be no triangles when drawing. Is it possible to somehow configure threejs so that there are no triangles or do I need to do something with the model?
Answer the question
In order to leave comments, you need to log in
The issue was in the camera. It was:
camera = new THREE.PerspectiveCamera(45, width / height, 0.1, 100000);
Now :
camera = new THREE.PerspectiveCamera(45, width / height, 10, 100000);
Result:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question