code wiki / _hdl_build / nx_face_carve_gate.nx

nx_face_carve_gate.nx

buildroot/runtime/_hdl_build/nx_face_carve_gate.nx

8919 B153 linesdepth 4pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic face
docsdependenciesstructsconstsfunctions

about

nx_face_carve_gate.nx -- does CARVING beat MELTING? The additive-smin head melted to a smooth egg (critic couldn't find a face). sdf_face uses the NEW carve op (eye sockets + mouth + nostrils SUBTRACTED). This gate renders BOTH through the same skin shader + scores BOTH with the same critic rulers (nx_critic_axes), and asserts the carved face BEATS the egg -- a MEASURED win for the new capability, not my eyeball. Honest ceiling: still no real eyes/skin-texture, so still expected CLAY -- the claim is carve>melt, not photoreal. license_tier: ORIGINAL expect_exit: 0

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_sdfrender.nx nx_critic_axes.nx nx_png.nx nx_face_carve_gate.nx

imports: nx_syscalls.nxnx_sdfrender.nxnx_critic_axes.nxnx_png.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main ww hh hw sys_write sys_mmap sdf_bytes sdf_head sdf_clear_ops sdf_render sdf_render_rows it_cos4096 it_sin4096 it_sin4096 ↻ sdf_isqrt sdf_shade_ray sdf_eval sdf_ellip sdf_isqrt ↻ sdf_ellip_rot sdf_isqrt ↻ sdf_smax sdf_smin sdf_smin ↻ sdf_isqrt ↻ sdf_softshadow sdf_eval ↻ sdf_gi sdf_abs sdf_isqrt ↻ sdf_eval ↻ sdf_aces sdf_eval_part sdf_ellip ↻ mat_height sk_vnoise sk_hash it_sin4096 ↻ sk_vnoise ↻ sk_pore

structs

none

consts

none

functions

12func hw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
13func pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
34func fc_wells(fb: *i64, w: i64, h: i64) -> i64
called by 1: main calls 1: ca_lum
54func main() -> i64