AutoMovie API
    Preparing search index...

    Realize the public metre-valued bicubic recipe through its owning engine. The polynomial kernel receives millimetres once and returns model metres. Complete prior chunks survive a declared output budget; no source mesh is read. Shared physical identities and actual global indices remain unchanged. complete describes the retained patch domain, while approximationQualified separately states whether the requested field-to-triangle estimate was met. Retained coarse cells can preserve a complete domain with approximation false; source-fit and normal qualifications remain independent of both fields. After streaming ends, unreferenced render vertices left by a local omission are compacted out. Triangle ordinals and physical domain/ID pairs remain the same; only the returned render indices and source-table slots are remapped. Requested triangle parameters retain actual chart coordinates per corner, aligned with triangle ordinals and primitiveRanges, through that compaction. A shared render vertex can have different incident chart coordinates; these records are not per-vertex UV0, skin weights or semantic surface addresses. Optional patch coefficients are the actual post-binding kernel grids in mm, filtered to patches with retained triangles. They let construction consume that same field instead of re-evaluating a pre-binding recipe. Omitted/false retains no coefficient snapshots; invalid retention flags reject before work.

    type IResult = {
        approximationQualified: boolean;
        complete: boolean;
        counts: {
            maxErrorBoundMm: number;
            omittedZeroAreaTriangles: number;
            retainedCoarseCells: number;
            unresolvedVertexNormals: number;
        };
        diagnostics: string[];
        mesh: IAutoMovieMesh;
        patchCoefficients?: NonNullable<
            IAutoMovieBicubicAtlasTessellation64.Summary["patchCoefficients"],
        >;
        primitiveRanges: {
            approximationBoundMm: number;
            firstTriangle: number;
            patch: string;
            triangleCount: number;
            u0: number;
            u1: number;
            v0: number;
            v1: number;
        }[];
        triangleParameters?: number[];
    }
    Index
    approximationQualified: boolean

    Whether the terminal generator met its requested binary64 approximation estimate and the result is complete; independent of source-fit and normal qualifications.

    complete: boolean

    Whether the retained output covers the generator's patch domain without a budget stop or omitted patch; coarse retention may still be complete.

    counts: {
        maxErrorBoundMm: number;
        omittedZeroAreaTriangles: number;
        retainedCoarseCells: number;
        unresolvedVertexNormals: number;
    }

    Aggregated work and numerical qualifications from retained chunks, before final removal of unreferenced render vertices.

    Type Declaration

    • maxErrorBoundMm: number

      Largest represented cell's binary64 Taylor error estimate, in millimetres despite metre output geometry.

    • omittedZeroAreaTriangles: number

      Total proposed faces omitted for zero or nonfinite geometric area in retained chunks.

    • retainedCoarseCells: number

      Count of retained over-tolerance leaf cells explicitly admitted by the retain-coarse budget policy.

    • unresolvedVertexNormals: number

      Count of newly emitted vertices with unresolved analytic normals, including any later removed as unreferenced.

    diagnostics: string[]

    Ordered chunk and terminal qualification messages, including explicit resource omissions; no diagnostic invents replacement geometry.

    Caller-owned indexed mesh in model metres; unreferenced render vertices may be compacted after streaming ends while triangle order and physical identities are preserved.

    patchCoefficients?: NonNullable<
        IAutoMovieBicubicAtlasTessellation64.Summary["patchCoefficients"],
    >

    Requested prepared coefficient grids in mm; only patches with retained triangles are included.

    primitiveRanges: {
        approximationBoundMm: number;
        firstTriangle: number;
        patch: string;
        triangleCount: number;
        u0: number;
        u1: number;
        v0: number;
        v1: number;
    }[]

    Patch and parameter-cell ownership of consecutive retained triangles; triangle ordinals remain stable through render-vertex compaction.

    Type Declaration

    • approximationBoundMm: number

      Actual cell approximation estimate in millimetres, which may exceed requested tolerance when coarse retention was explicitly selected.

    • firstTriangle: number

      Zero-based first triangle ordinal in the complete returned mesh, not a chunk-local index.

    • patch: string

      Original patch identity owning this triangle range.

    • triangleCount: number

      Number of consecutive retained triangles attributed to this parameter cell.

    • u0: number

      Lower normalized u bound of the owning cell in its original patch chart.

    • u1: number

      Upper normalized u bound of the owning cell in its original patch chart.

    • v0: number

      Lower normalized v bound of the owning cell in its original patch chart.

    • v1: number

      Upper normalized v bound of the owning cell in its original patch chart.

    triangleParameters?: number[]

    Requested [u0,v0,u1,v1,u2,v2] per retained triangle, with patch ownership in primitiveRanges.