Blender V2.61 - r43446
Typedefs | Functions

BKE_smoke.h File Reference

Go to the source code of this file.

Typedefs

typedef float(* bresenham_callback )(float *result, float *input, int res[3], int *pixel, float *tRay, float correct)

Functions

void smokeModifier_do (struct SmokeModifierData *smd, struct Scene *scene, struct Object *ob, struct DerivedMesh *dm)
void smokeModifier_free (struct SmokeModifierData *smd)
void smokeModifier_reset (struct SmokeModifierData *smd)
void smokeModifier_reset_turbulence (struct SmokeModifierData *smd)
void smokeModifier_createType (struct SmokeModifierData *smd)
void smokeModifier_copy (struct SmokeModifierData *smd, struct SmokeModifierData *tsmd)
long long smoke_get_mem_req (int xres, int yres, int zres, int amplify)

Detailed Description

Author:
Daniel Genrich

Definition in file BKE_smoke.h.


Typedef Documentation

typedef float(* bresenham_callback)(float *result, float *input, int res[3], int *pixel, float *tRay, float correct)

Definition at line 36 of file BKE_smoke.h.


Function Documentation

long long smoke_get_mem_req ( int  xres,
int  yres,
int  zres,
int  amplify 
)
void smokeModifier_copy ( struct SmokeModifierData smd,
struct SmokeModifierData tsmd 
)
void smokeModifier_createType ( struct SmokeModifierData smd)

Definition at line 703 of file smoke.c.

References SmokeDomainSettings::alpha, SmokeDomainSettings::amplify, SmokeDomainSettings::beta, BKE_add_effector_weights(), BKE_ptcache_add(), SmokeDomainSettings::border_collisions, SmokeCollSettings::bvhtree, SmokeModifierData::coll, SmokeDomainSettings::coll_group, SmokeFlowSettings::density, SmokeDomainSettings::diss_speed, SmokeCollSettings::dm, SmokeModifierData::domain, SmokeDomainSettings::eff_group, SmokeDomainSettings::effector_weights, ListBase::first, PointCache::flag, SmokeFlowSettings::flags, SmokeDomainSettings::flags, SmokeModifierData::flow, SmokeDomainSettings::fluid, SmokeDomainSettings::fluid_group, ListBase::last, SmokeDomainSettings::maxres, MEM_callocN(), MOD_SMOKE_DISSOLVE_LOG, MOD_SMOKE_FLOW_ABSOLUTE, MOD_SMOKE_HIGH_SMOOTH, MOD_SMOKE_NOISEWAVE, MOD_SMOKE_TYPE_COLL, MOD_SMOKE_TYPE_DOMAIN, MOD_SMOKE_TYPE_FLOW, MOD_SMOKE_VIEW_SHOWBIG, SmokeDomainSettings::noise, NULL, SmokeCollSettings::numpoints, SmokeDomainSettings::omega, SmokeDomainSettings::point_cache, SmokeCollSettings::points, SmokeFlowSettings::psys, PTCACHE_DISK_CACHE, SmokeDomainSettings::ptcaches, SmokeCollSettings::smd, SmokeFlowSettings::smd, SmokeDomainSettings::smd, smokeModifier_freeCollision(), smokeModifier_freeDomain(), smokeModifier_freeFlow(), PointCache::step, SmokeDomainSettings::strength, SmokeFlowSettings::temp, SmokeDomainSettings::time_scale, SmokeModifierData::type, SmokeFlowSettings::vel_multi, SmokeDomainSettings::viewsettings, SmokeDomainSettings::vorticity, and SmokeDomainSettings::wt.

Referenced by smokeModifier_copy().

void smokeModifier_do ( struct SmokeModifierData smd,
struct Scene scene,
struct Object ob,
struct DerivedMesh dm 
)

Referenced by deformVerts().

void smokeModifier_free ( struct SmokeModifierData smd)

Definition at line 693 of file smoke.c.

References smokeModifier_freeCollision(), smokeModifier_freeDomain(), and smokeModifier_freeFlow().

Referenced by freeData().

void smokeModifier_reset ( struct SmokeModifierData smd)
void smokeModifier_reset_turbulence ( struct SmokeModifierData smd)