|
Blender V5.0
|
Classes | |
| class | LensDistortionOperation |
Functions | |
| static void | cmp_node_lensdist_declare (NodeDeclarationBuilder &b) |
| static void | node_composit_init_lensdist (bNodeTree *, bNode *node) |
| static float | compute_distortion_scale (const float distortion, const float distance_squared) |
| static float3 | compute_chromatic_distortion_scale (const float3 &chromatic_distortion, const float distance_squared) |
| static float2 | compute_distorted_uv (const float2 &uv, const float uv_scale, const int2 &size) |
| static int | compute_number_of_integration_steps_heuristic (const float distortion, const bool use_jitter) |
| static int4 | compute_number_of_integration_steps (const float3 &chromatic_distortion, const int2 &size, const float2 &uv, const float distance_squared, const bool use_jitter) |
| static float | get_jitter (const int2 &texel, const int seed, const bool use_jitter) |
| static float4 | integrate_distortion (const int2 &texel, const Result &input, const int2 &size, const float3 &chromatic_distortion, const int start, const int end, const float distance_squared, const float2 &uv, const int steps, const bool use_jitter) |
| static void | radial_lens_distortion (const int2 texel, const Result &input, Result &output, const int2 &size, const float3 &chromatic_distortion, const float scale, const bool use_jitter) |
| static NodeOperation * | get_compositor_operation (Context &context, DNode node) |
Variables | |
| static const EnumPropertyItem | type_items [] |
|
static |
Definition at line 50 of file node_composite_lensdist.cc.
References b, CMP_NODE_LENS_DISTORTION_RADIAL, blender::nodes::SocketDeclaration::description, MINIMUM_DISTORTION, blender::nodes::SocketDeclaration::optional_label, PROP_FACTOR, blender::nodes::SocketDeclaration::structure_type, blender::nodes::decl::Float::subtype, and type_items.
|
static |
Definition at line 117 of file node_composite_lensdist.cc.
References blender::math::max(), and blender::math::sqrt().
Referenced by compute_number_of_integration_steps().
|
static |
Definition at line 127 of file node_composite_lensdist.cc.
References size().
Referenced by compute_number_of_integration_steps(), and integrate_distortion().
|
static |
Definition at line 110 of file node_composite_lensdist.cc.
References blender::math::max(), and blender::math::sqrt().
Referenced by integrate_distortion().
|
static |
Definition at line 151 of file node_composite_lensdist.cc.
References compute_chromatic_distortion_scale(), compute_distorted_uv(), compute_number_of_integration_steps_heuristic(), blender::math::distance(), and size().
Referenced by radial_lens_distortion().
|
static |
Definition at line 137 of file node_composite_lensdist.cc.
References blender::math::sqrt().
Referenced by compute_number_of_integration_steps().
|
static |
Definition at line 534 of file node_composite_lensdist.cc.
|
static |
Definition at line 182 of file node_composite_lensdist.cc.
References blender::noise::hash_to_float(), and seed.
Referenced by integrate_distortion().
|
static |
Definition at line 201 of file node_composite_lensdist.cc.
References compute_distorted_uv(), compute_distortion_scale(), get_jitter(), i, input, and size().
Referenced by radial_lens_distortion().
|
static |
Definition at line 93 of file node_composite_lensdist.cc.
References data, MEM_callocN(), and bNode::storage.
|
static |
Definition at line 232 of file node_composite_lensdist.cc.
References compute_number_of_integration_steps(), blender::math::dot(), input, integrate_distortion(), output, and size().
Referenced by blender::nodes::node_composite_lensdist_cc::LensDistortionOperation::execute_radial_distortion_cpu().
|
static |
Definition at line 36 of file node_composite_lensdist.cc.
Referenced by cmp_node_lensdist_declare().