PropView.clear_view() hides every pine whose drawn shape crosses the line from the camera to the followed player's chest or head, or holds the camera, and shows it again once the line is clear. Candidates come from the trunks in the ground's solid index around the line. MatchView.follow() applies it; look_from() (framing, overview) shows everything again. Test: a player against the most crowded pine on seed 2, at 16 yaws, hides exactly the blocking pines and brings them all back afterwards. Captures canopy and canopy_before (tools/capture.sh canopy ...). Closes #75 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 lines
20 B
Plaintext
2 lines
20 B
Plaintext
uid://c5188opmonsli
|