pub fn artifact_camera(bbox: &Aabb, width: u32, height: u32) -> CameraExpand description
The artifact framing — a faithful port of the retired artifact renderer: orthographic, iso view direction (1, -1.2, 0.9), Z up, bbox-fit with a 1.15 margin, camera at center + dir·radius·6, near 0.01 / far radius·20.
The Z up is that retired renderer’s own convention, kept because this is a
port of it — NOT the application’s world, which is +Y up (ViewCamera, the
ViewCube, the kernel feature pipeline’s world_up). A model authored in the
app is therefore framed rolled here, not standing the way the viewport draws
it. Nothing in the app’s viewport path calls this: it is the offline
bin/artifact renderer’s framing, and the render tests’.