|
Blender V5.3
|
Functions | |
| float4x4 | calc_local_matrix (const Brush &brush, const StrokeCache &cache, const float3 &plane_normal, const float3 &plane_center, const bool flip) |
| CursorSampleResult | calc_node_mask (const Depsgraph &depsgraph, Object &ob, const Brush &brush, IndexMaskMemory &memory) |
| float4x4 blender::ed::sculpt_paint::brushes::clay_strips::calc_local_matrix | ( | const Brush & | brush, |
| const StrokeCache & | cache, | ||
| const float3 & | plane_normal, | ||
| const float3 & | plane_center, | ||
| const bool | flip ) |
Definition at line 367 of file clay_strips.cc.
References calc_local_matrix(), blender::math::cross(), blender::math::from_scale(), blender::ed::sculpt_paint::StrokeCache::grab_delta_symm, blender::MatBase< float, 4, 4 >::identity(), blender::math::invert(), blender::MatBase< T, NumCol, NumRow, Alignment >::location(), blender::math::normalize(), blender::ed::sculpt_paint::StrokeCache::radius, scale(), blender::MatBase< T, NumCol, NumRow, Alignment >::x_axis(), blender::MatBase< T, NumCol, NumRow, Alignment >::y_axis(), and blender::MatBase< T, NumCol, NumRow, Alignment >::z_axis().
Referenced by calc_local_matrix(), calc_node_mask(), and blender::ed::sculpt_paint::brushes::do_clay_strips_brush().
| CursorSampleResult blender::ed::sculpt_paint::brushes::clay_strips::calc_node_mask | ( | const Depsgraph & | depsgraph, |
| Object & | ob, | ||
| const Brush & | brush, | ||
| IndexMaskMemory & | memory ) |
Definition at line 398 of file clay_strips.cc.
References blender::ed::sculpt_paint::StrokeCache::accum, BLI_assert_unreachable, blender::ed::sculpt_paint::brush_plane_offset_get(), blender::ed::sculpt_paint::StrokeCache::bstrength, blender::SculptSession::cache, blender::ed::sculpt_paint::calc_brush_plane(), calc_local_matrix(), calc_node_mask(), blender::ed::sculpt_paint::gather_nodes(), blender::ed::sculpt_paint::StrokeCache::grab_delta_symm, blender::IndexMask::IndexMask(), blender::math::is_zero(), blender::ed::sculpt_paint::StrokeCache::location_symm, node, blender::ed::sculpt_paint::node_fully_masked_or_hidden(), blender::ed::sculpt_paint::node_in_box(), blender::ed::sculpt_paint::node_in_box_positive_z(), blender::PAINT_FALLOFF_SHAPE_SPHERE, blender::PAINT_FALLOFF_SHAPE_TUBE, blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::StrokeCache::radius, blender::ed::sculpt_paint::StrokeCache::scale, blender::bke::pbvh::search_nodes(), blender::math::square(), blender::ed::sculpt_paint::tilt_apply_to_normal(), and blender::ed::sculpt_paint::StrokeCache::view_normal_symm.
Referenced by blender::ed::sculpt_paint::calc_brush_node_mask(), and calc_node_mask().