|
Blender
V2.59
|
Go to the source code of this file.
Classes | |
| struct | VoxelDataHeader |
Typedefs | |
| typedef struct VoxelDataHeader | VoxelDataHeader |
Functions | |
| void | make_voxeldata (struct Render *re) |
| void | free_voxeldata (struct Render *re) |
| int | voxeldatatex (struct Tex *tex, float *texvec, struct TexResult *texres) |
Definition in file voxeldata.h.
| typedef struct VoxelDataHeader VoxelDataHeader |
| void free_voxeldata | ( | struct Render * | re | ) |
| void make_voxeldata | ( | struct Render * | re | ) |
Definition at line 367 of file voxeldata.c.
References cache_voxeldata(), ListBase::first, Render::i, Tex::id, RenderStats::infostr, Render::main, ID::next, NULL, Render::sdh, Render::stats_draw, Main::tex, TEX_VOXELDATA, Tex::type, and ID::us.
Referenced by RE_Database_Baking(), and RE_Database_FromScene().
Definition at line 386 of file voxeldata.c.
References add_v3_v3(), BRICONT, BRICONTRGB, CLAMP(), co, copy_v3_v3(), VoxelData::dataset, VoxelData::extend, VoxelData::int_multiplier, VoxelData::interp_type, mul_v3_fl(), NULL, VoxelData::resol, TexResult::ta, TexResult::tb, TEX_CLIP, TEX_EXTEND, TEX_INT, TEX_REPEAT, TEX_VD_LINEAR, TEX_VD_NEARESTNEIGHBOR, TEX_VD_QUADRATIC, TEX_VD_TRICUBIC_BSPLINE, TEX_VD_TRICUBIC_CATROM, TexResult::tg, TexResult::tin, TexResult::tr, Tex::vd, voxel_sample_nearest(), voxel_sample_tricubic(), voxel_sample_trilinear(), and voxel_sample_triquadratic().
Referenced by multitex().