Home
last modified time | relevance | path

Searched refs:totpart (Results 1 – 25 of 48) sorted by relevance

12

/dports/graphics/blender/blender-2.91.0/source/blender/modifiers/intern/
H A DMOD_particleinstance.c151 int totpart, randp, minp, maxp; in particle_skip() local
153 if (p >= psys->totpart) { in particle_skip()
154 ChildParticle *cpa = psys->child + (p - psys->totpart); in particle_skip()
183 totpart = psys->totpart + psys->totchild; in particle_skip()
186 randp = (int)(psys_frand(psys, 3578 + p) * totpart) % totpart; in particle_skip()
188 minp = (int)(totpart * pimd->particle_offset) % (totpart + 1); in particle_skip()
189 maxp = (int)(totpart * (pimd->particle_offset + pimd->particle_amount)) % (totpart + 1); in particle_skip()
241 if (psys == NULL || psys->totpart == 0) { in modifyMesh()
249 part_start = use_parents ? 0 : psys->totpart; in modifyMesh()
253 part_end += psys->totpart; in modifyMesh()
[all …]
H A DMOD_explode.c121 totpart = psmd->psys->totpart; in createFacepa()
134 facepa[i] = totpart; in createFacepa()
137 vertpa[i] = totpart; in createFacepa()
158 tree = BLI_kdtree_3d_new(totpart); in createFacepa()
933 totpart = psmd->psys->totpart; in explodeMesh()
949 if (facepa[i] != totpart) { in explodeMesh()
966 mindex = totvert + totpart; in explodeMesh()
1019 if (ed_v2 != totpart) { in explodeMesh()
1056 if (facepa[i] != totpart) { in explodeMesh()
1080 mindex = totvert + totpart; in explodeMesh()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/
H A Dparticle_distribute.c86 alloc_child_particles(psys, totpart); in distribute_simple_children()
90 for (p = 0; p < psys->totpart; p++, cpa++) { in distribute_simple_children()
907 totpart = psys->totpart; in psys_thread_context_init_distribute()
908 if (totpart == 0) { in psys_thread_context_init_distribute()
970 tree = BLI_kdtree_3d_new(totpart); in psys_thread_context_init_distribute()
1196 for (p = 0; p < totpart; p++) { in psys_thread_context_init_distribute()
1210 step = (totpart < 2) ? 0.5 : 1.0 / (double)totpart; in psys_thread_context_init_distribute()
1262 jitlevel = totpart / totelem; in psys_thread_context_init_distribute()
1303 alloc_child_particles(psys, totpart); in psys_thread_context_init_distribute()
1325 int i, totpart, numtasks; in distribute_particles_on_dm() local
[all …]
H A Dparticle_system.c214 totpart *= totpart * totpart; in realloc_particles()
217 totpart = part->totpart; in realloc_particles()
224 if (totpart != psys->totpart) { in realloc_particles()
251 totsaved = MIN2(psys->totpart, totpart); in realloc_particles()
287 psys->totpart = totpart; in realloc_particles()
649 if (psys->totpart && psys->totunexist == psys->totpart) { in free_unexisting_particles()
1155 int p, totpart = sim->psys->totpart; in reset_all_particles() local
1219 int totpart = psys->totpart, k, totkeys = psys->totkeyed; in set_keyed_keys() local
4426 totpart = psys->totpart = part->totpart = activeParts; in particles_fluid_step()
4819 if (psys->totpart == 0 && part->totpart == 0) { in particle_system_update()
[all …]
H A Dobject_dupli.c1134 int totpart, totchild; in make_duplis_particle_system() local
1159 totpart = psys->totpart; in make_duplis_particle_system()
1206 totpart = psys->totcached; in make_duplis_particle_system()
1277 a = totpart; in make_duplis_particle_system()
1280 for (pa = psys->particles; a < totpart + totchild; a++, pa++) { in make_duplis_particle_system()
1281 if (a < totpart) { in make_duplis_particle_system()
1294 cpa = &psys->child[a - totpart]; in make_duplis_particle_system()
1304 ((a < totpart && psys->pathcache[a]->segments < 0) || in make_duplis_particle_system()
1305 (a >= totpart && psys->childcache[a - totpart]->segments < 0))) { in make_duplis_particle_system()
1328 if (a < totpart) { in make_duplis_particle_system()
[all …]
H A Dparticle.c751 psys->totpart = 0; in psys_free_particles()
778 psys->pdd->totpart = 0; in psys_free_pdd()
872 psys_dst->totpart = psys_src->totpart; in psys_copy_particles()
3012 int totpart = psys->totpart; in psys_cache_paths() local
3202 psys->totcached = totpart; in psys_cache_paths()
3445 edit->totcached = totpart; in psys_cache_edit_paths()
3669 psys->totpart = 0; in object_add_or_copy_particle_system()
4301 int totpart = psys->totpart; in psys_get_particle_on_path() local
4318 if (p < totpart) { in psys_get_particle_on_path()
4558 int totpart = psys->totpart; in psys_get_particle_state() local
[all …]
H A Deffect.c782 *tot = eff->psys->totpart; in get_effector_tot()
796 *p = point->index % eff->psys->totpart; in get_effector_tot()
801 int totpart = eff->psys->totpart; in get_effector_tot() local
804 *step = (totpart > amount) ? totpart / amount : 1; in get_effector_tot()
/dports/graphics/blender/blender-2.91.0/source/blender/io/usd/intern/
H A Dusd_writer_hair.cc53 curve_point_counts.reserve(psys->totpart); in do_write()
56 for (int strand_index = 0; strand_index < psys->totpart; ++strand_index) { in do_write()
76 if (psys->totpart > 0) { in do_write()
/dports/graphics/blender/blender-2.91.0/source/blender/draw/intern/
H A Ddraw_cache_impl_particles.c270 count_cache_segment_keys(psys->pathcache, psys->totpart, hair_cache); in ensure_seg_pt_count()
963 psys->totpart, in particle_batch_cache_ensure_procedural_strand_data()
998 for (int i = 0; i < psys->totpart; i++) { in particle_batch_cache_ensure_procedural_strand_data()
1004 for (int i = 0; i < psys->totpart; i++) { in particle_batch_cache_ensure_procedural_strand_data()
1066 psys->pathcache, 0, psys->totpart, verts_per_hair, &elb); in particle_batch_cache_ensure_procedural_indices()
1246 psys->totpart, in particle_batch_cache_ensure_pos_and_seg()
1265 psys->totpart, in particle_batch_cache_ensure_pos_and_seg()
1284 for (int i = 0; i < psys->totpart; i++) { in particle_batch_cache_ensure_pos_and_seg()
1290 for (int i = 0; i < psys->totpart; i++) { in particle_batch_cache_ensure_pos_and_seg()
1340 GPU_vertbuf_data_alloc(point_cache->pos, psys->totpart); in particle_batch_cache_ensure_pos()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/
H A DBKE_particle.h69 #define LOOP_PARTICLES for (p = 0, pa = psys->particles; p < psys->totpart; p++, pa++)
71 for (p = 0, pa = psys->particles; p < psys->totpart; p++, pa++) \
74 for (p = 0, pa = psys->particles; p < psys->totpart; p++, pa++) \
78 for (p = 0; p < psys->totpart; p++) \
252 int totpart, partsize; member
/dports/graphics/blender/blender-2.91.0/source/blender/render/intern/source/
H A Dpointdensity.c195 total_particles = psys->totpart + psys->totchild; in pointdensity_cache_psys()
213 if (i < psys->totpart && psys->pathcache) { in pointdensity_cache_psys()
216 else if (i >= psys->totpart && psys->childcache) { in pointdensity_cache_psys()
217 cache = psys->childcache[i - psys->totpart]; in pointdensity_cache_psys()
238 if (i < psys->totpart) { in pointdensity_cache_psys()
242 ChildParticle *cpa = (psys->child + i) - psys->totpart; in pointdensity_cache_psys()
808 total_particles = psys->totpart + psys->totchild; in particle_system_minmax()
H A Dinitrender.c272 re->i.totpart = 0; in RE_parts_init()
331 re->i.totpart++; in RE_parts_init()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/physics/
H A Dparticle_edit.c921 int index, totpart; in PE_update_mirror_cache() local
925 totpart = psys->totpart; in PE_update_mirror_cache()
931 tree = BLI_kdtree_3d_new(totpart); in PE_update_mirror_cache()
3331 int rotation, totpart, newtotpart; in PE_mirror_x() local
3357 totpart = psys->totpart; in PE_mirror_x()
3358 newtotpart = psys->totpart; in PE_mirror_x()
3378 if (newtotpart != psys->totpart) { in PE_mirror_x()
4199 int i, k, n = 0, totpart = psys->totpart; in brush_add() local
4275 int newtotpart = totpart + n; in brush_add()
4330 pa = psys->particles + totpart; in brush_add()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/makesdna/
H A DDNA_particle_defaults.h43 .totpart = 1000, \
H A DDNA_effect_types.h97 int totpart, totkey, seed; member
H A DDNA_particle_types.h218 int totpart, userjit, grid_res, effector_amount; member
354 int flag, totpart, totunexist, totchild, totcached, totchildcache; member
/dports/graphics/blender/blender-2.91.0/source/blender/io/alembic/exporter/
H A Dabc_writer_points.cc107 for (int p = 0; p < psys->totpart; p++) { in do_write()
/dports/science/berkeleygw/BGW-2.0.0/Common/qhull/
H A Dpoly2.c1191 int numpart, totpart= 0; in qh_findbestfacet() local
1195 bestdist, isoutside, &totpart); in qh_findbestfacet()
1198 totpart += numpart; in qh_findbestfacet()
1203 bestdist, isoutside, &totpart); in qh_findbestfacet()
1204 totpart += numpart; in qh_findbestfacet()
1208 bestfacet->id, *bestdist, *isoutside, totpart)); in qh_findbestfacet()
1298 int totpart= 0; in qh_findfacet_all() local
1305 totpart++; in qh_findfacet_all()
1316 *numpart= totpart; in qh_findfacet_all()
1318 getid_(bestfacet), *bestdist, *isoutside, totpart)); in qh_findfacet_all()
/dports/science/afni/afni-AFNI_21.3.16/src/qhulldir/
H A Dpoly2.c1191 int numpart, totpart= 0; in qh_findbestfacet() local
1195 bestdist, isoutside, &totpart); in qh_findbestfacet()
1198 totpart += numpart; in qh_findbestfacet()
1203 bestdist, isoutside, &totpart); in qh_findbestfacet()
1204 totpart += numpart; in qh_findbestfacet()
1208 bestfacet->id, *bestdist, *isoutside, totpart)); in qh_findbestfacet()
1298 int totpart= 0; in qh_findfacet_all() local
1305 totpart++; in qh_findfacet_all()
1316 *numpart= totpart; in qh_findfacet_all()
1318 getid_(bestfacet), *bestdist, *isoutside, totpart)); in qh_findfacet_all()
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/external/qhull-2003.1/src/
H A Dpoly2.c1192 int numpart, totpart= 0; in qh_findbestfacet() local
1196 bestdist, isoutside, &totpart); in qh_findbestfacet()
1199 totpart += numpart; in qh_findbestfacet()
1204 bestdist, isoutside, &totpart); in qh_findbestfacet()
1205 totpart += numpart; in qh_findbestfacet()
1209 bestfacet->id, *bestdist, *isoutside, totpart)); in qh_findbestfacet()
1296 int totpart= 0; in qh_findfacet_all() local
1303 totpart++; in qh_findfacet_all()
1314 *numpart= totpart; in qh_findfacet_all()
1316 getid_(bestfacet), *bestdist, *isoutside, totpart)); in qh_findfacet_all()
/dports/math/libmesh/libmesh-1.6.2/contrib/qhull/2012.1/src/libqhull/
H A Dpoly2.c1191 int numpart, totpart= 0; in qh_findbestfacet() local
1195 bestdist, isoutside, &totpart); in qh_findbestfacet()
1198 totpart += numpart; in qh_findbestfacet()
1203 bestdist, isoutside, &totpart); in qh_findbestfacet()
1204 totpart += numpart; in qh_findbestfacet()
1208 bestfacet->id, *bestdist, *isoutside, totpart)); in qh_findbestfacet()
1298 int totpart= 0; in qh_findfacet_all() local
1305 totpart++; in qh_findfacet_all()
1316 *numpart= totpart; in qh_findfacet_all()
1318 getid_(bestfacet), *bestdist, *isoutside, totpart)); in qh_findfacet_all()
/dports/math/py-matplotlib2/matplotlib-2.2.4/extern/libqhull/
H A Dpoly2.c1242 int numpart, totpart= 0; in qh_findbestfacet() local
1246 bestdist, isoutside, &totpart); in qh_findbestfacet()
1249 totpart += numpart; in qh_findbestfacet()
1254 bestdist, isoutside, &totpart); in qh_findbestfacet()
1255 totpart += numpart; in qh_findbestfacet()
1259 bestfacet->id, *bestdist, (isoutside ? *isoutside : UINT_MAX), totpart)); in qh_findbestfacet()
1352 int totpart= 0; in qh_findfacet_all() local
1359 totpart++; in qh_findfacet_all()
1370 *numpart= totpart; in qh_findfacet_all()
1372 getid_(bestfacet), *bestdist, *isoutside, totpart)); in qh_findfacet_all()
/dports/graphics/py-gdal/gdal-3.3.3/alg/internal_libqhull/
H A Dpoly2.c1191 int numpart, totpart= 0; in qh_findbestfacet() local
1195 bestdist, isoutside, &totpart); in qh_findbestfacet()
1198 totpart += numpart; in qh_findbestfacet()
1204 bestdist, isoutside, &totpart); in qh_findbestfacet()
1205 totpart += numpart; in qh_findbestfacet()
1209 bestfacet->id, *bestdist, *isoutside, totpart)); in qh_findbestfacet()
1299 int totpart= 0; in qh_findfacet_all() local
1306 totpart++; in qh_findfacet_all()
1317 *numpart= totpart; in qh_findfacet_all()
1319 getid_(bestfacet), *bestdist, *isoutside, totpart)); in qh_findfacet_all()
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/qhull/src/libqhull/
H A Dpoly2.c1242 int numpart, totpart= 0; in qh_findbestfacet() local
1246 bestdist, isoutside, &totpart); in qh_findbestfacet()
1249 totpart += numpart; in qh_findbestfacet()
1254 bestdist, isoutside, &totpart); in qh_findbestfacet()
1255 totpart += numpart; in qh_findbestfacet()
1259 bestfacet->id, *bestdist, (isoutside ? *isoutside : UINT_MAX), totpart)); in qh_findbestfacet()
1352 int totpart= 0; in qh_findfacet_all() local
1359 totpart++; in qh_findfacet_all()
1370 *numpart= totpart; in qh_findfacet_all()
1372 getid_(bestfacet), *bestdist, *isoutside, totpart)); in qh_findfacet_all()
/dports/math/py-pyhull/pyhull-2015.2.1/src/libqhull/
H A Dpoly2.c1242 int numpart, totpart= 0; in qh_findbestfacet() local
1246 bestdist, isoutside, &totpart); in qh_findbestfacet()
1249 totpart += numpart; in qh_findbestfacet()
1254 bestdist, isoutside, &totpart); in qh_findbestfacet()
1255 totpart += numpart; in qh_findbestfacet()
1259 bestfacet->id, *bestdist, (isoutside ? *isoutside : UINT_MAX), totpart)); in qh_findbestfacet()
1352 int totpart= 0; in qh_findfacet_all() local
1359 totpart++; in qh_findfacet_all()
1370 *numpart= totpart; in qh_findfacet_all()
1372 getid_(bestfacet), *bestdist, *isoutside, totpart)); in qh_findfacet_all()

12