threejs中提供了LOD可实现根据与相机的distance,从而实现远处减面的操作
通过addLevel ( object : Object3D, distance : Float )将不同精度的对象,add到lod中,distance为到摄像机的距离,具体方法如下
const x=500;
const y=500;
const z=500;
const geometry = [
[ new THREE.CylinderGeometry( R, R,30 ,30,30 ), 200 ],
[ new THREE.CylinderGeometry( R, R,30 ,20