After three.js loads the model, the surface shows a broken problem

After three.js loads the gltf model, the faces will be cropped when viewed from different perspectives

z-buffer,logarithmicDepthBuffer,near,far

The reason may be that when the model is initialized, some of the vertices of the face are placed at a deeper position, but the depth information is not updated, resulting in incomplete display of the face under a certain viewing angle

solution

  1. Set the near surface of the camera as large as possible and the far as small as possible. In the zbuffer, the near and far clipping surface will affect the resolution (depth accuracy) of the depth information.
  2. Reduce the scene size.

Guess you like

Origin blog.csdn.net/yue1241630499/article/details/105322195