|
Blender V4.3
|
Go to the source code of this file.
Macros | |
| #define | FRAME_SNAP_EPS 0.0001f |
Functions | |
| bool | MOD_meshcache_read_mdd_index (FILE *fp, float(*vertexCos)[3], int verts_tot, int index, float factor, const char **r_err_str) |
| bool | MOD_meshcache_read_mdd_frame (FILE *fp, float(*vertexCos)[3], int verts_tot, char interp, float frame, const char **r_err_str) |
| bool | MOD_meshcache_read_mdd_times (const char *filepath, float(*vertexCos)[3], int verts_tot, char interp, float time, float fps, char time_mode, const char **r_err_str) |
| bool | MOD_meshcache_read_pc2_index (FILE *fp, float(*vertexCos)[3], int verts_tot, int index, float factor, const char **r_err_str) |
| bool | MOD_meshcache_read_pc2_frame (FILE *fp, float(*vertexCos)[3], int verts_tot, char interp, float frame, const char **r_err_str) |
| bool | MOD_meshcache_read_pc2_times (const char *filepath, float(*vertexCos)[3], int verts_tot, char interp, float time, float fps, char time_mode, const char **r_err_str) |
| void | MOD_meshcache_calc_range (float frame, char interp, int frame_tot, int r_index_range[2], float *r_factor) |
| #define FRAME_SNAP_EPS 0.0001f |
Definition at line 62 of file MOD_meshcache_util.hh.
Referenced by meshcache_read_mdd_range_from_time(), and MOD_meshcache_calc_range().
| void MOD_meshcache_calc_range | ( | float | frame, |
| char | interp, | ||
| int | frame_tot, | ||
| int | r_index_range[2], | ||
| float * | r_factor ) |
Definition at line 16 of file MOD_meshcache_util.cc.
References floorf, FRAME_SNAP_EPS, int, interp(), max_ii(), min_ii(), MOD_MESHCACHE_INTERP_NONE, range, and round_fl_to_int().
Referenced by meshcache_read_mdd_range(), and meshcache_read_pc2_range().
| bool MOD_meshcache_read_mdd_frame | ( | FILE * | fp, |
| float(*) | vertexCos[3], | ||
| int | verts_tot, | ||
| char | interp, | ||
| float | frame, | ||
| const char ** | r_err_str ) |
Definition at line 219 of file MOD_meshcache_mdd.cc.
References BLI_fseek(), interp(), meshcache_read_mdd_range(), and MOD_meshcache_read_mdd_index().
Referenced by MOD_meshcache_read_mdd_times().
| bool MOD_meshcache_read_mdd_index | ( | FILE * | fp, |
| float(*) | vertexCos[3], | ||
| int | verts_tot, | ||
| int | index, | ||
| float | factor, | ||
| const char ** | r_err_str ) |
Definition at line 142 of file MOD_meshcache_mdd.cc.
References BLI_endian_switch_float(), BLI_endian_switch_float_array(), BLI_fseek(), MDDHead::frame_tot, meshcache_read_mdd_head(), RPT_, and MDDHead::verts_tot.
Referenced by MOD_meshcache_read_mdd_frame().
| bool MOD_meshcache_read_mdd_times | ( | const char * | filepath, |
| float(*) | vertexCos[3], | ||
| int | verts_tot, | ||
| char | interp, | ||
| float | time, | ||
| float | fps, | ||
| char | time_mode, | ||
| const char ** | r_err_str ) |
Definition at line 263 of file MOD_meshcache_mdd.cc.
References BLI_fopen(), float, MDDHead::frame_tot, interp(), meshcache_read_mdd_head(), meshcache_read_mdd_range_from_time(), MOD_meshcache_read_mdd_frame(), MOD_MESHCACHE_TIME_FACTOR, MOD_MESHCACHE_TIME_FRAME, MOD_MESHCACHE_TIME_SECONDS, RPT_, and time.
Referenced by meshcache_do().
| bool MOD_meshcache_read_pc2_frame | ( | FILE * | fp, |
| float(*) | vertexCos[3], | ||
| int | verts_tot, | ||
| char | interp, | ||
| float | frame, | ||
| const char ** | r_err_str ) |
Definition at line 188 of file MOD_meshcache_pc2.cc.
References BLI_fseek(), interp(), meshcache_read_pc2_range(), and MOD_meshcache_read_pc2_index().
Referenced by MOD_meshcache_read_pc2_times().
| bool MOD_meshcache_read_pc2_index | ( | FILE * | fp, |
| float(*) | vertexCos[3], | ||
| int | verts_tot, | ||
| int | index, | ||
| float | factor, | ||
| const char ** | r_err_str ) |
Definition at line 127 of file MOD_meshcache_pc2.cc.
References BLI_endian_switch_float(), BLI_fseek(), meshcache_read_pc2_head(), RPT_, and PC2Head::verts_tot.
Referenced by MOD_meshcache_read_pc2_frame().
| bool MOD_meshcache_read_pc2_times | ( | const char * | filepath, |
| float(*) | vertexCos[3], | ||
| int | verts_tot, | ||
| char | interp, | ||
| float | time, | ||
| float | fps, | ||
| char | time_mode, | ||
| const char ** | r_err_str ) |
Definition at line 232 of file MOD_meshcache_pc2.cc.
References BLI_fopen(), float, PC2Head::frame_tot, interp(), meshcache_read_pc2_head(), meshcache_read_pc2_range_from_time(), MOD_meshcache_read_pc2_frame(), MOD_MESHCACHE_TIME_FACTOR, MOD_MESHCACHE_TIME_FRAME, MOD_MESHCACHE_TIME_SECONDS, RPT_, and time.
Referenced by meshcache_do().