nx_outfit.nx
buildroot/runtime/nx_outfit.nx
about
nx_outfit.nx -- OUTFIT SWAP (the operator's "outfit stuff"), sovereign PARAMETRIC path. The research put
clothing swap in the GAP column = NEURAL virtual try-on (IDM-VTON/OOTDiffusion: warp a garment PHOTO onto a
subject) = the trained-diffusion S5 image-swap frontier. THIS is the tractable sovereign version: clothing as
GEOMETRY (a swap slot like head/ears/tail), added as ellipsoids over the body with the cloth MATERIALS 5-8
(nx_sdfrender), so a synthetic human/creature WEARS a tunic/robe/cloak/armor, rendered on the SAME photoreal
shader + mesh-exportable. Apply AFTER av_build (which clears ops+mats); outfit sets only its own parts.
license_tier: ORIGINAL
dependencies 2 imports · 4 importers
imports: nx_syscalls.nxnx_sdfrender.nx
imported by: nx_char_asset.nxnx_char_layers.nxnx_outfit_gate.nxnx_synth_serve.nx
structs
| none |
consts
| 12 | const OF_NONE: i64 = 0 |
| 13 | const OF_TUNIC: i64 = 1 // crimson (mat 5) |
| 14 | const OF_ROBE: i64 = 2 // blue (mat 6), long skirt |
| 15 | const OF_CLOAK: i64 = 3 // green (mat 7), back panel |
| 16 | const OF_ARMOR: i64 = 4 // steel (mat 8), breastplate + pauldrons |
functions
| 19 | func of_part(base: i64, idx: i64, cx: i64, cy: i64, cz: i64, rx: i64, ry: i64, rz: i64, mat: i64) -> i64 |
| 28 | func outfit_apply(base: i64, n0: i64, outfit: i64) -> i64 |
| 53 | func outfit_name(o: i64) -> *u8 called by 1: main |