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>
8 lines
195 B
Plaintext
8 lines
195 B
Plaintext
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://test/capture/canopy_scene.gd" id="1"]
|
|
|
|
[node name="CaptureCanopy" type="Node3D"]
|
|
script = ExtResource("1")
|
|
screen = true
|