Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为了足够大地接近作为地球模型的球体表面,我得到的顶点坐标不准确。正因为如此,当移动相机时,晃动很明显。
如何摆脱它?在网上找到了反转zNear和zFar的解决方案,但是我不知道如何在three.js中做到这一点
THREE.PerspectiveCamera 有 near 和 far 参数。这些定义了近剪裁平面和远剪裁平面的距离。
您必须根据场景选择剪切平面。例如,如果您的场景很大,而近平面很小,则可能会导致您遇到的事情。