code wiki / (root) / nx_craft_rig_observation_emit_t331.nx

nx_craft_rig_observation_emit_t331.nx source

↩ module page · 26 lines · 4973 B

1// Candidate page-fit composition. Existing shared page renders all scene and inspection controls. 2import "nx_game_page_rig_observation_candidate_t331.nx" 3import "nx_softbind.nx" 4const CE_NATIVE:*u8="nx_desktop_craft" 5const CE_EV_CAP:i64=8192 6func ce_cat(d:*u8,p:i64,s:*u8)->i64{ 7 var i:i64=0;while s[i]!=(0 as u8){d[p+i]=s[i];i=i+1};return p+i 8} 9func ce_catn(d:*u8,p:i64,v:i64)->i64{ 10 if v==0{d[p]=48 as u8;return p+1} 11 var t:i64=v;var n:i64=0;while t>0{t=t/10;n=n+1} 12 var k:i64=n;var u:i64=v;while k>0{d[p+k-1]=((u%10)+48) as u8;u=u/10;k=k-1};return p+n 13} 14func ce_stamp(t:*u8)->*u8{ 15 let o:*u8=sys_mmap(192);var i:i64=0 16 while t[i]!=(0 as u8){o[i]=t[i];i=i+1} 17 o[i]=32 as u8;o[i+1]=98 as u8;i=i+2 18 var m:i64=sys_now_realtime_sec();let d:*u8=sys_mmap(32);var k:i64=0 19 while m>0{d[k]=(48+(m%10)) as u8;m=m/10;k=k+1} 20 while k>0{k=k-1;o[i]=d[k];i=i+1};o[i]=0 as u8;return o 21} 22func ce_evidence(base_ctrl:*u8,out:*u8)->i64{ 23 var p:i64=ce_cat(out,0,base_ctrl) 24 p=ce_cat(out,p,"<p>Alpha resident rig observation - 2026-09-19: the existing rig API can capture one actor at the native, ankle-adjusted, hand/toe-adjusted and planted palette stages of the same normal frame. Capture does not recompute motion or change scene playback. Cross-actor ownership, phase order and failure isolation passed 21 browser fixtures. Current resident eye, hair, limb deformation and movement quality remain unaccepted; served palette measurements are pending. Worklog: resident-rig-observation-t331.</p><p>Alpha native walking review - 2026-09-19: the prepared Catwalk character now carries its full original 52-channel source clip. Native WASM evaluates arbitrary times; the shared scene clock drives play, pause and reset. Horizontal in-place display is explicit and authored travel remains selectable. Same-time conservative collision bounds enclose the complete skinned mesh; exact full-mesh bounds remain available for audits. Native pose parity and enclosure gates passed. Rendered terrain contact, anatomical collision and autonomous navigation remain unqualified; served interaction review follows publication. Worklog: tifa-native-motion-qualification-t316.</p><p>Alpha character lighting review - 2026-09-19: prepared references now use the front-face convention of the shared camera projection, restoring direct lighting without raising brightness. Body inspection now shows the selected geometry or mapped normals. The current Catwalk reference passed private Chrome lighting and diagnostic review; all five discrete poses have positive blended transform determinants. Reflected, mixed-sign and singular transforms remain unqualified. Source albedo is an unlit comparison; the lighting preset is not measured Beach illumination. Native build passed; served Alpha review follows publication. Floating contact, continuous motion, terrain stripes and resident appearance remain unfinished. Beta and Production are unchanged. Worklog: catwalk-lighting-candidate-t316.</p><p>Alpha material transport review - 2026-09-19: authored tangents, explicit linear normal-map decoding, source samplers and normal mip transport now share the native cast renderer. Native cast 15/15, surface 8/8, source closure 7/7 and full-page 30/30 checks passed; actual GPU attachment pipeline creation passed. No-map served draws and decoded PNG pixel parity remain pending. Skin, hair, eyes and garments are not aesthetically accepted; MR/AO/emissive maps and reflected-pose qualification remain unfinished. Current terrain-depth producer is retained. Worklog: beach-material-review-20260919.</p><p>Alpha terrain-depth review - 2026-09-19: the world pass now writes opaque terrain depth so dunes can occlude characters. Native full-page qualification passed 30/30; artifact integrity and script syntax checked. Alpha is the live review surface. Served visual hill occlusion, water behavior, and matching terrain, player-feet and NPC-contact heights are pending. Beta and Production remain unchanged. Worklog: beach-depth-review-20260919.</p><p>Alpha diagnostic update - 2026-09-13: the shared character renderer now carries an explicit normal-map encoding contract in WebGL and WebGPU; unsupported declared encodings refuse instead of silently decoding differently. Existing unlabelled assets keep their legacy decoding. Regional skin-texture integration and visual realism remain unfinished. Worklog: normal-selected-page-review-t296 and normal-selected-page-browser-t296. Hair measurements now select the active renderer and include all three offset axes. WebGPU CPU uniform staging agreement is checked. These measurements do not qualify hair collision, clipping or visual realism. Resident hair now inherits per-guide source-surface skin weights instead of one guessed joint. Original groom geometry is retained. Hair may still cross the face; body collision and groom quality remain unfinished. Worklog: hair-attachment-palette-gate-t280 and hair-probe-served-t280.</p>" as *u8) 25 out[p]=0 as u8;return p 26}