2011-05-01 15:16:59 +00:00
|
|
|
/*
|
2011-10-23 17:52:20 +00:00
|
|
|
* ***** BEGIN GPL LICENSE BLOCK *****
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
* Contributor(s): Campbell Barton
|
|
|
|
*
|
|
|
|
* ***** END GPL LICENSE BLOCK *****
|
|
|
|
*
|
|
|
|
*/
|
2011-05-01 15:16:59 +00:00
|
|
|
|
2011-09-22 12:00:24 +00:00
|
|
|
/** \file blender/modifiers/intern/MOD_warp.c
|
|
|
|
* \ingroup modifiers
|
|
|
|
*/
|
|
|
|
|
2011-05-01 15:16:59 +00:00
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
#include "MEM_guardedalloc.h"
|
|
|
|
|
2012-04-30 08:24:44 +00:00
|
|
|
#include "DNA_object_types.h"
|
|
|
|
#include "DNA_meshdata_types.h"
|
|
|
|
|
2011-05-01 15:16:59 +00:00
|
|
|
#include "BLI_math.h"
|
|
|
|
#include "BLI_utildefines.h"
|
2011-09-26 18:51:10 +00:00
|
|
|
#include "BLI_string.h"
|
2011-05-01 15:16:59 +00:00
|
|
|
|
|
|
|
#include "BKE_cdderivedmesh.h"
|
|
|
|
#include "BKE_modifier.h"
|
|
|
|
#include "BKE_deform.h"
|
|
|
|
#include "BKE_texture.h"
|
|
|
|
#include "BKE_colortools.h"
|
|
|
|
|
|
|
|
#include "depsgraph_private.h"
|
|
|
|
|
|
|
|
#include "RE_shader_ext.h"
|
|
|
|
|
|
|
|
#include "MOD_util.h"
|
|
|
|
|
|
|
|
|
|
|
|
static void initData(ModifierData *md)
|
|
|
|
{
|
2012-05-06 13:38:33 +00:00
|
|
|
WarpModifierData *wmd = (WarpModifierData *) md;
|
2011-05-01 15:16:59 +00:00
|
|
|
|
|
|
|
wmd->curfalloff = curvemapping_add(1, 0.0f, 0.0f, 1.0f, 1.0f);
|
|
|
|
wmd->texture = NULL;
|
|
|
|
wmd->strength = 1.0f;
|
|
|
|
wmd->falloff_radius = 1.0f;
|
|
|
|
wmd->falloff_type = eWarp_Falloff_Smooth;
|
|
|
|
wmd->flag = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void copyData(ModifierData *md, ModifierData *target)
|
|
|
|
{
|
2012-05-06 13:38:33 +00:00
|
|
|
WarpModifierData *wmd = (WarpModifierData *) md;
|
|
|
|
WarpModifierData *twmd = (WarpModifierData *) target;
|
2011-05-01 15:16:59 +00:00
|
|
|
|
|
|
|
twmd->object_from = wmd->object_from;
|
|
|
|
twmd->object_to = wmd->object_to;
|
|
|
|
|
|
|
|
twmd->strength = wmd->strength;
|
|
|
|
twmd->falloff_radius = wmd->falloff_radius;
|
|
|
|
twmd->falloff_type = wmd->falloff_type;
|
2011-09-26 18:51:10 +00:00
|
|
|
BLI_strncpy(twmd->defgrp_name, wmd->defgrp_name, sizeof(twmd->defgrp_name));
|
2011-05-01 15:16:59 +00:00
|
|
|
twmd->curfalloff = curvemapping_copy(wmd->curfalloff);
|
|
|
|
|
|
|
|
/* map info */
|
|
|
|
twmd->texture = wmd->texture;
|
|
|
|
twmd->map_object = wmd->map_object;
|
2011-09-26 18:51:10 +00:00
|
|
|
BLI_strncpy(twmd->uvlayer_name, wmd->uvlayer_name, sizeof(twmd->uvlayer_name));
|
2012-05-06 13:38:33 +00:00
|
|
|
twmd->texmapping = wmd->texmapping;
|
2011-05-01 15:16:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *md)
|
|
|
|
{
|
|
|
|
WarpModifierData *wmd = (WarpModifierData *)md;
|
|
|
|
CustomDataMask dataMask = 0;
|
|
|
|
|
|
|
|
/* ask for vertexgroups if we need them */
|
2012-03-24 06:24:53 +00:00
|
|
|
if (wmd->defgrp_name[0]) dataMask |= (CD_MASK_MDEFORMVERT);
|
2011-07-11 09:15:20 +00:00
|
|
|
dataMask |= (CD_MASK_MDEFORMVERT);
|
2011-05-01 15:16:59 +00:00
|
|
|
|
|
|
|
/* ask for UV coordinates if we need them */
|
2012-03-24 06:24:53 +00:00
|
|
|
if (wmd->texmapping == MOD_DISP_MAP_UV) dataMask |= (1 << CD_MTFACE);
|
2011-05-01 15:16:59 +00:00
|
|
|
|
|
|
|
return dataMask;
|
|
|
|
}
|
|
|
|
|
2013-06-02 03:59:19 +00:00
|
|
|
static bool dependsOnTime(ModifierData *md)
|
2011-05-01 15:16:59 +00:00
|
|
|
{
|
|
|
|
WarpModifierData *wmd = (WarpModifierData *)md;
|
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (wmd->texture) {
|
2011-05-01 15:16:59 +00:00
|
|
|
return BKE_texture_dependsOnTime(wmd->texture);
|
|
|
|
}
|
|
|
|
else {
|
2013-06-02 03:59:19 +00:00
|
|
|
return false;
|
2011-05-01 15:16:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static void freeData(ModifierData *md)
|
|
|
|
{
|
|
|
|
WarpModifierData *wmd = (WarpModifierData *) md;
|
|
|
|
curvemapping_free(wmd->curfalloff);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-06-02 03:59:19 +00:00
|
|
|
static bool isDisabled(ModifierData *md, int UNUSED(userRenderParams))
|
2011-05-01 15:16:59 +00:00
|
|
|
{
|
2012-05-06 13:38:33 +00:00
|
|
|
WarpModifierData *wmd = (WarpModifierData *) md;
|
2011-05-01 15:16:59 +00:00
|
|
|
|
|
|
|
return !(wmd->object_from && wmd->object_to);
|
|
|
|
}
|
|
|
|
|
|
|
|
static void foreachObjectLink(ModifierData *md, Object *ob, ObjectWalkFunc walk, void *userData)
|
|
|
|
{
|
2012-05-06 13:38:33 +00:00
|
|
|
WarpModifierData *wmd = (WarpModifierData *) md;
|
2011-05-01 15:16:59 +00:00
|
|
|
|
|
|
|
walk(userData, ob, &wmd->object_from);
|
|
|
|
walk(userData, ob, &wmd->object_to);
|
|
|
|
walk(userData, ob, &wmd->map_object);
|
|
|
|
}
|
|
|
|
|
|
|
|
static void foreachIDLink(ModifierData *md, Object *ob, IDWalkFunc walk, void *userData)
|
|
|
|
{
|
2012-05-06 13:38:33 +00:00
|
|
|
WarpModifierData *wmd = (WarpModifierData *) md;
|
2011-05-01 15:16:59 +00:00
|
|
|
|
|
|
|
walk(userData, ob, (ID **)&wmd->texture);
|
|
|
|
|
|
|
|
walk(userData, ob, (ID **)&wmd->object_from);
|
|
|
|
walk(userData, ob, (ID **)&wmd->object_to);
|
|
|
|
walk(userData, ob, (ID **)&wmd->map_object);
|
|
|
|
}
|
|
|
|
|
2011-08-12 18:11:22 +00:00
|
|
|
static void foreachTexLink(ModifierData *md, Object *ob, TexWalkFunc walk, void *userData)
|
|
|
|
{
|
|
|
|
walk(userData, ob, md, "texture");
|
|
|
|
}
|
|
|
|
|
2011-05-01 15:16:59 +00:00
|
|
|
static void updateDepgraph(ModifierData *md, DagForest *forest, struct Scene *UNUSED(scene),
|
|
|
|
Object *UNUSED(ob), DagNode *obNode)
|
|
|
|
{
|
2012-05-06 13:38:33 +00:00
|
|
|
WarpModifierData *wmd = (WarpModifierData *) md;
|
2011-05-01 15:16:59 +00:00
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (wmd->object_from && wmd->object_to) {
|
2011-05-01 15:16:59 +00:00
|
|
|
DagNode *fromNode = dag_get_node(forest, wmd->object_from);
|
|
|
|
DagNode *toNode = dag_get_node(forest, wmd->object_to);
|
|
|
|
|
|
|
|
dag_add_relation(forest, fromNode, obNode, DAG_RL_DATA_DATA | DAG_RL_OB_DATA, "Warp Modifier1");
|
|
|
|
dag_add_relation(forest, toNode, obNode, DAG_RL_DATA_DATA | DAG_RL_OB_DATA, "Warp Modifier2");
|
|
|
|
}
|
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if ((wmd->texmapping == MOD_DISP_MAP_OBJECT) && wmd->map_object) {
|
2011-05-01 15:16:59 +00:00
|
|
|
DagNode *curNode = dag_get_node(forest, wmd->map_object);
|
|
|
|
dag_add_relation(forest, curNode, obNode, DAG_RL_DATA_DATA | DAG_RL_OB_DATA, "Warp Modifier3");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static void warpModifier_do(WarpModifierData *wmd, Object *ob,
|
|
|
|
DerivedMesh *dm, float (*vertexCos)[3], int numVerts)
|
|
|
|
{
|
|
|
|
float obinv[4][4];
|
|
|
|
float mat_from[4][4];
|
|
|
|
float mat_from_inv[4][4];
|
|
|
|
float mat_to[4][4];
|
|
|
|
float mat_unit[4][4];
|
|
|
|
float mat_final[4][4];
|
|
|
|
|
|
|
|
float tmat[4][4];
|
|
|
|
|
|
|
|
float strength = wmd->strength;
|
|
|
|
float fac = 1.0f, weight;
|
|
|
|
int i;
|
2011-07-11 09:15:20 +00:00
|
|
|
int defgrp_index;
|
2012-05-06 13:38:33 +00:00
|
|
|
MDeformVert *dvert, *dv = NULL;
|
2011-05-01 15:16:59 +00:00
|
|
|
|
2012-05-06 13:38:33 +00:00
|
|
|
float (*tex_co)[3] = NULL;
|
2011-05-01 15:16:59 +00:00
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (!(wmd->object_from && wmd->object_to))
|
2011-05-01 15:16:59 +00:00
|
|
|
return;
|
|
|
|
|
2011-07-11 09:15:20 +00:00
|
|
|
modifier_get_vgroup(ob, dm, wmd->defgrp_name, &dvert, &defgrp_index);
|
|
|
|
|
2012-05-03 21:35:04 +00:00
|
|
|
if (wmd->curfalloff == NULL) /* should never happen, but bad lib linking could cause it */
|
2011-05-01 15:16:59 +00:00
|
|
|
wmd->curfalloff = curvemapping_add(1, 0.0f, 0.0f, 1.0f, 1.0f);
|
|
|
|
|
2012-08-21 14:43:51 +00:00
|
|
|
if (wmd->curfalloff) {
|
|
|
|
curvemapping_initialize(wmd->curfalloff);
|
|
|
|
}
|
|
|
|
|
2011-05-01 15:16:59 +00:00
|
|
|
invert_m4_m4(obinv, ob->obmat);
|
|
|
|
|
2013-05-26 18:36:25 +00:00
|
|
|
mul_m4_m4m4(mat_from, obinv, wmd->object_from->obmat);
|
|
|
|
mul_m4_m4m4(mat_to, obinv, wmd->object_to->obmat);
|
2011-05-01 15:16:59 +00:00
|
|
|
|
|
|
|
invert_m4_m4(tmat, mat_from); // swap?
|
2013-05-26 18:36:25 +00:00
|
|
|
mul_m4_m4m4(mat_final, tmat, mat_to);
|
2011-05-01 15:16:59 +00:00
|
|
|
|
|
|
|
invert_m4_m4(mat_from_inv, mat_from);
|
|
|
|
|
|
|
|
unit_m4(mat_unit);
|
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (strength < 0.0f) {
|
2011-05-01 16:07:18 +00:00
|
|
|
float loc[3];
|
2011-05-01 15:16:59 +00:00
|
|
|
strength = -strength;
|
2011-05-01 16:07:18 +00:00
|
|
|
|
|
|
|
/* inverted location is not useful, just use the negative */
|
|
|
|
copy_v3_v3(loc, mat_final[3]);
|
2011-05-01 15:16:59 +00:00
|
|
|
invert_m4(mat_final);
|
2011-05-01 16:07:18 +00:00
|
|
|
negate_v3_v3(mat_final[3], loc);
|
|
|
|
|
2011-05-01 15:16:59 +00:00
|
|
|
}
|
2012-05-06 13:38:33 +00:00
|
|
|
weight = strength;
|
2011-05-01 15:16:59 +00:00
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (wmd->texture) {
|
2011-05-01 15:16:59 +00:00
|
|
|
tex_co = MEM_mallocN(sizeof(*tex_co) * numVerts, "warpModifier_do tex_co");
|
|
|
|
get_texture_coords((MappingInfoModifierData *)wmd, ob, dm, vertexCos, tex_co, numVerts);
|
2012-04-10 14:11:45 +00:00
|
|
|
|
|
|
|
modifier_init_texture(wmd->modifier.scene, wmd->texture);
|
2011-05-01 15:16:59 +00:00
|
|
|
}
|
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
for (i = 0; i < numVerts; i++) {
|
2011-05-01 15:16:59 +00:00
|
|
|
float *co = vertexCos[i];
|
|
|
|
|
2012-05-03 21:35:04 +00:00
|
|
|
if (wmd->falloff_type == eWarp_Falloff_None ||
|
|
|
|
((fac = len_v3v3(co, mat_from[3])) < wmd->falloff_radius &&
|
2012-05-06 13:38:33 +00:00
|
|
|
(fac = (wmd->falloff_radius - fac) / wmd->falloff_radius)))
|
2012-05-03 21:35:04 +00:00
|
|
|
{
|
2011-05-01 15:16:59 +00:00
|
|
|
/* skip if no vert group found */
|
2012-10-22 17:19:05 +00:00
|
|
|
if (dvert && defgrp_index != -1) {
|
2011-07-11 09:15:20 +00:00
|
|
|
dv = &dvert[i];
|
2011-05-01 15:16:59 +00:00
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (dv) {
|
2011-09-15 11:18:15 +00:00
|
|
|
weight = defvert_find_weight(dv, defgrp_index) * strength;
|
2012-03-24 06:24:53 +00:00
|
|
|
if (weight <= 0.0f) /* Should never occure... */
|
2011-05-01 15:16:59 +00:00
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* closely match PROP_SMOOTH and similar */
|
2012-04-28 06:31:57 +00:00
|
|
|
switch (wmd->falloff_type) {
|
2012-05-06 13:38:33 +00:00
|
|
|
case eWarp_Falloff_None:
|
|
|
|
fac = 1.0f;
|
|
|
|
break;
|
|
|
|
case eWarp_Falloff_Curve:
|
|
|
|
fac = curvemapping_evaluateF(wmd->curfalloff, 0, fac);
|
|
|
|
break;
|
|
|
|
case eWarp_Falloff_Sharp:
|
|
|
|
fac = fac * fac;
|
|
|
|
break;
|
|
|
|
case eWarp_Falloff_Smooth:
|
|
|
|
fac = 3.0f * fac * fac - 2.0f * fac * fac * fac;
|
|
|
|
break;
|
|
|
|
case eWarp_Falloff_Root:
|
|
|
|
fac = (float)sqrt(fac);
|
|
|
|
break;
|
|
|
|
case eWarp_Falloff_Linear:
|
|
|
|
/* pass */
|
|
|
|
break;
|
|
|
|
case eWarp_Falloff_Const:
|
|
|
|
fac = 1.0f;
|
|
|
|
break;
|
|
|
|
case eWarp_Falloff_Sphere:
|
|
|
|
fac = (float)sqrt(2 * fac - fac * fac);
|
|
|
|
break;
|
2011-05-01 15:16:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
fac *= weight;
|
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (tex_co) {
|
2011-05-01 15:16:59 +00:00
|
|
|
TexResult texres;
|
|
|
|
texres.nor = NULL;
|
Fix #36058: Displace Modifier errors using a baked Image and displace baking inconsistency between 2.67/2.68RC and previous versions
This was in fact really nasty bug, caused by multitex_nodes
function using global variable R (which is a copy of current
renderer). this variable is not initialized to anything
meaningful for until first rendering (preview or final)
happened.
Since multitex_nodes might be used outside of render pipeline,
made it so whether CM is on or off as an argument to functions
multitex_ext_safe and multitex_ext. Now multitex_nodes() is
only shall be used for stuff happening from render pipeline!
Also needed to make some changes to other places, so all the
usages of texture sampling knows for the fact whether CM is
on or off.
And one more change is related on behavior of dispalcement,
wave, warp, weightvg modifiers and smoke. They'll be always
using CM off since texture is used for influence, not for
color.
It's rather bigger patch, but it's mostly straightforward
changes, which we really need to be done.
Reviewed by Brecht, thanks!
2013-07-15 14:47:58 +00:00
|
|
|
get_texture_value(wmd->modifier.scene, wmd->texture, tex_co[i], &texres, false);
|
2011-05-01 15:16:59 +00:00
|
|
|
fac *= texres.tin;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* into the 'from' objects space */
|
|
|
|
mul_m4_v3(mat_from_inv, co);
|
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (fac >= 1.0f) {
|
2011-05-01 15:16:59 +00:00
|
|
|
mul_m4_v3(mat_final, co);
|
|
|
|
}
|
2012-03-24 06:24:53 +00:00
|
|
|
else if (fac > 0.0f) {
|
|
|
|
if (wmd->flag & MOD_WARP_VOLUME_PRESERVE) {
|
2011-05-01 15:16:59 +00:00
|
|
|
/* interpolate the matrix for nicer locations */
|
|
|
|
blend_m4_m4m4(tmat, mat_unit, mat_final, fac);
|
|
|
|
mul_m4_v3(tmat, co);
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
float tvec[3];
|
|
|
|
mul_v3_m4v3(tvec, mat_final, co);
|
|
|
|
interp_v3_v3v3(co, co, tvec, fac);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* out of the 'from' objects space */
|
|
|
|
mul_m4_v3(mat_from, co);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (tex_co)
|
2011-05-01 15:16:59 +00:00
|
|
|
MEM_freeN(tex_co);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
static int warp_needs_dm(WarpModifierData *wmd)
|
|
|
|
{
|
|
|
|
return wmd->texture || wmd->defgrp_name[0];
|
|
|
|
}
|
|
|
|
|
|
|
|
static void deformVerts(ModifierData *md, Object *ob, DerivedMesh *derivedData,
|
2012-05-09 15:00:26 +00:00
|
|
|
float (*vertexCos)[3], int numVerts, ModifierApplyFlag UNUSED(flag))
|
2011-05-01 15:16:59 +00:00
|
|
|
{
|
2012-05-06 13:38:33 +00:00
|
|
|
DerivedMesh *dm = NULL;
|
|
|
|
int use_dm = warp_needs_dm((WarpModifierData *)md);
|
2011-05-01 15:16:59 +00:00
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (use_dm) {
|
2013-07-16 08:24:53 +00:00
|
|
|
dm = get_cddm(ob, NULL, derivedData, vertexCos, false);
|
2011-05-01 15:16:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
warpModifier_do((WarpModifierData *)md, ob, dm, vertexCos, numVerts);
|
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (use_dm) {
|
|
|
|
if (dm != derivedData) dm->release(dm);
|
2011-05-01 15:16:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-10-24 07:24:11 +00:00
|
|
|
static void deformVertsEM(ModifierData *md, Object *ob, struct BMEditMesh *em,
|
2011-05-01 15:16:59 +00:00
|
|
|
DerivedMesh *derivedData, float (*vertexCos)[3], int numVerts)
|
|
|
|
{
|
|
|
|
DerivedMesh *dm = derivedData;
|
2012-05-06 13:38:33 +00:00
|
|
|
int use_dm = warp_needs_dm((WarpModifierData *)md);
|
2011-05-01 15:16:59 +00:00
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (use_dm) {
|
|
|
|
if (!derivedData)
|
2012-10-24 07:24:11 +00:00
|
|
|
dm = CDDM_from_editbmesh(em, FALSE, FALSE);
|
2011-05-01 15:16:59 +00:00
|
|
|
}
|
|
|
|
|
2012-05-09 15:00:26 +00:00
|
|
|
deformVerts(md, ob, dm, vertexCos, numVerts, 0);
|
2011-05-01 15:16:59 +00:00
|
|
|
|
2012-03-24 06:24:53 +00:00
|
|
|
if (use_dm) {
|
|
|
|
if (!derivedData) dm->release(dm);
|
2011-05-01 15:16:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ModifierTypeInfo modifierType_Warp = {
|
2012-10-24 05:45:54 +00:00
|
|
|
/* name */ "Warp",
|
|
|
|
/* structName */ "WarpModifierData",
|
|
|
|
/* structSize */ sizeof(WarpModifierData),
|
|
|
|
/* type */ eModifierTypeType_OnlyDeform,
|
|
|
|
/* flags */ eModifierTypeFlag_AcceptsCVs |
|
|
|
|
eModifierTypeFlag_SupportsEditmode,
|
|
|
|
/* copyData */ copyData,
|
|
|
|
/* deformVerts */ deformVerts,
|
|
|
|
/* deformMatrices */ NULL,
|
|
|
|
/* deformVertsEM */ deformVertsEM,
|
|
|
|
/* deformMatricesEM */ NULL,
|
2013-08-07 03:36:05 +00:00
|
|
|
/* applyModifier */ NULL,
|
|
|
|
/* applyModifierEM */ NULL,
|
2012-10-24 05:45:54 +00:00
|
|
|
/* initData */ initData,
|
|
|
|
/* requiredDataMask */ requiredDataMask,
|
|
|
|
/* freeData */ freeData,
|
|
|
|
/* isDisabled */ isDisabled,
|
|
|
|
/* updateDepgraph */ updateDepgraph,
|
|
|
|
/* dependsOnTime */ dependsOnTime,
|
|
|
|
/* dependsOnNormals */ NULL,
|
2011-05-01 15:16:59 +00:00
|
|
|
/* foreachObjectLink */ foreachObjectLink,
|
2012-10-24 05:45:54 +00:00
|
|
|
/* foreachIDLink */ foreachIDLink,
|
|
|
|
/* foreachTexLink */ foreachTexLink,
|
2011-05-01 15:16:59 +00:00
|
|
|
};
|