You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a dense layout to the many_cubes stress test (#21745)
# Objective
- Test the impact that many overlapping cubes, all within the camera
frustum, have on visibility/occlusion calculations, especially with
continuous rotation and shadows enabled.
## Solution
- Add a dense cube layout using a static camera, and a toggle for
individual cube rotation.
## Testing
- I ran the test in several stages, each causing a considerable
performance drop.
- Stage 1: using just the dense layout.
- Stage 2: using the dense layout with rotation or shadows enabled.
- Stage 3: using the dense layout with both rotation and shadows
enabled.
```
cargo run --release --example many_cubes -- --layout dense --rotate-cubes --shadows
```
---
## Showcase
<img width="1904" height="940" alt="image"
src="https://github.com/user-attachments/assets/6fc811aa-81fa-4130-a6e0-0a017bc99f19"
/>
0 commit comments