CGA supports a number of built-in assets and textures which are always available:
Geometry assets
All geometries have vertex normals and texture coordinates on the first texture layer (COLORMAP).
- primitiveCone - a unit cone.
- primitiveCube - a unit cube.
- primitiveCylinder - a unit cylinder.
- primitiveDisk - a unit disk.
- primitiveQuad - a unit quad.
- primitiveSphere - a unit sphere.
Textures
- builtin:default - a shiny 16x16 black and white checkerboard.
- builtin:uvtest.png - our standard test texture.
Examples
| |
|