diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-02-19 21:36:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-02-19 21:36:50 +0300 |
commit | 97d40faee9b3ec0c40cbe460a1f60ba713af6b6a (patch) | |
tree | ff4fac4f2bfb59eb5b1068a3c2d4b799bb076817 /source/blender/makesdna/DNA_object_force.h | |
parent | 2463e7a32e76d8925f253ae2d5712e5f3d753af1 (diff) |
Added an option for texture forcefields to use the root location of a particle for its texture coords.
Without this, animating grass would either look like seaweed (with low freq texture)
Or the grass would wrinkle up and get kinks (high freq texture)
This lets you use a high frequency texture while having straight grass.
Diffstat (limited to 'source/blender/makesdna/DNA_object_force.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_force.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_force.h b/source/blender/makesdna/DNA_object_force.h index c2500fba7fe..cdee50cfef4 100644 --- a/source/blender/makesdna/DNA_object_force.h +++ b/source/blender/makesdna/DNA_object_force.h @@ -163,6 +163,7 @@ typedef struct SoftBody { #define PFIELD_USEMIN 256 #define PFIELD_USEMAXR 512 #define PFIELD_USEMINR 1024 +#define PFIELD_TEX_ROOTCO 2048 /* pd->falloff */ #define PFIELD_FALL_SPHERE 0 |