Skip to content

Improve garden zoom performance without reducing detail - #16

Merged
hulingjun merged 7 commits into
mainfrom
agent/garden-performance-full-detail
Sep 6, 2026
Merged

hulingjun merged 7 commits into
mainfrom
agent/garden-performance-full-detail

Conversation

@hulingjun

@hulingjun hulingjun commented Sep 6, 2026 •

Copy link
Copy Markdown
Owner

Full-detail performance optimization

Preserves all 7,920 leaves, 7,920 petioles, 10,000 grass blades, branch geometry, textures, antialiasing, pixel ratio and shadow resolution.

  • Whole-tree instancing with conservative maximum-growth bounds; independent camera/light culling with no extra draw calls.
  • Exact-state simulation caching and paused-camera shadow reuse; fully animated wind and shadows remain unchanged.
  • Float64 cached leaf transforms, scratch reuse, skipped invisible uploads and zero-area winter submissions.
  • Removed unsuccessful GPU-fence, fragmented-batch and depth-prepass experiments. They are NOT included in the delivered tree.

Verified delivery tree

Final source tree is byte-for-byte the exact tree of commit aac80ad, which passed all cloud tests at https://github.com/hulingjun/hulingjun.github.io/actions/runs/34007033641 . The final revert commit restores that complete tree, not a partial manual revert.

Five matched-view screenshots have ZERO pixel difference. Desktop drag/wheel/pan/reset, active-weather zoom, acknowledged pause, mobile touch/pinch and all four season labels passed with no runtime errors.

Cloud software-renderer comparison (synchronous pixel readback, not gl.finish):

  • Seasonal-transition CPU median 1.342 ms -> 0.190 ms (~86% less).
  • Winter close-up render+readback median 2059 ms ->1663.6 ms (~19% less).
  • Dense summer close-up remained effectively unchanged (6255 ->6278.5 ms; ~0.4% variance). Do not claim this completely resolves dense-canopy stutter or translates to device FPS.

Artifact: https://github.com/hulingjun/hulingjun.github.io/actions/runs/34007033641/artifacts/9981398631 . All development/build/browser execution happened in cloud; local downloads were review artifacts only.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-06T02:13:21.395794Z 170b162 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hulingjun
hulingjun merged commit 2d6a6d5 into main Sep 6, 2026
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