Blender  V2.93
Functions
film.cpp File Reference
#include "render/film.h"
#include "device/device.h"
#include "render/camera.h"
#include "render/integrator.h"
#include "render/mesh.h"
#include "render/scene.h"
#include "render/stats.h"
#include "render/tables.h"
#include "util/util_algorithm.h"
#include "util/util_foreach.h"
#include "util/util_math.h"
#include "util/util_math_cdf.h"
#include "util/util_time.h"

Go to the source code of this file.

Functions

static CCL_NAMESPACE_BEGIN bool compare_pass_order (const Pass &a, const Pass &b)
 
static NodeEnumget_pass_type_enum ()
 
 NODE_DEFINE (Pass)
 
static float filter_func_box (float, float)
 
static float filter_func_gaussian (float v, float width)
 
static float filter_func_blackman_harris (float v, float width)
 
static vector< floatfilter_table (FilterType type, float width)
 
 NODE_DEFINE (Film)
 

Function Documentation

◆ compare_pass_order()

static CCL_NAMESPACE_BEGIN bool compare_pass_order ( const Pass a,
const Pass b 
)
static

Definition at line 36 of file film.cpp.

References Freestyle::a, Pass::components, and Pass::type.

Referenced by Pass::add().

◆ filter_func_blackman_harris()

static float filter_func_blackman_harris ( float  v,
float  width 
)
static

Definition at line 317 of file film.cpp.

References cosf, M_2PI_F, v, and width.

Referenced by filter_table().

◆ filter_func_box()

static float filter_func_box ( float  ,
float   
)
static

Definition at line 306 of file film.cpp.

Referenced by filter_table().

◆ filter_func_gaussian()

static float filter_func_gaussian ( float  v,
float  width 
)
static

Definition at line 311 of file film.cpp.

References expf, v, and width.

Referenced by filter_table().

◆ filter_table()

static vector<float> filter_table ( FilterType  type,
float  width 
)
static

◆ get_pass_type_enum()

static NodeEnum* get_pass_type_enum ( )
static

◆ NODE_DEFINE() [1/2]

NODE_DEFINE ( Film  )

◆ NODE_DEFINE() [2/2]

NODE_DEFINE ( Pass  )

Definition at line 88 of file film.cpp.

References NodeType::add(), get_pass_type_enum(), PASS_COMBINED, SOCKET_ENUM, SOCKET_STRING, and type.