How can I render 400000 polygons mesh?

I’ll give it a try. Thank you very much

I have two other questions.

The first issue is that the mouse position selection is not accurate because my project is not in full screen mode. In your demo, the size of the renderer is using innerWidth and innerHeight, but I used the size of the div:

this.container = document.getElementById('canvas-frame');

const s = 80;
const k = this.container.clientWidth / this.container.clientHeight; 
this.camera = new THREE.OrthographicCamera(-s * k, s * k, s, -s, 0.1, 1000);
this.camera.position.set(0, 0, 1);

this.renderer.setSize(this.container.clientWidth, this.container.clientHeight);

The second question is that in the demo, box selection cannot be performed. How can box selection be performed?