makepad/libs/flow/recipes/templates/splat.splash
Arena Agent d8d5ea8b6a Repair integration manifests and port nigig exports onto upstream widget families
Restore missing required asset/flow packages from the pinned nigig revision; retain upstream script isolation, X11 hover, and widget-core fixes. Validated makepad-widgets data feature with Rust 1.97.1.
2026-10-26 11:23:26 +00:00

24 lines
690 B
Text

use mod.flow.*
/** A label retained as trace metadata for the reconstruction. */
let prompt = Input{ type: @text default: "a single isolated ceramic fox" at: vec2(40, 80) }
/** The single-object reference image. */
let image = Input{ type: @image at: vec2(40, 240) }
let splat = Splat{
prompt: prompt.text()
image: image.image()
gaussians: 262144
model: "triposplat"
at: vec2(360, 160)
}
/** The reconstructed Gaussian-splat PLY. */
let object = Output{ type: @mesh value: splat.mesh() at: vec2(680, 160) }
Flow{
label: "Object splat"
brief: "Reconstructs one supplied object image as a detailed Gaussian-splat PLY."
prompt, image, splat, object
}