|
Blender V5.3
|
Classes | |
| class | LensDistortionOperation |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_init (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, const bNode &node) |
| static void | node_register () |
Variables | |
| static const EnumPropertyItem | type_items [] |
|
static |
Definition at line 115 of file node_composite_lens_distortion.cc.
References compute_chromatic_distortion_scale(), distance_squared(), blender::gpu::shader::metadata::float3, blender::math::max(), and blender::math::sqrt().
Referenced by compute_chromatic_distortion_scale(), and compute_number_of_integration_steps().
|
static |
Definition at line 125 of file node_composite_lens_distortion.cc.
References compute_distorted_uv(), blender::gpu::shader::metadata::float2, and blender::gpu::shader::metadata::int2.
Referenced by compute_distorted_uv(), compute_number_of_integration_steps(), and integrate_distortion().
|
static |
Definition at line 108 of file node_composite_lens_distortion.cc.
References compute_distortion_scale(), distance_squared(), blender::math::max(), and blender::math::sqrt().
Referenced by compute_distortion_scale(), and integrate_distortion().
|
static |
Definition at line 149 of file node_composite_lens_distortion.cc.
References compute_chromatic_distortion_scale(), compute_distorted_uv(), compute_number_of_integration_steps(), compute_number_of_integration_steps_heuristic(), blender::math::distance(), distance_squared(), blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::int2, and blender::gpu::shader::metadata::int4.
Referenced by compute_number_of_integration_steps(), and radial_lens_distortion().
|
static |
Definition at line 135 of file node_composite_lens_distortion.cc.
References compute_number_of_integration_steps_heuristic(), and blender::math::sqrt().
Referenced by compute_number_of_integration_steps(), and compute_number_of_integration_steps_heuristic().
|
static |
Definition at line 532 of file node_composite_lens_distortion.cc.
References get_compositor_operation(), and node.
Referenced by get_compositor_operation(), and node_register().
|
static |
Definition at line 180 of file node_composite_lens_distortion.cc.
References get_jitter(), blender::noise::hash_to_float(), and blender::gpu::shader::metadata::int2.
Referenced by get_jitter(), and integrate_distortion().
|
static |
Definition at line 199 of file node_composite_lens_distortion.cc.
References compute_distorted_uv(), compute_distortion_scale(), distance_squared(), blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, get_jitter(), blender::gpu::shader::metadata::int2, integrate_distortion(), and blender::compositor::Result::sample_bilinear_zero().
Referenced by integrate_distortion(), and radial_lens_distortion().
|
static |
Definition at line 46 of file node_composite_lens_distortion.cc.
References b, blender::CMP_NODE_LENS_DISTORTION_RADIAL, blender::nodes::SocketDeclaration::description, MINIMUM_DISTORTION, node_declare(), blender::nodes::SocketDeclaration::optional_label, blender::PROP_FACTOR, blender::nodes::SocketDeclaration::structure_type, blender::nodes::decl::Float::subtype, and type_items.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 91 of file node_composite_lens_distortion.cc.
References blender::data, node, and node_init().
Referenced by node_init(), and node_register().
|
static |
Definition at line 537 of file node_composite_lens_distortion.cc.
References CMP_NODE_LENSDIST, blender::cmp_node_type_base(), blender::bke::bNodeType::declare, blender::bke::bNodeType::enum_name_legacy, blender::bke::bNodeType::get_compositor_operation, get_compositor_operation(), blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, NODE_CLASS_DISTORT, blender::node_copy_standard_storage(), node_declare(), blender::node_free_standard_storage(), node_init(), node_register(), blender::bke::node_register_type(), blender::bke::node_type_storage(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 230 of file node_composite_lens_distortion.cc.
References compute_number_of_integration_steps(), distance_squared(), blender::math::dot(), blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, blender::gpu::shader::metadata::int4, integrate_distortion(), output, radial_lens_distortion(), and scale().
Referenced by blender::nodes::node_composite_lens_distortion_cc::LensDistortionOperation::execute_radial_distortion_cpu(), and radial_lens_distortion().
|
static |
Definition at line 32 of file node_composite_lens_distortion.cc.
Referenced by node_declare().