diff options
author | Miika Hamalainen <blender@miikah.org> | 2011-10-22 20:16:14 +0400 |
---|---|---|
committer | Miika Hamalainen <blender@miikah.org> | 2011-10-22 20:16:14 +0400 |
commit | 30cba27987362054d16b10e73ddf2601af93be68 (patch) | |
tree | d971f10db56b5d024cf5f7d6f3d48d1e3c20d698 /source/blender/render/extern | |
parent | 8be3249537e7930e0fa5adb59bc343455da309e9 (diff) |
Dynamic Paint:
* Some changes and cleanup pointed on the codereview.
Diffstat (limited to 'source/blender/render/extern')
-rw-r--r-- | source/blender/render/extern/include/RE_render_ext.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/render/extern/include/RE_render_ext.h b/source/blender/render/extern/include/RE_render_ext.h index e98f481b162..deae2ed9b66 100644 --- a/source/blender/render/extern/include/RE_render_ext.h +++ b/source/blender/render/extern/include/RE_render_ext.h @@ -50,6 +50,7 @@ struct RNode; struct Render; struct MTex; struct ImBuf; +struct DerivedMesh; // RADIO REMOVED, Maybe this will be useful later //void RE_zbufferall_radio(struct RadView *vw, struct RNode **rg_elem, int rg_totelem, struct Render *re); @@ -65,5 +66,11 @@ float texture_value_blend(float tex, float out, float fact, float facg, int blen void ibuf_sample(struct ImBuf *ibuf, float fx, float fy, float dx, float dy, float *result); void antialias_tagbuf(int xsize, int ysize, char *rectmove); +/* dynamicpaint.c */ +struct Material *RE_init_sample_material(struct Material *orig_mat, struct Scene *scene); +void RE_free_sample_material(struct Material *mat); +void RE_sample_material_color(struct Material *mat, float color[3], float *alpha, const float volume_co[3], const float surface_co[3], + int face_index, short hit_quad, struct DerivedMesh *orcoDm, struct Object *ob); + #endif /* RE_RENDER_EXT_H */ |