code wiki / _hdl_build / nx_motion_photo_gate.nx

nx_motion_photo_gate.nx

buildroot/runtime/_hdl_build/nx_motion_photo_gate.nx

7535 B163 linesdepth 5pulls 12 transitivereach 0 importersview sourcekind gate/prooftopic motion
docsdependenciesstructsconstsfunctions

about

nx_motion_photo_gate.nx -- SKIN THE MANNEQUIN, proven: the SAME move (wave) now renders as the CONTINUOUS SDF body (smin-fused, SSS/pores/spec/AO shading = the photoreal-path renderer) driven by the FK rig, and the CRITIC scores it against the pioneer body at the SAME resolution (the no-self-flattery bar). T1 valid APNG (acTL num_frames == N) T2 MOTION present (frame checksums differ) T3 body ON SCREEN (foreground coverage >= 4%) T4 critic: posed-body frame scores in the SAME CLASS as the static pioneer at this res (>= 60% of it) Writes knowledge/nx_motion_wave_photo.png (APNG) + nx_motion_photo_frame0.png + nx_motion_photo_pioneer.png. license_tier: ORIGINAL expect_exit: 0

dependencies 9 imports · 0 importers

nx_syscalls.nx nx_sdfrender.nx nx_skeleton.nx nx_figure_render.nx nx_movelib.nx nx_bodypose.nx nx_apng.nx nx_png.nx nx_critvis_lib.nx nx_motion_photo_gate.nx

imports: nx_syscalls.nxnx_sdfrender.nxnx_skeleton.nxnx_figure_render.nxnx_movelib.nxnx_bodypose.nxnx_apng.nxnx_png.nxnx_critvis_lib.nx

imported by: nobody (leaf or entry point)

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

main hw sys_write sys_mmap sdf_bytes sk_bytes rig_build sk_init sk_hdr sk_add_bone sk_hdr ↻ sk_bone move_bytes move_gen mv_times mv_hdr mv_time mv_zero mv_pose mv_set mv_pose ↻ md_deg mv_hdr ↻ sdf_body sdf_clear_ops sdf_set_floor sdf_set_mtx_amp sdf_set_kb pg_render it_cos4096 it_sin4096 it_sin4096 ↻ sdf_isqrt sdf_shade_ray sdf_eval sdf_ellip sdf_isqrt ↻ sdf_ellip_rot sdf_isqrt ↻ sdf_smax

structs

none

consts

47const RW: i64 = 128
48const RH: i64 = 96
49const RFOCAL: i64 = 146 // 586 * 128 / 512 -> same FOV as the 512-wide production render

functions

20func 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
21func pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
32func cksum(fb: *i64, n: i64) -> i64
called by 1: main
38func find4(buf: *u8, n: i64, a: i64, b: i64, c: i64, d: i64) -> i64
called by 1: main
52func pg_render(base: i64, fb: *i64, yaw: i64, camz_units: i64) -> i64
82func fgcount(fb: *i64, n: i64) -> i64
called by 1: main calls 1: cv_pl
89func main() -> i64