Blender V4.3
eevee_film.hh File Reference
#include <string>
#include "BLI_math_vector.hh"
#include "BLI_set.hh"
#include "DRW_render.hh"
#include "eevee_shader_shared.hh"
#include <sstream>

Go to the source code of this file.

Classes

class  blender::eevee::Film
 

Namespaces

namespace  blender
 
namespace  blender::eevee
 

Detailed Description

The film class handles accumulation of samples with any distorted camera_type using a pixel filter. Inputs needs to be jittered so that the filter converges to the right result.

In viewport, we switch between 2 accumulation mode depending on the scene state.

  • For static scene, we use a classic weighted accumulation.
  • For dynamic scene (if an update is detected), we use a more temporally stable accumulation following the Temporal Anti-Aliasing method (a.k.a. Temporal Super-Sampling). This does history reprojection and rectification to avoid most of the flickering.

The Film module uses the following terms to refer to different spaces/extents:

  • Display: The full output extent (matches the full viewport or the final image resolution).
  • Film: The same extent as display, or a subset of it when a Render Region is used.
  • Render: The extent used internally by the engine for rendering the main views. Equals to the full display extent + overscan (even when a Render Region is used) and its resolution can be scaled.

Definition in file eevee_film.hh.