Home
last modified time | relevance | path

Searched refs:totpoly (Results 1 – 25 of 145) sorted by path

123456

/dports/devel/upp/upp/bazaar/plugin/assimp/code/Blender/
H A DBlenderBMesh.cpp83 return BMesh->totpoly && BMesh->totloop && BMesh->totvert; in ContainsBMesh()
93 for ( int i = 0; i < BMesh->totpoly; ++i ) in TriangulateBMesh()
114 if ( BMesh->totpoly != static_cast<int>( BMesh->mpoly.size( ) ) ) in AssertValidSizes()
H A DBlenderLoader.cpp836 for (int i = 0; i < mesh->totpoly; ++i) { in ConvertMesh()
977 for (int i = 0; i < mesh->totpoly; ++i) { in ConvertMesh()
1087 for (int i = 0; i < mesh->totpoly; ++i) { in ConvertMesh()
1178 for (int i = 0; i < mesh->totpoly; ++i) { in ConvertMesh()
H A DBlenderScene.cpp469 ReadField<ErrorPolicy_Igno>(dest.totpoly,"totpoly",db); in Convert()
H A DBlenderScene.h452 int totpoly; member
/dports/games/doomsday/doomsday-2.3.1/doomsday/external/assimp/code/
H A DBlenderBMesh.cpp79 return BMesh->totpoly && BMesh->totloop && BMesh->totvert; in ContainsBMesh()
89 for ( int i = 0; i < BMesh->totpoly; ++i ) in TriangulateBMesh()
110 if ( BMesh->totpoly != static_cast<int>( BMesh->mpoly.size( ) ) ) in AssertValidSizes()
H A DBlenderLoader.cpp831 for (int i = 0; i < mesh->totpoly; ++i) { in ConvertMesh()
972 for (int i = 0; i < mesh->totpoly; ++i) { in ConvertMesh()
1045 for (int i = 0; i < mesh->totpoly; ++i) { in ConvertMesh()
1115 for (int i = 0; i < mesh->totpoly; ++i) { in ConvertMesh()
H A DBlenderScene.cpp453 ReadField<ErrorPolicy_Igno>(dest.totpoly,"totpoly",db); in Convert()
H A DBlenderScene.h366 int totpoly; member
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/
H A DBKE_mesh.h542 int totpoly,
548 int totpoly,
579 int totpoly);
599 const int totpoly);
606 const int totpoly);
614 const int totpoly);
622 const int totpoly);
627 const int totpoly,
653 unsigned int totpoly,
666 const uint totpoly,
H A DBKE_mesh_mapping.h100 unsigned int totpoly,
113 int totpoly,
120 int totpoly,
139 const int totpoly,
147 const int totpoly,
209 const int totpoly,
222 const int totpoly,
232 const int totpoly,
241 const int totpoly,
H A DBKE_paint.h456 int totvert, totpoly; member
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/
H A DDerivedMesh.c481 const unsigned int totpoly = dm->numPolyData; in DM_ensure_looptri_data() local
483 const int looptris_num = poly_to_tri_count(totpoly, totloop); in DM_ensure_looptri_data()
490 (totpoly == 0)) { in DM_ensure_looptri_data()
496 if (totpoly) { in DM_ensure_looptri_data()
801 &mesh_final->pdata, CD_NORMAL, CD_CALLOC, NULL, mesh_final->totpoly); in mesh_calc_modifier_final_normals()
808 mesh_final->totpoly, in mesh_calc_modifier_final_normals()
1144 &mesh_final->pdata, CD_ORIGINDEX, CD_CALLOC, NULL, mesh_final->totpoly); in mesh_calc_modifiers()
1153 CustomData_get_layer(&mesh_final->pdata, CD_ORIGINDEX), mesh_final->totpoly, 0); in mesh_calc_modifiers()
1418 &mesh_final->pdata, CD_NORMAL, CD_CALLOC, NULL, mesh_final->totpoly); in editbmesh_calc_modifier_final_normals()
1425 mesh_final->totpoly, in editbmesh_calc_modifier_final_normals()
[all …]
H A Dattribute.c73 info[ATTR_DOMAIN_POLYGON].length = mesh->totpoly; in get_domains()
H A Dbvhutils.c1504 BLI_assert(!(num_faces == 0 && mesh->totpoly != 0)); in BKE_bvhtree_from_mesh_get()
H A Dcdderivedmesh.c175 &cddm->pmap, &cddm->pmap_mem, me->mpoly, me->mloop, me->totvert, me->totpoly, me->totloop); in cdDM_getPolyMap()
184 const unsigned int totpoly = dm->numPolyData; in cdDM_recalc_looptri() local
188 BLI_assert(totpoly == 0 || cddm->dm.looptris.array_wip != NULL); in cdDM_recalc_looptri()
191 cddm->mloop, cddm->mpoly, cddm->mvert, totloop, totpoly, cddm->dm.looptris.array_wip); in cdDM_recalc_looptri()
281 mesh->totpoly); in cdDM_from_mesh_ex()
303 CustomData_merge(&mesh->pdata, &dm->polyData, cddata_masks.pmask, alloctype, mesh->totpoly); in cdDM_from_mesh_ex()
H A Dcloth.c1469 unsigned int numpolys = (unsigned int)mesh->totpoly; in cloth_build_springs()
H A Dcrazyspace.c207 for (int i = 0; i < me->totpoly; i++, mp++) { in BKE_crazyspace_set_quats_mesh()
H A Ddata_transfer.c277 const int num_polys_dst = me_dst->totpoly; in data_transfer_dtdata_type_preprocess()
358 const int num_polys_dst = me_dst->totpoly; in data_transfer_dtdata_type_postprocess()
1220 me_src->totpoly, in data_transfer_layersmapping_generate()
1221 me_dst->totpoly, in data_transfer_layersmapping_generate()
1352 const int num_elem_dst = me_dst->totpoly; in BKE_object_data_transfer_layout()
1519 if ((map_vert_mode & MREMAP_USE_POLY) && (me_src->totpoly == 0)) { in BKE_object_data_transfer_ex()
1595 if ((map_edge_mode & MREMAP_USE_POLY) && (me_src->totpoly == 0)) { in BKE_object_data_transfer_ex()
1663 const int num_polys_dst = me_dst->totpoly; in BKE_object_data_transfer_ex()
1757 const int num_polys_dst = me_dst->totpoly; in BKE_object_data_transfer_ex()
1763 const int num_polys_src = me_src->totpoly; in BKE_object_data_transfer_ex()
H A Ddynamicpaint.c1433 int numOfPolys = mesh->totpoly; in dynamicPaint_initAdjacencyData()
1955 const int totpoly = result->totpoly; in dynamicPaint_Modifier_apply() local
2003 settings.use_threading = (totpoly > 1000); in dynamicPaint_Modifier_apply()
2005 0, totpoly, &data, dynamic_paint_apply_surface_vpaint_cb, &settings); in dynamicPaint_Modifier_apply()
H A Dgpencil_geom.c2334 int mpoly_len = me_eval->totpoly; in BKE_gpencil_convert_mesh()
H A Dkey.c2262 r_polynors = MEM_mallocN(sizeof(float[3]) * me.totpoly, __func__); in BKE_keyblock_mesh_calc_normals()
2271 me.totpoly, in BKE_keyblock_mesh_calc_normals()
2287 me.totpoly, in BKE_keyblock_mesh_calc_normals()
2297 CustomData_free(&me.pdata, me.totpoly); in BKE_keyblock_mesh_calc_normals()
H A Dmesh.c518 int ptot = m1->totpoly; in customdata_compare()
624 if (me1->totpoly != me2->totpoly) { in BKE_mesh_cmp()
830 mesh->totpoly = 0; in mesh_clear_geometry()
907 mesh->totpoly = polys_len; in BKE_mesh_new_nomain()
963 me_dst->totpoly = polys_len; in BKE_mesh_new_nomain_from_template_ex()
1402 for (i = 0; i < me->totpoly; i++) { in BKE_mesh_material_remap()
1413 for (int i = 0; i < me->totpoly; i++) { in BKE_mesh_smooth_flag_set()
1418 for (int i = 0; i < me->totpoly; i++) { in BKE_mesh_smooth_flag_set()
1569 mesh->totpoly, in BKE_mesh_tessface_calc()
1990 const int num_polys = mesh->totpoly; in split_faces_prepare_new_edges()
[all …]
H A Dmesh_convert.c297 totpoly += tot; in BKE_mesh_nurbs_displist_to_mdata()
305 totpoly += tot; in BKE_mesh_nurbs_displist_to_mdata()
514 if (totpoly) { in BKE_mesh_nurbs_displist_to_mdata()
627 me->totpoly = totpoly; in BKE_mesh_from_nurbs_displist()
785 int totpoly = 0; in BKE_mesh_to_curve_nurblist() local
792 totpoly++; in BKE_mesh_to_curve_nurblist()
794 totpoly++; in BKE_mesh_to_curve_nurblist()
809 totpoly++; in BKE_mesh_to_curve_nurblist()
817 totpoly++; in BKE_mesh_to_curve_nurblist()
846 totpoly--; in BKE_mesh_to_curve_nurblist()
[all …]
H A Dmesh_evaluate.c2330 int i = me->totpoly; in BKE_mesh_calc_area()
2563 int i = me->totpoly; in BKE_mesh_center_median_from_polys()
2577 if (me->totpoly) { in BKE_mesh_center_median_from_polys()
2597 int i = me->totpoly; in BKE_mesh_center_of_surface()
2614 if (me->totpoly) { in BKE_mesh_center_of_surface()
2632 int i = me->totpoly; in BKE_mesh_center_of_volume()
3607 totpoly = totface_i; in BKE_mesh_convert_mfaces_to_mpolys_ex()
3861 int i = totpoly; in BKE_mesh_flush_hidden_from_polys_ex()
3873 i = totpoly; in BKE_mesh_flush_hidden_from_polys_ex()
3916 i = totpoly; in BKE_mesh_flush_select_from_polys_ex()
[all …]
H A Dmesh_iterators.c205 for (p_idx = 0; p_idx < mesh->totpoly; p_idx++, mp++) { in BKE_mesh_foreach_mapped_loop()
218 for (p_idx = 0; p_idx < mesh->totpoly; p_idx++, mp++) { in BKE_mesh_foreach_mapped_loop()
279 for (int i = 0; i < mesh->totpoly; i++, mp++) { in BKE_mesh_foreach_mapped_face_center()
294 for (int i = 0; i < mesh->totpoly; i++, mp++) { in BKE_mesh_foreach_mapped_face_center()
322 for (int i = 0; i < mesh->totpoly; i++, mp++) { in BKE_mesh_foreach_mapped_subdiv_face_center()
340 for (int i = 0; i < mesh->totpoly; i++, mp++) { in BKE_mesh_foreach_mapped_subdiv_face_center()

123456