code wiki / _hdl_build / nx_companion_wardrobe.nx
nx_companion_wardrobe.nx
buildroot/runtime/_hdl_build/nx_companion_wardrobe.nx
about
nx_companion_wardrobe.nx -- the CompanionWardrobe object: the occlusion-aware photo-prompt compiler (the Z-Image
"painter not compositor" fix). Resolves a scene into per-zone clothing-OR-bare with a POSITIVE occlusion assertion
(fabric obscures when clothed; bare only when the scene asks) so clothed shots stay clothed + nude only on request
= the controllable wardrobe layer. Composes the anatomy-neutral identity from CompanionIdentity. Extracted from
nx_gen_orchestrator (monolith -> objects); behaviour-preserving (body byte-identical except private cw_* helpers).
⚠this is where ER-8 negatives + ControlNet pose/structure control will compose. Object model: companion_arch.md.
license_tier: ORIGINAL
dependencies 2 imports · 1 importers
imports: nx_syscalls.nxnx_companion_identity.nx
imported by: nx_gen_orchestrator.nx
structs
| none |
consts
| none |
functions
| 11 | func cw_cat(dst: *u8, off: i64, s: *u8) -> i64 { var o: i64=off; var i: i64=0; while s[i]!=(0 as u8){dst[o]=s[i]; o=o+1; i=i+1} return o } called by 1: go_build_photo_prompt |
| 12 | func cw_catb(dst: *u8, off: i64, src: *u8, n: i64) -> i64 { var o: i64=off; var i: i64=0; while i<n {dst[o]=src[i]; o=o+1; i=i+1} return o } called by 1: go_build_photo_prompt |
| 13 | func cw_contains_ci(hay: *u8, hlen: i64, needle: *u8) -> i64 called by 1: go_build_photo_prompt |
| 31 | func go_build_photo_prompt(scene: *u8, slen: i64, expr: *u8, out: *u8) -> i64 |