code wiki / _hdl_build / nx_i2mesh_gate.nx
nx_i2mesh_gate.nx
buildroot/runtime/_hdl_build/nx_i2mesh_gate.nx
about
nx_i2mesh_gate.nx -- prove IMAGE-to-MESH: ingest images (synthetic masks AND our own render/Z-Image
foreground) -> silhouette-inflation -> closed meshes. T1 each image -> valid CLOSED mesh. T2 different images
-> different geometry. T3 OUR-image (a rendered body's foreground) ingests too (Z-Image plugs in the same
way). Writes knowledge/i2m_*.stl. GREEN = the ecosystem ingests an IMAGE and emits a 3D mesh. ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_sdfrender.nxnx_meshgen.nxnx_i2mesh.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 10 | func hw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 11 | func hwf(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return 0 } |
| 12 | func pn(v: i64) -> i64 |
| 23 | func snum(fd: i64, v: i64) -> i64 |
| 33 | func wstl(vb: *i64, fb: *i64, nf: i64, path: *u8) -> i64 |
| 49 | func emit_i2m(label: *u8, mask: *u8, din: *i64, dout: *i64, F: *i64, cv: *i64, vb: *i64, fb: *i64, out: *i64, stl: *u8, failp: *i64) -> i64 |
| 65 | func main() -> i64 |