|
Blender V5.0
|
#include <BKE_subdiv.hh>
Public Attributes | |
| bool | is_simple |
| bool | is_adaptive |
| int | level |
| bool | use_creases |
| VtxBoundaryInterpolation | vtx_boundary_interpolation |
| FVarLinearInterpolation | fvar_linear_interpolation |
Definition at line 43 of file BKE_subdiv.hh.
| FVarLinearInterpolation blender::bke::subdiv::Settings::fvar_linear_interpolation |
Definition at line 78 of file BKE_subdiv.hh.
Referenced by BKE_multires_subdiv_settings_init(), BKE_subsurf_modifier_settings_init(), blender::bke::subdiv::calculate_limit_positions(), blender::bke::subdiv::converter_fvar_linear_from_settings(), blender::bke::subdiv::settings_equal(), and shrinkwrap_calc_subdivided_positions().
| bool blender::bke::subdiv::Settings::is_adaptive |
This refers to an adaptive isolation when creating patches for the subdivided surface.
When is set to false (aka uniform subdivision) fixed depth of isolation is used, which allows to iteratively add more subdivisions (uniform subdivision level 2 = uniform subdivision level 1 + uniform subdivision level 1). Uniform subdivisions will progressively go to a limit surface.
Adaptive isolation generates patches at a limit surface (aka as if infinite number of uniform subdivisions have been applied). This setting allows to have matches normal and tangent space the same independent of number of subdivisions set in modifier settings.
Definition at line 65 of file BKE_subdiv.hh.
Referenced by BKE_multires_subdiv_settings_init(), BKE_subsurf_modifier_settings_init(), blender::bke::subdiv::calculate_limit_positions(), blender::bke::subdiv::new_from_converter(), blender::bke::subdiv::settings_equal(), and shrinkwrap_calc_subdivided_positions().
| bool blender::bke::subdiv::Settings::is_simple |
Simple subdivision corresponds to "Simple" option in the interface. When it's enabled, the subdivided mesh is not "smoothed": new vertices are added uniformly on the existing surface.
On an OpenSubdiv implementation level this translates to a subdivision scheme: when is_simple is true OSD_SCHEME_BILINEAR is used, otherwise OSD_SCHEME_CATMARK.
Definition at line 51 of file BKE_subdiv.hh.
Referenced by BKE_multires_subdiv_settings_init(), BKE_subsurf_modifier_settings_init(), blender::bke::subdiv::calculate_limit_positions(), blender::draw::DRW_subdivide_loose_geom(), blender::bke::subdiv::get_edge_sharpness(), blender::bke::subdiv::get_scheme_type(), blender::bke::subdiv::is_infinite_sharp_vertex(), multires_reshape_smooth_object_grids_with_details(), blender::bke::subdiv::settings_equal(), shrinkwrap_calc_subdivided_positions(), and blender::bke::subdiv::subdiv_mesh_vertex_of_loose_edge().
| int blender::bke::subdiv::Settings::level |
Corresponds to Quality option in modifier settings: higher values means the final surface will be more accurately represented by patches.
On an OpenSubdiv implementation level this is an isolation level.
Definition at line 73 of file BKE_subdiv.hh.
Referenced by BKE_multires_subdiv_settings_init(), BKE_subsurf_modifier_runtime_init(), BKE_subsurf_modifier_settings_init(), blender::bke::subdiv::calculate_limit_positions(), deform_matrices(), blender::draw::draw_subdiv_create_requested_buffers(), mesh_wrapper_ensure_subdivision(), modify_mesh(), blender::bke::subdiv::new_from_converter(), blender::bke::subdiv::settings_equal(), shrinkwrap_calc_subdivided_positions(), and subdivide_edit_mesh().
| bool blender::bke::subdiv::Settings::use_creases |
Definition at line 75 of file BKE_subdiv.hh.
Referenced by BKE_multires_subdiv_settings_init(), BKE_subsurf_modifier_settings_init(), blender::bke::subdiv::calculate_limit_positions(), blender::bke::subdiv::init_user_data(), and shrinkwrap_calc_subdivided_positions().
| VtxBoundaryInterpolation blender::bke::subdiv::Settings::vtx_boundary_interpolation |
Definition at line 77 of file BKE_subdiv.hh.
Referenced by BKE_multires_subdiv_settings_init(), BKE_subsurf_modifier_settings_init(), blender::bke::subdiv::calculate_limit_positions(), blender::bke::subdiv::converter_vtx_boundary_interpolation_from_settings(), blender::bke::subdiv::settings_equal(), and shrinkwrap_calc_subdivided_positions().