/dports/graphics/xglurbules/xglurbules-3.3/ |
H A D | psys2d.c | 40 temp=psys->cvar[vnum]->cval - psys->cvar[vnum]->delta; in psys_dec_var() 281 psys->reg_xmin=xmin; psys->reg_xmax=xmax; in psys_set_region() 282 psys->reg_ymin=ymin; psys->reg_ymax=ymax; in psys_set_region() 302 psys->use_gravity=!psys->use_gravity; in psys_toggle_gravity() 340 d->y=psys->reg_ymin + drandom() * (psys->reg_ymax - psys->reg_ymin); in psys_resetparticle() 341 d->x=psys->reg_xmin + drandom() * (psys->reg_xmax - psys->reg_xmin); in psys_resetparticle() 400 psys_resetparticle(psys, psys->p+pcount); in psys_load_fixed() 415 psys_resetparticle(psys,psys->p+i); in psys_reset_all_particles() 444 psys->frc(psys, psys->p+count1, psys->p+count2); in psys_frc_to_all() 453 psys->frc(psys, psys->p+count1, psys->p); in psys_frc_to_lead() [all …]
|
H A D | psys2d.h | 62 void psys_set_gra(Particle_Sys *psys); 63 void psys_set_ang(Particle_Sys *psys); 64 void psys_set_oth(Particle_Sys *psys); 65 void psys_set_spr(Particle_Sys *psys); 66 void psys_set_stf(Particle_Sys *psys); 67 void psys_set_rnd(Particle_Sys *psys); 81 void psys_frc_to_all(Particle_Sys *psys); 82 void psys_frc_to_lead(Particle_Sys *psys); 83 void psys_frc_to_next(Particle_Sys *psys); 84 void psys_move(Particle_Sys *psys); [all …]
|
H A D | main.c | 60 Particle *p = psys->p; in renderpsys() 61 int pcount=psys->n_particles; in renderpsys() 71 p=psys->p + pcount; in renderpsys() 218 Particle_Sys psys; in main() local 244 psys.n_particles=5000; in main() 245 psys_set_defaults(&psys); in main() 256 case 'n' : psys.n_particles=atoi(optarg); break; in main() 262 … case 'i' : psys.loadimage=(char *) malloc (strlen(optarg)); strcpy(psys.loadimage, optarg); break; in main() 286 psys_create_particles(&psys); in main() 289 handle_keyboard_io(&g, &psys, 1); in main() [all …]
|
/dports/math/gambit/gambit-16.0.1/src/tools/enumpoly/ |
H A D | pelpsys.h | 42 int init_hom(psys); 45 void psys_free(psys); 52 psys psys_fprint(FILE *,psys); 54 psys psys_copy(psys); 60 int psys_d(psys); 61 int psys_r(psys); 62 int psys_eqno(psys); 87 psys psys_lift(psys,int); 88 psys psys_lead(psys); 89 psys psys_saturate(psys); [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/ |
H A D | particle_system.c | 134 return psys->part->grid_res * psys->part->grid_res * psys->part->grid_res - psys->totunexist; in tot_particles() 156 psys->free_edit(psys->edit); in psys_reset() 204 ParticleSystem *psys = sim->psys; in realloc_particles() local 226 psys->free_edit(psys->edit); in realloc_particles() 573 ParticleSystem *psys = sim->psys; in init_particle_texture() local 612 ParticleSystem *psys = sim->psys; in initialize_all_particles() local 637 ParticleSystem *psys = sim->psys; in free_unexisting_particles() local 649 if (psys->totpart && psys->totunexist == psys->totpart) { in free_unexisting_particles() 731 ParticleSystem *psys = sim->psys; in psys_get_birth_coords() local 2122 sphdata->psys[0] = sim->psys; in psys_sph_init() [all …]
|
H A D | particle.c | 365 for (psys = ob->particlesystem.first; psys; psys = psys->next) { in psys_get_current() 382 for (psys = ob->particlesystem.first, i = 0; psys; psys = psys->next, i++) { in psys_get_current_num() 399 for (psys = ob->particlesystem.first, i = 0; psys; psys = psys->next, i++) { in psys_set_current_num() 441 for (; psys; psys = psys->next) { in psys_disable_all() 449 for (; psys; psys = psys->next) { in psys_enable_all() 810 psys->free_edit(psys->edit); in psys_free() 1917 if (psmd->psys == psys) { in psys_get_modifier() 3452 sim.psys = psys; in psys_cache_edit_paths() 3645 for (; psys; psys = psys->next) { in object_add_or_copy_particle_system() 3666 psmd->psys = psys; in object_add_or_copy_particle_system() [all …]
|
H A D | particle_distribute.c | 53 if (psys->child) { in alloc_child_particles() 55 if (psys->part->childtype && psys->totchild == tot) { in alloc_child_particles() 61 psys->child = NULL; in alloc_child_particles() 88 cpa = psys->child; in distribute_simple_children() 323 for (p = 0, pa = psys->particles; p < psys->totpart; p++, pa++) { in distribute_grid() 779 ParticleSystem *psys = task->ctx->sim.psys; in exec_distribute_parent() local 808 ParticleSystem *psys = task->ctx->sim.psys; in exec_distribute_child() local 851 ParticleSystem *psys = sim->psys; in distribute_invalid() local 887 ParticleSystem *psys = sim->psys; in psys_thread_context_init_distribute() local 902 if (ELEM(NULL, ob, psys, psys->part)) { in psys_thread_context_init_distribute() [all …]
|
H A D | object_update.c | 244 ParticleSystem *tpsys, *psys; in BKE_object_handle_data_update() local 247 while (psys) { in BKE_object_handle_data_update() 250 if (psys->part && (psys->part->draw_as == PART_DRAW_REND || use_render_params) && in BKE_object_handle_data_update() 251 ((psys->part->ren_as == PART_DRAW_OB && psys->part->instance_object) || in BKE_object_handle_data_update() 252 (psys->part->ren_as == PART_DRAW_GR && psys->part->instance_collection))) { in BKE_object_handle_data_update() 257 psys = psys->next; in BKE_object_handle_data_update() 260 tpsys = psys->next; in BKE_object_handle_data_update() 262 psys_free(ob, psys); in BKE_object_handle_data_update() 263 psys = tpsys; in BKE_object_handle_data_update() 266 psys = psys->next; in BKE_object_handle_data_update() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/physics/ |
H A D | particle_object.c | 233 if (!psys) { in new_particle_target_exec() 280 if (!psys) { in remove_particle_target_exec() 613 if (!ob || !psys || psys->flag & PSYS_GLOBAL_HAIR) { in disconnect_hair() 617 if (!psys->part || psys->part->type != PART_HAIR) { in disconnect_hair() 642 psys_free_path_cache(psys, psys->edit); in disconnect_hair() 666 for (psys = ob->particlesystem.first; psys; psys = psys->next) { in disconnect_hair_exec() 731 if (!psys->part || psys->part->type != PART_HAIR) { in remap_hair_emitter() 950 for (psys = ob->particlesystem.first; psys; psys = psys->next) { in connect_hair_exec() 1010 edit->psys = psys; in copy_particle_edit() 1139 psys_unique_name(ob_to, psys, psys->name); in copy_particle_systems_to_object() [all …]
|
H A D | particle_edit.c | 232 ParticleSystem *psys = edit->psys; in pe_update_hair_particle_edit_pointers() local 1210 psys = edit->psys; in pe_deflect_emitter() 1218 iter_data.psys = psys; in pe_deflect_emitter() 2587 sim.psys = edit->psys; in rekey_particle() 2690 psys = edit->psys; in rekey_particle_to_time() 2695 sim.psys = psys; in rekey_particle_to_time() 2929 sim.psys = edit->psys; in subdivide_particle() 4218 sim.psys = psys; in brush_add() 5077 if ((psys = edit->psys)) { in PE_minmax() 5159 edit->psys = psys; in PE_create_particle_edit() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/draw/intern/ |
H A D | draw_cache_impl_particles.c | 269 if (psys->pathcache && (!psys->childcache || (psys->part->draw & PART_DRAW_PARENT))) { in ensure_seg_pt_count() 270 count_cache_segment_keys(psys->pathcache, psys->totpart, hair_cache); in ensure_seg_pt_count() 273 const int child_count = psys->totchild * psys->part->disp / 100; in ensure_seg_pt_count() 976 const int child_count = psys->totchild * psys->part->disp / 100; 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() 1069 const int child_count = psys->totchild * psys->part->disp / 100; in particle_batch_cache_ensure_procedural_indices() 1106 const int child_count = psys->totchild * psys->part->disp / 100; in particle_batch_cache_ensure_procedural_pos() 1260 const int child_count = psys->totchild * psys->part->disp / 100; in particle_batch_cache_ensure_pos_and_seg() 1326 sim.psys = psys; in particle_batch_cache_ensure_pos() 1433 r_draw_source->psys = psys; in drw_particle_get_hair_source() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/ |
H A D | BKE_particle.h | 69 #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++) \ 79 if ((pa = psys->particles + p)->state.time > 0.0f) 90 struct ParticleSystem *psys; member 102 ParticleSystem *psys[10]; member 289 int count_particles(struct ParticleSystem *psys); 296 struct ParticleSystem *psys, 511 void free_keyed_keys(struct ParticleSystem *psys); [all …]
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/distrib/ |
H A D | make-pslcomp | 73 pushd $psys 74 if ( -e $psys/.imago) then 75 mv -f $psys/pslcomp.img $psys/old-pslcomp.img 77 mv -f $psys/pslcomp $psys/old-pslcomp 82 $psys/bare-psl << EOF 92 cat > $psys/pslcomp << EOFF 98 chmod +x $psys/pslcomp 102 if ( -x $psys/sparsify ) then 103 if ( -e $psys/.imago) then 104 $psys/sparsify $psys/pslcomp.img [all …]
|
H A D | unpack.csh | 11 cc -o $psys/sparsify $pdist/sparsify.c 28 $psys/sparsify $pxk/bpsl 37 if ( -e $psys/pslcomp$ending.Z ) then 38 uncompress < $psys/pslcomp$ending.Z > $psys/pslcomp$ending 39 chmod 755 $psys/pslcomp$ending 40 $psys/sparsify $psys/pslcomp$ending 41 rm $psys/pslcomp$ending.Z 46 if ( -e $psys/asm.Z ) then 47 uncompress < $psys/asm.Z > $psys/asm 48 chmod 755 $psys/asm [all …]
|
H A D | make-bare-psl | 83 if ( -e $psys/.imago) then 84 mv -f $psys/bare-psl.img $psys/old-bare-psl.img 86 mv -f $psys/bare-psl $psys/old-bare-psl 101 cat > $psys/bare-psl << EOFFF 103 \$pxk/bpsl -td $imagesize -f \$psys/bare-psl.img \$* 107 chmod +x $psys/bare-psl 109 cat > $psys/tmp.sed << EOFF 118 if ( -x $psys/sparsify ) then 119 if ( -e $psys/.imago) then 120 $psys/sparsify $psys/bare-psl.img [all …]
|
H A D | make-psl | 67 pushd $psys 68 if ( -e $psys/.imago) then 69 mv -f $psys/psl.img $psys/old-psl.img 71 mv -f $psys/psl $psys/old-psl 77 $psys/bare-psl << EOF
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/distrib/ibmrs/ |
H A D | make-psl_pvm | 23 pushd $psys 24 if ( -e $psys/.imago) then 25 mv -f $psys/psl_pvm.img $psys/old-psl_pvm.img 27 mv -f $psys/psl_pvm $psys/old-psl_pvm 33 $psys/bare-psl_pvm << EOF 47 if ( -e $psys/.imago) then 48 $psys/sparsify $psys/psl_pvm.img 50 $psys/sparsify $psys/psl_pvm
|
H A D | make-pslcomp_pvm | 23 pushd $psys 24 if ( -e $psys/.imago) then 25 mv -f $psys/pslcomp_pvm.img $psys/old-pslcomp_pvm.img 27 mv -f $psys/pslcomp_pvm $psys/old-pslcomp_pvm 32 $psys/bare-psl << EOF 44 if ( -e $psys/.imago) then 45 $psys/sparsify $psys/pslcomp_pvm.img 47 $psys/sparsify $psys/pslcomp_pvm
|
/dports/graphics/blender/blender-2.91.0/release/scripts/startup/bl_ui/ |
H A D | properties_particle.py | 36 if psys is None: 50 if psys: 129 psys = item 226 if psys is not None and psys.is_edited: 234 if psys is not None and psys.is_edited: 274 …layout.enabled = particle_panel_enabled(context, psys) and (psys is None or not psys.has_multiple_… 612 if psys: 625 if psys: 657 if psys: 719 sub.active = not psys or not psys.use_keyed_timing [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/modifiers/intern/ |
H A D | MOD_particleinstance.c | 84 ParticleSystem *psys; in isDisabled() local 96 psys = BLI_findlink(&pimd->ob->particlesystem, pimd->psys - 1); in isDisabled() 97 if (psys == NULL) { in isDisabled() 107 if (psmd->psys == psys) { in isDisabled() 154 ChildParticle *cpa = psys->child + (p - psys->totpart); in particle_skip() 183 totpart = psys->totpart + psys->totchild; in particle_skip() 240 psys = BLI_findlink(&pimd->ob->particlesystem, pimd->psys - 1); in modifyMesh() 241 if (psys == NULL || psys->totpart == 0) { in modifyMesh() 266 sim.psys = psys; in modifyMesh() 275 for (p = 0, pa = psys->particles; p < psys->totpart; p++, pa++, si++) { in modifyMesh() [all …]
|
H A D | MOD_particlesystem.c | 80 if (psmd->psys) { in freeData() 81 psmd->psys->flag |= PSYS_DELETE; in freeData() 117 ParticleSystem *psys = NULL; in deformVerts() local 121 psys = psmd->psys; in deformVerts() 151 if (psys->particles == NULL) { in deformVerts() 152 psys->recalc |= ID_RECALC_PSYS_RESET; in deformVerts() 164 psys->recalc |= ID_RECALC_PSYS_RESET; in deformVerts() 218 psys->recalc |= ID_RECALC_PSYS_RESET; in deformVerts() 274 ParticleSystem *psys = ((ParticleSystemModifierData *)md)->psys; in panel_draw() local 285 else if (psys->part->ren_as == PART_DRAW_PATH) { in panel_draw() [all …]
|
/dports/games/wizznic/Wizznic-1.1/src/ |
H A D | transition.c | 48 struct psysSet_s psys; in startTransition() local 64 psys.bounce=0; in startTransition() 65 psys.fade=0; in startTransition() 66 psys.gravity=0; in startTransition() 68 psys.life=time; in startTransition() 69 psys.lifeVar=time; in startTransition() 70 psys.srcImg=scr; in startTransition() 71 psys.x=(HSCREENW-160); in startTransition() 75 psys.srcRect.w=320; in startTransition() 76 psys.srcRect.h=240; in startTransition() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/render/intern/source/ |
H A D | pointdensity.c | 189 sim.psys = psys; in pointdensity_cache_psys() 195 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() 242 ChildParticle *cpa = (psys->child + i) - psys->totpart; in pointdensity_cache_psys() 471 psys = BLI_findlink(&ob->particlesystem, pd->psys - 1); in cache_pointdensity() 472 if (!psys) { in cache_pointdensity() 804 sim.psys = psys; in particle_system_minmax() 808 total_particles = psys->totpart + psys->totchild; in particle_system_minmax() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/transform/ |
H A D | transform_convert_particle.c | 57 ParticleSystem *psys = NULL; in createTransParticleVerts() local 69 psys = edit->psys; in createTransParticleVerts() 123 if (psys && !(psys->flag & PSYS_GLOBAL_HAIR)) { in createTransParticleVerts() 126 ob, psmd_eval->mesh_final, psys->part->from, psys->particles + i, mat); in createTransParticleVerts() 153 if (k == 0 && pset->flag & PE_LOCK_FIRST && (!psys || !(psys->flag & PSYS_GLOBAL_HAIR))) { in createTransParticleVerts() 206 ParticleSystem *psys = edit->psys; in flushTransParticles() local 222 if (psys && !(psys->flag & PSYS_GLOBAL_HAIR)) { in flushTransParticles() 225 ob, psmd_eval->mesh_final, psys->part->from, psys->particles + i, mat); in flushTransParticles() 245 BKE_particle_batch_cache_dirty_tag(psys, BKE_PARTICLE_BATCH_DIRTY_ALL); in flushTransParticles()
|
/dports/graphics/blender/blender-2.91.0/source/blender/io/alembic/exporter/ |
H A D | abc_writer_points.cc | 96 ParticleSystem *psys = context.particle_system; in do_write() local 102 sim.psys = psys; in do_write() 104 psys->lattice_deform_data = psys_create_lattice_deform_data(&sim); in do_write() 107 for (int p = 0; p < psys->totpart; p++) { in do_write() 110 if (psys->particles[p].flag & (PARS_NO_DISP | PARS_UNEXIST)) { in do_write() 123 sub_v3_v3v3(vel, state.co, psys->particles[p].prev_state.co); in do_write() 128 widths.push_back(psys->particles[p].size); in do_write() 132 if (psys->lattice_deform_data) { in do_write() 133 BKE_lattice_deform_data_destroy(psys->lattice_deform_data); in do_write() 134 psys->lattice_deform_data = NULL; in do_write()
|