Blender  V2.59
Functions
voxeldata.c File Reference
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include "MEM_guardedalloc.h"
#include "BLI_math.h"
#include "BLI_blenlib.h"
#include "BLI_voxel.h"
#include "BLI_utildefines.h"
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"
#include "BKE_global.h"
#include "BKE_image.h"
#include "BKE_main.h"
#include "BKE_modifier.h"
#include "smoke_API.h"
#include "DNA_texture_types.h"
#include "DNA_object_force.h"
#include "DNA_object_types.h"
#include "DNA_modifier_types.h"
#include "DNA_smoke_types.h"
#include "render_types.h"
#include "renderdatabase.h"
#include "texture.h"
#include "voxeldata.h"

Go to the source code of this file.

Functions

static int is_vd_res_ok (VoxelData *vd)
static size_t vd_resol_size (VoxelData *vd)
static int load_frame_blendervoxel (VoxelData *vd, FILE *fp, int frame)
static int load_frame_raw8 (VoxelData *vd, FILE *fp, int frame)
static void load_frame_image_sequence (VoxelData *vd, Tex *tex)
static int read_voxeldata_header (FILE *fp, struct VoxelData *vd)
static void init_frame_smoke (VoxelData *vd, float cfra)
static void cache_voxeldata (struct Render *re, Tex *tex)
void make_voxeldata (struct Render *re)
int voxeldatatex (struct Tex *tex, float *texvec, struct TexResult *texres)

Detailed Description

Definition in file voxeldata.c.


Function Documentation

static void cache_voxeldata ( struct Render re,
Tex tex 
) [static]
static void init_frame_smoke ( VoxelData vd,
float  cfra 
) [static]
static int is_vd_res_ok ( VoxelData vd) [static]

Definition at line 67 of file voxeldata.c.

References max, min, and VoxelData::resol.

Referenced by load_frame_blendervoxel(), and load_frame_raw8().

static int load_frame_blendervoxel ( VoxelData vd,
FILE *  fp,
int  frame 
) [static]
static void load_frame_image_sequence ( VoxelData vd,
Tex tex 
) [static]
static int load_frame_raw8 ( VoxelData vd,
FILE *  fp,
int  frame 
) [static]
void make_voxeldata ( struct Render re)
static int read_voxeldata_header ( FILE *  fp,
struct VoxelData vd 
) [static]
static size_t vd_resol_size ( VoxelData vd) [static]
int voxeldatatex ( struct Tex tex,
float *  texvec,
struct TexResult texres 
)