Logo Search packages:      
Sourcecode: blender version File versions  Download package

ClothSimSettings Struct Reference

#include <DNA_cloth_types.h>

List of all members.

Detailed Description

DNA_cloth_types.h,v 1.1 2007/08/01 02:28:34 daniel Exp


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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

The Original Code is Copyright (C) 2006 by NaN Holding BV. All rights reserved.

The Original Code is: all of this file.

Contributor(s): Daniel (Genscher)

***** END GPL LICENSE BLOCK ***** 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 44 of file DNA_cloth_types.h.

Public Attributes

float avg_spring_len
float bending
struct LinkNode * cache
float Cdis
float Cvi
float defgoal
float dt
float eff_force_scale
float eff_wind_scale
int flags
float goalfrict
float goalspring
float gravity [3]
float mass
float max_bend
float max_shear
float max_struct
float maxgoal
int maxspringlen
float mingoal
short pad
int pad2
int preroll
short presets
float shear
float sim_time_old
short solver_type
int stepsPerFrame
float structural
float timescale
short vgroup_bend
short vgroup_mass
short vgroup_struct

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

Generated by  Doxygen 1.6.0   Back to index