Section planes by frame slot, twelve numbers each.
Normal and spine derivative by probe slot, six numbers each.
Scale factors by scale slot.
The sweep compiled at rest; its shape before the scale profile is the shape in every pose.
Register a section plane.
Along the spine
The slot: the plane is frames[12 slot ...], origin, first axis, second axis, normal
Multiply every scale slot by a fixed factor of its u, at rest and in
every pose from now on, the radial correction a surface network solves
to hold a measured girth. Each call replaces the previous factor, and the
rest slots and probes are refreshed after every factor, scale product and probe is admitted. A rejected factor, product or probe leaves the previous scales and probes in place.
The factor at a spine parameter, positive and finite
Refresh every slot.
Current bone motions, or null for rest
Register a normal and spine derivative of the same geometric writer as sample, with one fixed cell at all four finite-difference points. Omitted or zero, the cell preserves the raw surface meaning; a nonzero cell differentiates that local averaged field, not a spatial interpolation of varying footprint sizes.
Along the spine
Around it
Optionalcell: readonly [number, number, number, number]
Fixed below/above reaches along u and v, finite and nonnegative; omitted, all zero
The slot: the unit normal is probes[6 slot ...] and the derivative along the spine the next three numbers
Register a surface point and make its writer.
The point is averaged over its cell, which reaches half the spacing to the neighbouring sample on each side along u (clamped to the spine) and v, by the trapezoid rule on the cell's two halves: weights b / (2 (b + a)), 1/2 and a / (2 (b + a)) at the lower end, the point and the upper end for halves b below and a above, which is 1/4, 1/2, 1/4 on an even grid. Direction correspondence averages radii about the authored direction, so a round section keeps its size. Parameter correspondence averages the actual Cartesian section points, with each u-dependent scale inside the average; it preserves an off-origin curve and permits a legitimately cancelling origin. Signed means and products that cannot be represented are refused. A cell of zero extent is the section point itself, as IAutoMovieSweepSurface.point places it. Shapes are read now; the writer scales and places them in the current frame.
Along the spine
Around it
Spacing to the neighbouring sample below and above along u, then below and above along v
The writer, three numbers in metres at an offset
Register a scale factor.
Along the spine
The slot: the factor is scales[slot]
Size the arrays and fill them at rest.
One sweep of a surface rig, from
rigAutoMovieSweep: the frames, scale factors and surface normals a cage reads from it, at parameters registered once and refreshed per pose in place.Registration (
frame,scale,probe,sample) runs while a cage is planned and returns slot indices;sealthen sizes the arrays and fills them at rest.poserefreshes them for the current bone motions, or at rest fornull.