Geometry defines the shape of 3D objects via vertices, faces, normals, and UVs stored in buffer attributes.
| position | 3 | Vertex positions (x, y, z) | | normal | 3 | Surface normals for lighting | | uv | 2 | Texture coordinates (u, v) | | color | 3 | Per-vertex colors (r, g, b) | | index | 1 | Triangle indices (optional) |
Render thousands of identical meshes with different transforms in a single draw call:
Creazione di BufferGeometry, geometrie integrate, geometria personalizzata con attributi buffer, mesh istanziate per il rendering di migliaia di oggetti e manipolazione della geometria. Da utilizzare quando si creano forme personalizzate, si ottimizza con le istanze o si lavora direttamente con i dati dei vertici. Fonte: bbeierle12/skill-mcp-claude.