|
Blender
V2.59
|
Go to the source code of this file.
Defines | |
| #define | V_I(x, y, z, res) ( (z)*(res)[1]*(res)[0] + (y)*(res)[0] + (x) ) |
Functions | |
| float | voxel_sample_nearest (float *data, int *res, float *co) |
| float | voxel_sample_trilinear (float *data, int *res, float *co) |
| float | voxel_sample_triquadratic (float *data, int *res, float *co) |
| float | voxel_sample_tricubic (float *data, int *res, float *co, int bspline) |
Definition in file BLI_voxel.h.
| #define V_I | ( | x, | |
| y, | |||
| z, | |||
| res | |||
| ) | ( (z)*(res)[1]*(res)[0] + (y)*(res)[0] + (x) ) |
find the index number of a voxel, given x/y/z integer coords and resolution vector
Definition at line 36 of file BLI_voxel.h.
Referenced by D(), get_avg_surrounds(), lightcache_filter(), load_frame_image_sequence(), total_ss_energy(), and vol_precache_part().
| float voxel_sample_nearest | ( | float * | data, |
| int * | res, | ||
| float * | co | ||
| ) |
| float voxel_sample_tricubic | ( | float * | data, |
| int * | res, | ||
| float * | co, | ||
| int | bspline | ||
| ) |
Definition at line 136 of file voxel.c.
References _clamp(), FLOORI(), simple_enum_gen::w, and ShadeResult::z.
Referenced by voxeldatatex().
| float voxel_sample_trilinear | ( | float * | data, |
| int * | res, | ||
| float * | co | ||
| ) |
Definition at line 74 of file voxel.c.
References _clamp(), FLOORI(), simple_enum_gen::w, and ShadeResult::z.
Referenced by voxeldatatex().
| float voxel_sample_triquadratic | ( | float * | data, |
| int * | res, | ||
| float * | co | ||
| ) |
Definition at line 106 of file voxel.c.
References _clamp(), FLOORI(), simple_enum_gen::w, and ShadeResult::z.
Referenced by vol_get_precached_scattering(), and voxeldatatex().