Hi, community, I need to implement a sphere composed of multiple small pieces of paper. I am a beginner and used point to implement the sphere. What kind of metrial should I use to achieve this effect in the picture?
Wow, your implementation is really amazing, very close to the requirements, the dark spots do not appear randomly in the sphere, but the sphere rotates like the moon, each particle is facing the center of the sphere at the same angle, the lower left corner will be dark because of the angle of the particles. Thank you very much!
let box = new THREE.BoxGeometry(1,1,1,10,10,10);
let v = box.attributes.position.array;
let tmp = new THREE.Vector3()
for(let i=0;i<v.length;i+=3){
tmp.set(v[i],v[i+1],v[i+2]);
tmp.normalize();
v[i]=tmp.x;
v[i+1]=tmp.y;
v[i+2]=tmp.z;
}
let m = new THREE.Mesh(box, new THREE.MeshStandardMaterial());
scene.add(m)