/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_info/ |
H A D | info_stats.c | 74 uint64_t totface, totfacesel; member 101 int totvert, totedge, totface, totloop; in stats_mesheval() local 109 totface = me_eval->totpoly; in stats_mesheval() 115 stats->totface += totface; in stats_mesheval() 120 stats->totfacesel += totface; in stats_mesheval() 181 stats->totface += totf; in stats_object() 227 stats->totface += em->bm->totface; in stats_object_edit() 356 stats->tottri = ob->sculpt->bm->totface; in stats_object_sculpt_dynamic_topology() 444 SCENE_STATS_FMT_INT(totface); in format_stats() 500 stats_fmt->totface, in get_stats_string() [all …]
|
/dports/graphics/blender/blender-2.91.0/release/scripts/startup/bl_operators/ |
H A D | view3d.py | 43 totface = mesh.total_face_sel 47 if select_mode[2] and totface == 1: 55 elif select_mode[2] and totface > 1: 90 totface = mesh.total_face_sel 94 if totface >= 1:
|
/dports/graphics/blender/blender-2.91.0/source/blender/bmesh/tools/ |
H A D | bmesh_separate.c | 41 BMFace **faces_array_all = MEM_mallocN(bm->totface * sizeof(BMFace *), __func__); in BM_mesh_separate_faces() 59 int i_b = bm->totface; in BM_mesh_separate_faces() 64 faces_b_len = bm->totface - i_a; in BM_mesh_separate_faces()
|
H A D | bmesh_path_uv.c | 375 int i = 0, totface; in BM_mesh_calc_path_uv_face() local 394 totface = bm->totface; in BM_mesh_calc_path_uv_face() 395 faces_prev = MEM_callocN(sizeof(*faces_prev) * totface, __func__); in BM_mesh_calc_path_uv_face() 396 cost = MEM_mallocN(sizeof(*cost) * totface, __func__); in BM_mesh_calc_path_uv_face() 398 copy_vn_fl(cost, totface, COST_INIT_MAX); in BM_mesh_calc_path_uv_face()
|
H A D | bmesh_path.c | 521 int i, totface; in BM_mesh_calc_path_face() local 536 totface = bm->totface; in BM_mesh_calc_path_face() 537 faces_prev = MEM_callocN(sizeof(*faces_prev) * totface, __func__); in BM_mesh_calc_path_face() 538 cost = MEM_mallocN(sizeof(*cost) * totface, __func__); in BM_mesh_calc_path_face() 540 copy_vn_fl(cost, totface, COST_INIT_MAX); in BM_mesh_calc_path_face()
|
H A D | bmesh_boolean.cc | 57 const int estimate_num_outf = 4 * bm->totface; in mesh_from_bm() 64 Array<Face *> face(bm->totface); in mesh_from_bm() 68 for (int f = 0; f < bm->totface; ++f) { in mesh_from_bm() 210 Array<BMFace *> old_bmfs(bm->totface); in apply_mesh_output_to_bmesh() 212 for (int f = 0; f < bm->totface; ++f) { in apply_mesh_output_to_bmesh()
|
/dports/graphics/blender/blender-2.91.0/source/blender/modifiers/intern/ |
H A D | MOD_explode.c | 120 totface = mesh->totface; in createFacepa() 133 for (i = 0; i < totface; i++) { in createFacepa() 176 for (i = 0, fa = mface; i < totface; i++, fa++) { in createFacepa() 661 int totface = mesh->totface; in cutEdges() local 675 for (i = 0, mf = mface; i < totface; i++, mf++) { in cutEdges() 738 for (i = 0, fs = facesplit; i < totface; i++, fs++) { in cutEdges() 788 for (i = 0, fs = facesplit; i < totface; i++, fs++) { in cutEdges() 925 int totdup = 0, totvert = 0, totface = 0, totpart = 0, delface = 0; in explodeMesh() local 930 totface = mesh->totface; in explodeMesh() 948 for (i = 0; i < totface; i++) { in explodeMesh() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/ |
H A D | subsurf_ccg.c | 283 int totface = dm->getNumPolys(dm); in ss_sync_from_uv() local 337 for (i = 0; i < totface; i++) { in ss_sync_from_uv() 371 for (i = 0; i < totface; i++) { in ss_sync_from_uv() 1065 for (i = 0; i < totface; i++) { in subsurf_copy_grid_hidden() 1108 for (i = 0; i < totface; i++) { in subsurf_copy_grid_paint_mask() 1149 int totvert, totedge, totface; in ccgDM_copyFinalVertArray() local 1220 int totedge, totface; in ccgDM_copyFinalEdgeArray() local 1289 int totface; in ccgDM_copyFinalFaceArray() local 1423 int totface; in ccgDM_copyFinalPolyArray() local 1676 int a, i, index, totface; in ccgDM_get_poly_data_layer() local [all …]
|
H A D | editmesh_tangent.c | 336 int totface = em->tottri; in BKE_editmesh_loop_tangent_calc() local 342 if (em->tottri != bm->totface) { in BKE_editmesh_loop_tangent_calc() 346 face_as_quad_map = MEM_mallocN(sizeof(int) * totface, __func__); in BKE_editmesh_loop_tangent_calc() 348 for (i = 0, j = 0; j < totface; i++, j++) { in BKE_editmesh_loop_tangent_calc() 358 num_face_as_quad_map = totface; in BKE_editmesh_loop_tangent_calc()
|
H A D | mesh.c | 179 mesh->totface = 0; in mesh_blend_write() 324 for (int i = 0; i < mesh->totface; i++, tf++) { in mesh_blend_read_data() 815 CustomData_free(&mesh->fdata, mesh->totface); in mesh_clear_geometry() 828 mesh->totface = 0; in mesh_clear_geometry() 847 CustomData_free(&mesh->fdata, mesh->totface); in mesh_tessface_clear_intern() 856 mesh->totface = 0; in mesh_tessface_clear_intern() 905 mesh->totface = tessface_len; in BKE_mesh_new_nomain() 961 me_dst->totface = tessface_len; in BKE_mesh_new_nomain_from_template_ex() 1562 mesh->totface = BKE_mesh_tessface_calc_ex( in BKE_mesh_tessface_calc() 1567 mesh->totface, in BKE_mesh_tessface_calc() [all …]
|
H A D | mesh_validate.c | 227 unsigned int totface, in BKE_mesh_validate_arrays() argument 404 for (i = 0, mf = mfaces, sf = sort_faces; i < totface; i++, mf++) { in BKE_mesh_validate_arrays() 1075 me->totface, in BKE_mesh_validate() 1128 me->totface, in BKE_mesh_is_valid() 1183 for (a = b = 0, f = me->mface; a < me->totface; a++, f++) { in BKE_mesh_strip_loose_faces() 1194 me->totface = b; in BKE_mesh_strip_loose_faces() 1367 int totface, in mesh_calc_edges_mdata() argument 1385 for (a = totface, mface = allface; a > 0; a--, mface++) { in mesh_calc_edges_mdata() 1406 for (a = totface, mface = allface; a > 0; a--, mface++) { in mesh_calc_edges_mdata() 1508 me->totface, in BKE_mesh_calc_edges_legacy() [all …]
|
H A D | editmesh_cache.c | 52 polyNos = MEM_mallocN(sizeof(*polyNos) * bm->totface, __func__); in BKE_editmesh_cache_ensure_poly_normals() 101 polyCos = MEM_mallocN(sizeof(*polyCos) * bm->totface, __func__); in BKE_editmesh_cache_ensure_poly_centers()
|
H A D | multires.c | 1586 for (i = 0; i < me->totface; i++) { in multires_load_old_250() 1679 for (i = 0; i < totface; i++) { in create_old_vert_face_map() 1854 int totvert, totedge, totface; in multires_mvert_to_ss() local 1861 totface = ccgSubSurf_getNumFaces(ss); in multires_mvert_to_ss() 1964 for (i = 0; i < lvl1->totface; i++) { in multires_load_old_dm() 1980 for (i = 0; i < lvl1->totface; i++) { in multires_load_old_dm() 2034 for (j = 0; j < lvl1->totface; j++) { in multires_load_old_dm() 2113 for (i = 0; i < me->totface; i++) { in multires_load_old_vcols() 2138 for (i = 0; i < me->totface; i++) { in multires_load_old_face_flags() 2159 me->totface = lvl->totface; in multires_load_old() [all …]
|
H A D | pbvh_bmesh.c | 1682 int totface; /* number of faces */ member 1698 if (node->totface <= pbvh->leaf_limit) { in pbvh_bmesh_node_limit_ensure_fast() 1705 for (int i = 0; i < node->totface; i++) { in pbvh_bmesh_node_limit_ensure_fast() 1721 const int end = node->start + node->totface; in pbvh_bmesh_node_limit_ensure_fast() 1773 BLI_assert((num_child1 + num_child2) == node->totface); in pbvh_bmesh_node_limit_ensure_fast() 1778 child1->totface = num_child1; in pbvh_bmesh_node_limit_ensure_fast() 1780 child2->totface = num_child2; in pbvh_bmesh_node_limit_ensure_fast() 1828 const int end = node->start + node->totface; in pbvh_bmesh_create_nodes_fast_recursive() 1935 rootnode.totface = bm->totface; in BKE_pbvh_build_bmesh() 2214 int totface = 0, totvert = 0; in pbvh_bmesh_verify() local [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/bmesh/intern/ |
H A D | bmesh_mesh.c | 85 face_size, allocsize->totface, bm_mesh_chunksize_default.totface, BLI_MEMPOOL_ALLOW_ITER); in bm_mempool_init_ex() 2133 elem_offset[3] += bm->totface; in BM_mesh_elem_index_ensure_ex() 2134 if (elem_offset[3] != bm->totface) { in BM_mesh_elem_index_ensure_ex() 2308 if (bm->ftable && bm->totface <= bm->ftable_tot && bm->totface * 2 >= bm->ftable_tot) { in BM_mesh_elem_table_ensure() 2316 bm->ftable_tot = bm->totface; in BM_mesh_elem_table_ensure() 2443 return bm->totface; in BM_mesh_elem_count() 2588 int i, totface = bm->totface; in BM_mesh_remap() local 2601 for (i = totface, fa = faces_copy + totface - 1, fap = faces_pool + totface - 1; i--; in BM_mesh_remap() 2611 new_idx = face_idx + totface - 1; in BM_mesh_remap() 2612 fa = faces_copy + totface - 1; in BM_mesh_remap() [all …]
|
H A D | bmesh_mesh.h | 112 BLI_assert((index >= 0) && (index < bm->totface)); in BM_face_at_index() 140 int totvert, totedge, totloop, totface; member 148 (CHECK_TYPE_INLINE(bm, BMesh *), (bm)->totvert), (bm)->totedge, (bm)->totloop, (bm)->totface \
|
H A D | bmesh_mesh_convert.c | 412 BM_elem_index_set(f, bm->totface - 1); /* set_ok */ in BM_mesh_bm_from_me() 605 CustomData_free(&me->fdata, me->totface); in BM_mesh_bm_to_me() 613 me->totpoly = bm->totface; in BM_mesh_bm_to_me() 616 me->totface = 0; in BM_mesh_bm_to_me() 631 MPoly *mpoly = bm->totface ? MEM_callocN(sizeof(MPoly) * bm->totface, "bm_to_me.poly") : NULL; in BM_mesh_bm_to_me() 1015 me->totface = 0; in BM_mesh_bm_to_me_for_eval() 1017 me->totpoly = bm->totface; in BM_mesh_bm_to_me_for_eval() 1021 CustomData_add_layer(&me->pdata, CD_ORIGINDEX, CD_CALLOC, NULL, bm->totface); in BM_mesh_bm_to_me_for_eval() 1026 CustomData_add_layer(&me->pdata, CD_MPOLY, CD_CALLOC, NULL, bm->totface); in BM_mesh_bm_to_me_for_eval()
|
/dports/games/spring/spring_98.0/rts/lib/assimp/code/ |
H A D | BlenderLoader.cpp | 622 if (!mesh->totface || !mesh->totvert) { in ConvertMesh() 627 if (static_cast<size_t> ( mesh->totface ) > mesh->mface.size() ){ in ConvertMesh() 637 for (int i = 0; i < mesh->totface; ++i) { in ConvertMesh() 692 for (int i = 0; i < mesh->totface; ++i) { in ConvertMesh() 780 if (mesh->totface > static_cast<int> ( mesh->mtface.size())) { in ConvertMesh() 790 for (int i = 0; i < mesh->totface; ++i) { in ConvertMesh() 806 if (mesh->totface > static_cast<int> ( mesh->tface.size())) { in ConvertMesh() 816 for (int i = 0; i < mesh->totface; ++i) { in ConvertMesh() 832 if (mesh->totface > static_cast<int> ( (mesh->mcol.size()/4)) ) { in ConvertMesh() 842 for (int i = 0; i < mesh->totface; ++i) { in ConvertMesh()
|
/dports/devel/upp/upp/bazaar/plugin/assimp/code/Blender/ |
H A D | BlenderBMesh.cpp | 133 triMesh->totface = 0; in PrepareTriMesh() 187 triMesh->totface = static_cast<int>(triMesh->mface.size( )); in AddFace()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Assimp/code/ |
H A D | BlenderBMesh.cpp | 129 triMesh->totface = 0; in PrepareTriMesh() 183 triMesh->totface = triMesh->mface.size( ); in AddFace()
|
/dports/multimedia/assimp/assimp-5.1.3/code/AssetLib/Blender/ |
H A D | BlenderBMesh.cpp | 120 triMesh->totface = 0; in PrepareTriMesh() 167 triMesh->totface = static_cast<int>(triMesh->mface.size()); in AddFace()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/external/assimp/code/ |
H A D | BlenderBMesh.cpp | 129 triMesh->totface = 0; in PrepareTriMesh() 183 triMesh->totface = triMesh->mface.size( ); in AddFace()
|
/dports/graphics/qt5-3d/kde-qt3d-5.15.2p39/src/3rdparty/assimp/code/ |
H A D | BlenderBMesh.cpp | 133 triMesh->totface = 0; in PrepareTriMesh() 187 triMesh->totface = static_cast<int>(triMesh->mface.size( )); in AddFace()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/armature/ |
H A D | meshlaplacian.c | 76 int totvert, totface; member 230 sys->totface = 0; in laplacian_system_construct_begin() 255 sys->faces[sys->totface][0] = v1; in laplacian_add_triangle() 256 sys->faces[sys->totface][1] = v2; in laplacian_add_triangle() 257 sys->faces[sys->totface][2] = v3; in laplacian_add_triangle() 258 sys->totface++; in laplacian_add_triangle() 264 int a, totvert = sys->totvert, totface = sys->totface; in laplacian_system_construct_end() local 271 for (a = 0, face = sys->faces; a < sys->totface; a++, face++) { in laplacian_system_construct_end() 278 for (a = 0, face = sys->faces; a < sys->totface; a++, face++) { in laplacian_system_construct_end() 303 for (a = 0, face = sys->faces; a < totface; a++, face++) { in laplacian_system_construct_end() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/sculpt_paint/ |
H A D | sculpt_dyntopo.c | 81 if (bm->totloop != bm->totface * 3) { in SCULPT_dynamic_topology_triangulate() 179 if (me->totpoly != ss->bm->totface) { in SCULPT_dynamic_topology_enable_ex() 211 CustomData_free(&me->fdata, me->totface); in SCULPT_dynamic_topology_disable_ex() 221 me->totface = 0; in SCULPT_dynamic_topology_disable_ex()
|