Vapor on any shape
Aircraft measured from their own geometry by six depth views, and the vapor that follows from them.
Nothing about these aircraft is typed in but their geometry: a few primitives each, a planform extruded into a wing, a cylinder for a body, a tail. capture takes six orthographic depth views of the model (from above and below, ahead and astern, and either side) and measures it from them.
- Every station of the wing, across the span: its leading and trailing edges, its thickness and the height of its mid-plane. A double delta keeps its crank; a tailplane at the same stations is told apart from the wing by the clear air between them.
- Where the wing meets the body, where the sections stop behaving like a wing: the leading edge leaps forward to the nose, or the section gets far thicker for its chord.
- The spanwise loading, from a vortex lattice on the measured planform, so the lift is spread the way that planform spreads it.
- A canard or a tailplane, the second run of pixels along the chord outboard of the body, ahead of the wing or behind it. Its tips shed their own vortices: a canard carries a real share of the lift and trails vapor in a hard pull, as on a canard delta, while a tailplane only trims and rarely fogs.
- The body, as the round body of the same largest cross-section, for the vapor cone.
The capture runs once, in a few tens of milliseconds for a few hundred thousand triangles, a few milliseconds a frame so the page doesn't stall; after that only the flight changes. It can also be baked at build time with serialize_capture and passed back as measured. On a loaded model, leave out the landing gear and the stores with captureFilter: they are not the shape the air flies round.