I came across a threejs code here.
When I run the program, I see 2 point clouds rendered. I dont understand what part of code makes that happen this. I see attribute ‘offset’ being used:
sumDisplacement = [-2000, 0, 0, 2000, 0, 0];
const sumDisp = new Float32Array(sumDisplacement);
geometry.setAttribute('offset', new THREE.InstancedBufferAttribute(sumDisp, 3 ));
But if comment out it, both clouds disappear.
So how do I make only one point cloud render?
Also, I have added this:
var axesHelper = new THREE.AxesHelper( 5 );
scene.add( axesHelper );
But I see no axes being rendered.