Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_fluid_types.h
| Show First 20 Lines • Show All 507 Lines • ▼ Show 20 Lines | typedef struct FluidDomainSettings { | ||||
| struct EffectorWeights *effector_weights; | struct EffectorWeights *effector_weights; | ||||
| /* Domain object data. */ | /* Domain object data. */ | ||||
| float p0[3]; /* Start point of BB in local space | float p0[3]; /* Start point of BB in local space | ||||
| * (includes sub-cell shift for adaptive domain). */ | * (includes sub-cell shift for adaptive domain). */ | ||||
| float p1[3]; /* End point of BB in local space. */ | float p1[3]; /* End point of BB in local space. */ | ||||
| float dp0[3]; /* Difference from object center to grid start point. */ | float dp0[3]; /* Difference from object center to grid start point. */ | ||||
| float cell_size[3]; /* Size of simulation cell in local space. */ | float cell_size[3]; /* Size of simulation cell in local space. */ | ||||
| float global_size[3]; /* Global size of domain axises. */ | float global_size[3]; /* Global size of domain axes. */ | ||||
| float prev_loc[3]; | float prev_loc[3]; | ||||
| int shift[3]; /* Current domain shift in simulation cells. */ | int shift[3]; /* Current domain shift in simulation cells. */ | ||||
| float shift_f[3]; /* Exact domain shift. */ | float shift_f[3]; /* Exact domain shift. */ | ||||
| float obj_shift_f[3]; /* How much object has shifted since previous smoke frame (used to "lock" | float obj_shift_f[3]; /* How much object has shifted since previous smoke frame (used to "lock" | ||||
| * domain while drawing). */ | * domain while drawing). */ | ||||
| float imat[4][4]; /* Domain object imat. */ | float imat[4][4]; /* Domain object imat. */ | ||||
| float obmat[4][4]; /* Domain obmat. */ | float obmat[4][4]; /* Domain obmat. */ | ||||
| float fluidmat[4][4]; /* Low res fluid matrix. */ | float fluidmat[4][4]; /* Low res fluid matrix. */ | ||||
| ▲ Show 20 Lines • Show All 164 Lines • ▼ Show 20 Lines | typedef struct FluidDomainSettings { | ||||
| char _pad10[7]; /* Unused. */ | char _pad10[7]; /* Unused. */ | ||||
| /* OpenVDB cache options. */ | /* OpenVDB cache options. */ | ||||
| int openvdb_compression; | int openvdb_compression; | ||||
| float clipping; | float clipping; | ||||
| char openvdb_data_depth; | char openvdb_data_depth; | ||||
| char _pad11[7]; /* Unused. */ | char _pad11[7]; /* Unused. */ | ||||
| /* -- Deprecated / unsed options (below). -- */ | /* -- Deprecated / unused options (below). -- */ | ||||
| /* View options. */ | /* View options. */ | ||||
| int viewsettings; | int viewsettings; | ||||
| char _pad12[4]; /* Unused. */ | char _pad12[4]; /* Unused. */ | ||||
| /* Pointcache options. */ | /* Pointcache options. */ | ||||
| /* Smoke uses only one cache from now on (index [0]), but keeping the array for now for reading | /* Smoke uses only one cache from now on (index [0]), but keeping the array for now for reading | ||||
| * old files. */ | * old files. */ | ||||
| ▲ Show 20 Lines • Show All 157 Lines • Show Last 20 Lines | |||||