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:
Создание BufferGeometry, встроенная геометрия, пользовательская геометрия с атрибутами буфера, экземпляры сеток для рендеринга тысяч объектов и манипулирование геометрией. Используйте при создании пользовательских фигур, оптимизации с помощью создания экземпляров или непосредственной работе с данными вершин. Источник: bbeierle12/skill-mcp-claude.