|
Blender V5.0
|
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 65 of file node_geo_uv_tangent.cc.
References BLI_assert, blender::Span< T >::index_range(), blender::threading::parallel_for(), blender::MutableSpan< T >::size(), and blender::Span< T >::size().
Referenced by blender::nodes::node_geo_uv_tangent_cc::TangentFieldInput::get_varray_for_context().
|
static |
Definition at line 43 of file node_geo_uv_tangent.cc.
References blender::math::safe_rcp().
|
static |
Definition at line 36 of file node_geo_uv_tangent.cc.
References b, method_items, blender::nodes::SocketDeclaration::optional_label, PROP_XYZ, and blender::nodes::decl::Vector::subtype.
Referenced by node_register().
|
static |
Definition at line 225 of file node_geo_uv_tangent.cc.
References node_geo_exec(), and params.
Referenced by node_geo_exec(), and node_register().
|
static |
Definition at line 233 of file node_geo_uv_tangent.cc.
References blender::bke::bNodeType::declare, 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().