code wiki / _hdl_build / nx_gsplat_showcase.nx

nx_gsplat_showcase.nx

buildroot/runtime/_hdl_build/nx_gsplat_showcase.nx

9229 B142 linesdepth 9pulls 29 transitivereach 0 importersview sourcekind tooltopic gsplat
docsdependenciesstructsconstsfunctions

about

nx_gsplat_showcase.nx -- PUBLISH the sovereign 3D Gaussian Splatting work (operator: "are you publishing?"). Our anatomical base (nx_faceanat) -> surface-nets mesh (nx_meshgen) -> ANISOTROPIC surface Gaussians (surfels, nx_gsplat) -> photo-coloured from the reference projection -> a TURNTABLE rendered by our own integer splatter. This is exactly the 2024-2025 frontier pipeline (mesh/SMPL-X -> Gaussians -> splat), 100% sovereign: no WebGL, no libraries, no trained weights (renderer). Emits a self-contained /gsplat page. license_tier: ORIGINAL expect_exit: 0

dependencies 7 imports · 0 importers

nx_syscalls.nx nx_png.nx nx_base64.nx nx_jpeg_ascii.nx nx_faceanat.nx nx_meshgen.nx nx_gsplat.nx nx_gsplat_showcase.nx

imports: nx_syscalls.nxnx_png.nxnx_base64.nxnx_jpeg_ascii.nxnx_faceanat.nxnx_meshgen.nxnx_gsplat.nx

imported by: nobody (leaf or entry point)

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

main sys_openat_wr hw sys_write gs_w gs_h sys_mmap sdf_bytes faceanat_build sdf_clear_ops sdf_set_floor sdf_set_mtx_amp fa_tissue_z sdf_set_op sdf_set_mat sdf_set_rot it_cos4096 it_sin4096 it_sin4096 ↻ mg_build mg_sample_sdf mg_fi sdf_eval sdf_ellip sdf_isqrt sdf_ellip_rot sdf_isqrt ↻ sdf_smax sdf_smin sdf_abs sdf_min sdf_smin ↻ mg_wc mg_step mg_extract mg_step ↻ mg_fi ↻ mg_wc ↻ mg_ci sys_read_file

structs

none

consts

13const P_MAGIC_1024: i64 = 1024
14const P_MAGIC_3217: i64 = 3217
30const P_UC: i64 = 256
31const P_VC: i64 = 329
32const P_SU: i64 = 333
33const P_SV: i64 = 350
34const P_VLO: i64 = 240
35const P_VHI: i64 = 440

functions

16func hw(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 }
called by 2: emit_framemain calls 1: sys_write
18func emit_frame(fb: *i64, fd: i64, tmp: *u8) -> i64
37func main() -> i64