feat(debug-ui): add volumetric history toggle #989

Merged
SakulFlee merged 1 commit from debug/volumetric-history-toggle into main 2026-10-30 17:56:04 +00:00
Owner

Summary

Adds a runtime Temporal history toggle to the Rendering panel.

This is a diagnostic and quality control for the new volumetric history pass:

  • VolumetricSettings::temporal_history defaults to true.
  • Disabling it drops the history textures and makes the composite use the current froxel volume directly.
  • The toggle is exposed in the Rendering panel.
  • AiO and the volumetrics example enable it explicitly.

Useful for isolating whether a visual artifact comes from temporal history or from the current frame’s injection.

Validation

  • cargo test -p orbital_debug_ui -p orbital_renderer --all-targets passes.
  • cargo check --workspace with the workspace clippy driver and -D warnings passes.
  • rustfmt --check passes.

Related: #986.

## Summary Adds a runtime **Temporal history** toggle to the Rendering panel. This is a diagnostic and quality control for the new volumetric history pass: - `VolumetricSettings::temporal_history` defaults to `true`. - Disabling it drops the history textures and makes the composite use the current froxel volume directly. - The toggle is exposed in the Rendering panel. - AiO and the volumetrics example enable it explicitly. Useful for isolating whether a visual artifact comes from temporal history or from the current frame’s injection. ## Validation - `cargo test -p orbital_debug_ui -p orbital_renderer --all-targets` passes. - `cargo check --workspace` with the workspace clippy driver and `-D warnings` passes. - `rustfmt --check` passes. Related: #986.
feat(debug-ui): add volumetric history toggle
All checks were successful
Lint / lint (pull_request) Successful in 1m21s
PR / test (pull_request) Successful in 5m59s
Templates / templates (pull_request) Successful in 4m42s
a4c406219e

Smart test results

Result: PASS

Scope: orbital_debug_ui, orbital_ecs_bridge, orbital_renderer

Reason: directly changed crates

Elapsed: 5m 34s

Workflow run

Overall: 109 tests, 108 passed, 0 failed, 1 skipped

Nextest: 108 tests, 108 passed, 0 failed, 0 skipped
Doctests: 1 tests, 0 passed, 0 failed, 1 skipped

Outcome charts are split between nextest and doctests. The timing chart covers nextest only.

Crate Nextest Passed Failed Skipped Doctests Time
orbital_debug_ui 48 48 0 0 0/1 0.62s
orbital_ecs_bridge 42 42 0 0 - 0.63s
orbital_renderer 18 18 0 0 - 0.37s
pie showData
    title Nextest outcomes
    "Passed" : 108
pie showData
    title Doctest outcomes
    "Skipped" : 1
xychart-beta
    title "Slowest crates (nextest seconds)"
    x-axis ["orbital_ecs_bridge", "orbital_debug_ui", "orbital_renderer"]
    y-axis "Seconds" 0 --> 1
    bar [0.63, 0.62, 0.37]
<!-- orbital-ci-test-results --> ## Smart test results **Result:** PASS **Scope:** orbital_debug_ui, orbital_ecs_bridge, orbital_renderer **Reason:** directly changed crates **Elapsed:** 5m 34s [Workflow run](https://forgejo.sakul-flee.de/SakulFlee/Orbital/actions/runs/898) **Overall:** 109 tests, 108 passed, 0 failed, 1 skipped **Nextest:** 108 tests, 108 passed, 0 failed, 0 skipped **Doctests:** 1 tests, 0 passed, 0 failed, 1 skipped _Outcome charts are split between nextest and doctests. The timing chart covers nextest only._ | Crate | Nextest | Passed | Failed | Skipped | Doctests | Time | | --- | ---: | ---: | ---: | ---: | ---: | ---: | | orbital_debug_ui | 48 | 48 | 0 | 0 | 0/1 | 0.62s | | orbital_ecs_bridge | 42 | 42 | 0 | 0 | - | 0.63s | | orbital_renderer | 18 | 18 | 0 | 0 | - | 0.37s | ```mermaid pie showData title Nextest outcomes "Passed" : 108 ``` ```mermaid pie showData title Doctest outcomes "Skipped" : 1 ``` ```mermaid xychart-beta title "Slowest crates (nextest seconds)" x-axis ["orbital_ecs_bridge", "orbital_debug_ui", "orbital_renderer"] y-axis "Seconds" 0 --> 1 bar [0.63, 0.62, 0.37] ```
Sign in to join this conversation.
No description provided.