Blender V2.61 - r43446
Public Attributes

ClothSimSettings Struct Reference

#include <DNA_cloth_types.h>

List of all members.

Public Attributes

struct LinkNodecache
float mingoal
float Cdis
float Cvi
float gravity [3]
float dt
float mass
float structural
float shear
float bending
float max_bend
float max_struct
float max_shear
float avg_spring_len
float timescale
float maxgoal
float eff_force_scale
float eff_wind_scale
float sim_time_old
float defgoal
float goalspring
float goalfrict
float velocity_smooth
float collider_friction
int stepsPerFrame
int flags
int preroll
int maxspringlen
short solver_type
short vgroup_bend
short vgroup_mass
short vgroup_struct
short shapekey_rest
short presets
short reset
short pad [3]
struct EffectorWeightseffector_weights

Detailed Description

This struct contains all the global data required to run a simulation. At the time of this writing, this structure contains data appropriate to run a simulation as described in Deformation Constraints in a Mass-Spring Model to Describe Rigid Cloth Behavior by Xavier Provot.

I've tried to keep similar, if not exact names for the variables as are presented in the paper. Where I've changed the concept slightly, as in stepsPerFrame comapred to the time step in the paper, I've used variables with different names to minimize confusion.

Definition at line 47 of file DNA_cloth_types.h.


Member Data Documentation

Definition at line 62 of file DNA_cloth_types.h.

Referenced by cloth_build_springs(), cloth_calc_spring_force(), and cloth_init().

Definition at line 58 of file DNA_cloth_types.h.

Referenced by cloth_calc_spring_force(), and cloth_init().

Definition at line 49 of file DNA_cloth_types.h.

Definition at line 51 of file DNA_cloth_types.h.

Referenced by cloth_calc_spring_force(), and cloth_init().

Definition at line 72 of file DNA_cloth_types.h.

Referenced by cloth_calc_force(), and hair_velocity_smoothing().

Definition at line 52 of file DNA_cloth_types.h.

Referenced by cloth_calc_force(), and cloth_init().

Definition at line 68 of file DNA_cloth_types.h.

Referenced by cloth_from_object(), and cloth_init().

Definition at line 54 of file DNA_cloth_types.h.

Referenced by clothModifier_do().

Definition at line 65 of file DNA_cloth_types.h.

Referenced by cloth_init().

Definition at line 66 of file DNA_cloth_types.h.

Referenced by cloth_init().

Definition at line 70 of file DNA_cloth_types.h.

Referenced by cloth_calc_spring_force(), and cloth_init().

Definition at line 69 of file DNA_cloth_types.h.

Referenced by cloth_calc_spring_force(), cloth_init(), and do_hair_dynamics().

Definition at line 53 of file DNA_cloth_types.h.

Referenced by cloth_init(), and do_versions().

Definition at line 55 of file DNA_cloth_types.h.

Referenced by cloth_from_object(), and cloth_init().

Definition at line 59 of file DNA_cloth_types.h.

Referenced by cloth_calc_spring_force().

Definition at line 61 of file DNA_cloth_types.h.

Definition at line 60 of file DNA_cloth_types.h.

Referenced by cloth_calc_spring_force().

Definition at line 64 of file DNA_cloth_types.h.

Referenced by cloth_init().

Definition at line 77 of file DNA_cloth_types.h.

Referenced by cloth_init().

Definition at line 50 of file DNA_cloth_types.h.

Referenced by cloth_init().

Definition at line 85 of file DNA_cloth_types.h.

Definition at line 76 of file DNA_cloth_types.h.

Referenced by cloth_init(), and clothModifier_do().

Definition at line 84 of file DNA_cloth_types.h.

Referenced by cloth_init(), clothModifier_do(), and direct_link_modifiers().

Definition at line 82 of file DNA_cloth_types.h.

Referenced by cloth_from_object(), get_orco_coords_dm(), and requiredDataMask().

Definition at line 57 of file DNA_cloth_types.h.

Referenced by cloth_init().

Definition at line 67 of file DNA_cloth_types.h.

Definition at line 56 of file DNA_cloth_types.h.

Referenced by cloth_calc_spring_force(), and cloth_init().


The documentation for this struct was generated from the following file: