Blender
V3.3
|
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | deform_curves (const CurvesGeometry &curves, const Mesh &surface_mesh_old, const Mesh &surface_mesh_new, const Span< float2 > curve_attachment_uvs, const ReverseUVSampler &reverse_uv_sampler_old, const ReverseUVSampler &reverse_uv_sampler_new, const Span< float3 > corner_normals_old, const Span< float3 > corner_normals_new, const Span< float3 > rest_positions, const float4x4 &surface_to_curves, MutableSpan< float3 > r_positions, MutableSpan< float3x3 > r_rotations, std::atomic< int > &r_invalid_uv_count) |
static void | node_geo_exec (GeoNodeExecParams params) |
|
static |
Definition at line 44 of file node_geo_deform_curves_on_surface.cc.
References curves, blender::float4x4::inverted(), blender::threading::parallel_for(), blender::threading::parallel_invoke(), and blender::geometry::ReverseUVSampler::sample_many().
Referenced by node_geo_exec().
|
static |
Definition at line 38 of file node_geo_deform_curves_on_surface.cc.
References usdtokens::b(), GEO_COMPONENT_TYPE_CURVE, and N_.
Referenced by register_node_type_geo_deform_curves_on_surface().
|
static |
Definition at line 208 of file node_geo_deform_curves_on_surface.cc.
References ATTR_DOMAIN_CORNER, ATTR_DOMAIN_POINT, BKE_id_free(), BKE_mesh_calc_normals_split_ex(), BKE_mesh_from_bmesh_for_eval_nomain(), BKE_mesh_runtime_looptri_ensure(), BKE_mesh_runtime_looptri_len(), BKE_mesh_wrapper_ensure_mdata(), BKE_modifier_get_evaluated_mesh_from_evaluated_object(), BLI_SCOPED_DEFER, BLI_sprintfN(), blender::StringRefNull::c_str(), blender::bke::AttributeAccessor::contains(), curves, blender::bke::CurvesEditHints::curves_id_orig, blender::Array< T, InlineBufferCapacity, Allocator >::data(), Object::data, deform_curves(), blender::bke::CurvesEditHints::deform_mats, DEG_get_original_object(), Mesh::edit_mesh, Curves::geometry, GeometrySet::get_curve_edit_hints_for_write(), GeometrySet::get_curves_for_write(), GeometrySet::has_curves(), blender::MutableSpan< T >::is_empty(), blender::bke::AttributeAccessor::lookup(), MEM_freeN, blender::bke::mesh_attributes(), NULL, OB_CURVES, OB_MESH, params, CurvesGeometry::point_num, blender::bke::CurvesEditHints::positions, Curves::surface, Curves::surface_uv_map, TIP_, Mesh::totloop, Object::type, and blender::bke::image::partial_update::wrap().
Referenced by register_node_type_geo_deform_curves_on_surface().