Blender V2.61 - r43446
Functions

MOD_weightvg_util.c File Reference

#include "BLI_math.h"
#include "BLI_rand.h"
#include "BLI_string.h"
#include "BLI_utildefines.h"
#include "DNA_color_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
#include "BKE_cdderivedmesh.h"
#include "BKE_colortools.h"
#include "BKE_deform.h"
#include "BKE_mesh.h"
#include "BKE_modifier.h"
#include "BKE_texture.h"
#include "depsgraph_private.h"
#include "MEM_guardedalloc.h"
#include "MOD_util.h"
#include "MOD_weightvg_util.h"
#include "RE_shader_ext.h"

Go to the source code of this file.

Functions

void weightvg_do_map (int num, float *new_w, short falloff_type, CurveMapping *cmap)
void weightvg_do_mask (int num, const int *indices, float *org_w, const float *new_w, Object *ob, DerivedMesh *dm, float fact, const char defgrp_name[MAX_VGROUP_NAME], Tex *texture, int tex_use_channel, int tex_mapping, Object *tex_map_object, const char *tex_uvlayer_name)
void weightvg_update_vg (MDeformVert *dvert, int defgrp_idx, MDeformWeight **dws, int num, const int *indices, const float *weights, int do_add, float add_thresh, int do_rem, float rem_thresh)

Detailed Description

Definition in file MOD_weightvg_util.c.


Function Documentation

void weightvg_do_map ( int  num,
float *  new_w,
short  falloff_type,
CurveMapping cmap 
)
void weightvg_do_mask ( int  num,
const int *  indices,
float *  org_w,
const float *  new_w,
Object ob,
DerivedMesh dm,
float  fact,
const char  defgrp_name[MAX_VGROUP_NAME],
Tex texture,
int  tex_use_channel,
int  tex_mapping,
Object tex_map_object,
const char *  tex_uvlayer_name 
)
void weightvg_update_vg ( MDeformVert dvert,
int  defgrp_idx,
MDeformWeight **  dws,
int  num,
const int *  indices,
const float *  weights,
int  do_add,
float  add_thresh,
int  do_rem,
float  rem_thresh 
)