Skip to content

Optimize v0.40 motion, performance, and world framing - #13

Merged
NellInc merged 1 commit into
mainfrom
codex/v040-performance-world-polish
Aug 10, 2026
Merged

Optimize v0.40 motion, performance, and world framing#13
NellInc merged 1 commit into
mainfrom
codex/v040-performance-world-polish

Conversation

@NellInc

@NellInc NellInc commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Drive both articulated trucks from render delta through their fixed step controllers, eliminating the former 2 Hz pose batching.
  • Couple both checkpoint booms to the live tractor and trailer positions with hysteresis and frame rate independent damping.
  • Move completed bag accounting onto the unified 500 ms simulation tick, preserving fractional production without multi hundred bag jumps.
  • Wire the onboarding tour to real camera presets and retain smooth WASD plus Q and E inspection movement.
  • Restore local containment with nearer mountain ridges and a deterministic instanced skyline while preserving the analytic skybox, sun, and moon.
  • Add darkness and weather aware exterior lamps, with shared low cost asphalt pools on medium quality and real point lights on higher presets.
  • Replace the box tunnel with a hollow arched road portal and improve farm culverts with liners, headwalls, wing walls, aprons, riprap, and weather driven water.
  • Remove hot path registry allocations and keep structural dock animations on every render frame.
  • Keep v0.40 locked and preserve the uncrewed world contract.

Performance

Medium preset, four production views, 6 second measured windows:

View Before After p95 before p95 after
Overview 55.7 FPS 105.8 FPS 21.0 ms 10.9 ms
Shipping 55.0 FPS 108.5 FPS 23.0 ms 10.6 ms
Receiving 47.2 FPS 106.2 FPS 29.4 ms 10.7 ms
Water 53.6 FPS 94.3 FPS 21.1 ms 11.8 ms

World integrity and motion acceptance passed in every view. The report's only red budget item is expected: the authored medium preset deliberately renders at DPR 0.60 while the generic benchmark budget requests DPR 1.0.

Validation

  • npm run typecheck
  • npm run lint
  • npm run format:check
  • npm test -- --reporter=dot --maxWorkers=2, 103 files and 1016 tests passed
  • VERSION=v0.40 npm run build
  • npm run validate:bundle
  • npm run validate:uncrewed
  • npm run validate:releases
  • npm run validate:assets
  • npm run validate:depth
  • npm run validate:shaders
  • npx impeccable detect src
  • Browser runtime: no console errors, no human scene objects, tour camera movement verified, WASD and Q or E movement verified, checkpoint live response verified, night lighting and revised world geometry visually inspected

@NellInc
NellInc merged commit d4ea0d8 into main Aug 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant