Tessellate a AutoMoviePrimitiveShape into a triangle mesh.
Lets the LLM-authored "named dimensions" path (a 0.4 m sphere, a capsule)
become concrete geometry a renderer can draw, without the model ever emitting
vertices. The engine owns this fixed primitive recipe independently of the
rendering host; renderer precision and appearance are separate observations.
Coordinates are local metres, centred on the origin, and faces wind
counter-clockwise from outside. Dimensions must already have passed model
validation. Sphere, cylinder and cone use sixteen angular segments; the
sphere has twelve latitude rings. Planes retain the zero-height box topology.
Capsules share the sphere's latitude lattice, with two equator rings joined
by the authored cylindrical body height and hemispheres centred at its ends.
Each call returns fresh indexed position and normal arrays, without UVs.
Finite admitted dimensions can still overflow derived capsule height or
normal arithmetic; this producer does not refuse every extreme invalid mesh.
Tessellate a AutoMoviePrimitiveShape into a triangle mesh.
Lets the LLM-authored "named dimensions" path (a 0.4 m sphere, a capsule) become concrete geometry a renderer can draw, without the model ever emitting vertices. The engine owns this fixed primitive recipe independently of the rendering host; renderer precision and appearance are separate observations.
Coordinates are local metres, centred on the origin, and faces wind counter-clockwise from outside. Dimensions must already have passed model validation. Sphere, cylinder and cone use sixteen angular segments; the sphere has twelve latitude rings. Planes retain the zero-height box topology. Capsules share the sphere's latitude lattice, with two equator rings joined by the authored cylindrical body height and hemispheres centred at its ends. Each call returns fresh indexed position and normal arrays, without UVs. Finite admitted dimensions can still overflow derived capsule height or normal arithmetic; this producer does not refuse every extreme invalid mesh.