|
Blender V4.5
|
Classes | |
| class | LensDistortionOperation |
Functions | |
| static void | cmp_node_lensdist_declare (NodeDeclarationBuilder &b) |
| static void | node_composit_init_lensdist (bNodeTree *, bNode *node) |
| static void | node_composit_buts_lensdist (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_update (bNodeTree *ntree, 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 int3 | 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 float3 | 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) |
|
static |
Definition at line 41 of file node_composite_lensdist.cc.
References b, blender::nodes::SocketDeclaration::description, MINIMUM_DISTORTION, PROP_FACTOR, and blender::nodes::decl::Float::subtype.
|
static |
Definition at line 122 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 132 of file node_composite_lensdist.cc.
References size().
Referenced by compute_number_of_integration_steps(), and integrate_distortion().
|
static |
Definition at line 115 of file node_composite_lensdist.cc.
References blender::math::max(), and blender::math::sqrt().
Referenced by integrate_distortion().
|
static |
Definition at line 156 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 142 of file node_composite_lensdist.cc.
References blender::math::sqrt().
Referenced by compute_number_of_integration_steps().
|
static |
Definition at line 527 of file node_composite_lensdist.cc.
References node.
|
static |
Definition at line 186 of file node_composite_lensdist.cc.
References blender::noise::hash_to_float(), and seed.
Referenced by integrate_distortion().
|
static |
Definition at line 205 of file node_composite_lensdist.cc.
References compute_distorted_uv(), compute_distortion_scale(), get_jitter(), input, size(), and steps.
Referenced by radial_lens_distortion().
|
static |
Definition at line 82 of file node_composite_lensdist.cc.
References uiLayout::prop(), ptr, and UI_ITEM_R_SPLIT_EMPTY_NAME.
|
static |
Definition at line 75 of file node_composite_lensdist.cc.
References CMP_NODE_LENS_DISTORTION_RADIAL, data, MEM_callocN(), and node.
|
static |
Definition at line 87 of file node_composite_lensdist.cc.
References CMP_NODE_LENS_DISTORTION_RADIAL, node, blender::bke::node_find_socket(), blender::bke::node_set_socket_availability(), and SOCK_IN.
|
static |
Definition at line 235 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().