6 * ***** BEGIN GPL LICENSE BLOCK *****
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software Foundation,
20 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 * The Original Code is Copyright (C) Blender Foundation.
23 * All rights reserved.
25 * The Original Code is: all of this file.
27 * Contributor(s): Daniel Genrich
29 * ***** END GPL LICENSE BLOCK *****
35 void smokeModifier_do(struct SmokeModifierData *smd, struct Scene *scene, struct Object *ob, struct DerivedMesh *dm, int useRenderParams, int isFinalCalc);
37 void smokeModifier_free (struct SmokeModifierData *smd);
38 void smokeModifier_reset(struct SmokeModifierData *smd);
39 void smokeModifier_createType(struct SmokeModifierData *smd);
41 void smoke_set_tray(struct SmokeModifierData *smd, size_t index, float transparency);
42 float smoke_get_tray(struct SmokeModifierData *smd, size_t index);
43 float smoke_get_tvox(struct SmokeModifierData *smd, size_t index);
44 void smoke_set_tvox(struct SmokeModifierData *smd, size_t index, float tvox);
46 void smoke_set_bigtray(struct SmokeModifierData *smd, size_t index, float transparency);
47 float smoke_get_bigtray(struct SmokeModifierData *smd, size_t index);
48 float smoke_get_bigtvox(struct SmokeModifierData *smd, size_t index);
49 void smoke_set_bigtvox(struct SmokeModifierData *smd, size_t index, float tvox);
51 long long smoke_get_mem_req(int xres, int yres, int zres, int amplify);
52 void smoke_prepare_View(struct SmokeModifierData *smd, float *light);
53 void smoke_prepare_bigView(struct SmokeModifierData *smd, float *light);
55 #endif /* BKE_SMOKE_H_ */