Blender V5.3
particle_child.cc File Reference

Go to the source code of this file.

Classes

struct  blender::ParticlePathIterator

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static void blender::psys_path_iter_get (ParticlePathIterator *iter, ParticleCacheKey *keys, int totkeys, ParticleCacheKey *parent, int index)
static void blender::do_kink_spiral_deform (ParticleKey *state, const float dir[3], const float kink[3], float time, float freq, float shape, float amplitude, const float spiral_start[3])
static void blender::do_kink_spiral (ParticleThreadContext *ctx, ParticleTexture *ptex, const float parent_orco[3], ChildParticle *cpa, const float orco[3], float hairmat[4][4], ParticleCacheKey *keys, ParticleCacheKey *parent_keys, int *r_totkeys, float *r_max_length)
static bool blender::check_path_length (int k, ParticleCacheKey *keys, ParticleCacheKey *key, float max_length, float step_length, float *cur_length, float dvec[3])
void blender::psys_apply_child_modifiers (struct ParticleThreadContext *ctx, ListBaseT< ModifierData > *modifiers, struct ChildParticle *cpa, struct ParticleTexture *ptex, const float orco[3], float hairmat[4][4], struct ParticleCacheKey *keys, struct ParticleCacheKey *parent_keys, const float parent_orco[3])
void blender::do_kink (ParticleKey *state, const float par_co[3], const float par_vel[3], const float par_rot[4], float time, float freq, float shape, float amplitude, float flat, short type, short axis, const float obmat[4][4], int smooth_start)
static float blender::do_clump_level (float result[3], const float co[3], const float par_co[3], float time, float clumpfac, float clumppow, float pa_clump, const CurveMapping *clumpcurve)
float blender::do_clump (ParticleKey *state, const float par_co[3], float time, const float orco_offset[3], float clumpfac, float clumppow, float pa_clump, bool use_clump_noise, float clump_noise_size, const CurveMapping *clumpcurve)
static void blender::do_rough (const float loc[3], const float mat[4][4], float t, float fac, float size, float thres, ParticleKey *state)
static void blender::do_rough_end (const float loc[3], const float mat[4][4], float t, float fac, float shape, ParticleKey *state)
static void blender::do_rough_curve (const float loc[3], const float mat[4][4], float time, float fac, float size, CurveMapping *roughcurve, ParticleKey *state)
static int blender::twist_num_segments (const ParticleChildModifierContext *modifier_ctx)
static void blender::twist_get_axis (const ParticleChildModifierContext *modifier_ctx, const float time, float r_axis[3])
static float blender::BKE_curvemapping_integrate_clamped (const CurveMapping *curve, float start, float end, float step)
static void blender::do_twist (const ParticleChildModifierContext *modifier_ctx, ParticleKey *state, const float time)
void blender::do_child_modifiers (const ParticleChildModifierContext *modifier_ctx, float mat[4][4], ParticleKey *state, float t)