|
Blender V5.3
|
Classes | |
| class | TangentFieldInput |
Enumerations | |
| enum class | Method { Exact = 0 , Fast = 1 } |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static float3 | compute_triangle_tangent (const float3 &p1, const float3 &p2, const float3 &p3, const float2 &uv1, const float2 &uv2, const float2 &uv3) |
| static void | calc_uv_tangents_simple (const Span< float3 > positions, const Span< int > corner_verts, const Span< int3 > corner_tris, const GroupedSpan< int > vert_to_corners_map, const Span< float3 > uvs, MutableSpan< float3 > r_corner_tangents) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
Variables | |
| static EnumPropertyItem | method_items [] |
|
strong |
| Enumerator | |
|---|---|
| Exact | |
| Fast | |
Definition at line 14 of file node_geo_uv_tangent.cc.
|
static |
Definition at line 68 of file node_geo_uv_tangent.cc.
References blender::BLI_assert(), calc_uv_tangents_simple(), blender::Span< T >::index_range(), blender::threading::parallel_for(), blender::MutableSpan< T >::size(), and blender::Span< T >::size().
Referenced by calc_uv_tangents_simple(), and blender::nodes::node_geo_uv_tangent_cc::TangentFieldInput::get_varray_for_context().
|
static |
Definition at line 46 of file node_geo_uv_tangent.cc.
References compute_triangle_tangent(), and blender::math::safe_rcp().
Referenced by compute_triangle_tangent().
|
static |
Definition at line 36 of file node_geo_uv_tangent.cc.
References b, method_items, node_declare(), blender::nodes::SocketDeclaration::optional_label, blender::PROP_XYZ, and blender::nodes::decl::Vector::subtype.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 221 of file node_geo_uv_tangent.cc.
References blender::nodes::GeoNodeExecParams::extract_input(), blender::nodes::Field< T >::from_input(), node_geo_exec(), and blender::nodes::GeoNodeExecParams::set_output().
Referenced by node_geo_exec(), and node_register().
|
static |
Definition at line 229 of file node_geo_uv_tangent.cc.
References blender::bke::bNodeType::declare, blender::geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::nclass, NODE_CLASS_INPUT, node_declare(), node_geo_exec(), node_register(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 19 of file node_geo_uv_tangent.cc.
Referenced by node_declare().