﻿# Falcor accumulation: reset history when the measurement changes

Keep Falcor accumulated images meaningful by tracking scene and camera changes, automatic reset signals, sampling configuration and the exact accumulation epoch captured for training.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-falcor-accumulation-reset-measurement-epoch/
Language: en

## Define an accumulation epoch

A progressive renderer can reduce visible noise by accumulating samples across frames. Those frames need to represent the intended same measurement. If geometry, lighting or camera changes, averaging old and new observations can create a mixed image rather than a better estimate of the new scene. Define an accumulation epoch and record when it begins, especially when automated scene generation captures images after changing parameters between training examples.

## Read the actual reset behavior

The [AccumulatePass implementation](https://github.com/NVIDIAGameWorks/Falcor/blob/759aad033ff610fb0d82c74f7e0a508d0096d5f2/Source/RenderPasses/AccumulatePass/AccumulatePass.cpp) checks refresh and scene-update flags when automatic reset is enabled. Its camera-change handling distinguishes ordinary changes from jitter and history bookkeeping. Check these conditions in the pinned version rather than assuming every external parameter change is detected automatically. A custom pass that changes the measured signal must participate in the relevant update protocol or trigger a deliberate reset through the supported integration path.

## Distinguish frame accumulation from temporal reconstruction

Averaging samples of a fixed observation is not the same operation as motion-aware temporal denoising. Do not expect accumulation alone to align moving objects or reproject history between cameras. The [path-tracer guide](https://github.com/NVIDIAGameWorks/Falcor/blob/759aad033ff610fb0d82c74f7e0a508d0096d5f2/docs/usage/path-tracer.md) describes the producer whose configuration supplies those frames. Preserve its sampling settings with the accumulated result, since repeated identical random samples and genuinely varied sampling have different implications for convergence even if the frame counter increases.

## Keep graph lifetime visible

The [resource guide](https://github.com/NVIDIAGameWorks/Falcor/blob/759aad033ff610fb0d82c74f7e0a508d0096d5f2/docs/usage/render-passes.md) explains that persistence does not guarantee retained resources across graph recompilation. A capture workflow must therefore distinguish a continuing epoch from a rebuilt graph or replaced scene. Record effective resets and current sampling progress after the last change, not merely total frames rendered by the process since startup. A long-running worker can still be at the beginning of a new observation.

## Check a deliberate scene change

Accumulate a diagnostic scene, change a visible property and verify that the next captured epoch contains the intended new measurement. Repeat with camera jitter and an actual camera movement to test their different roles. The guides to [render moment interpretation](/journal/fg2-mitsuba-moment-integrator-sample-estimator-variance/) and [denoiser feature buffers](/journal/learn-denoiser-feature-buffers/) provide related context. Save epoch identity and producer settings with the image so training does not inherit a smooth-looking mixture of incompatible scene states as a supposedly clean target.
