diff options
author | Ton Roosendaal <ton@blender.org> | 2004-04-28 22:08:34 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-04-28 22:08:34 +0400 |
commit | 02ba73aaade72fbef292c59505a5b4e9e01f44f5 (patch) | |
tree | 290d5f39017827a0264ab86542f60cb159b112b2 /source/blender/makesdna | |
parent | 0da09b4299e8af299621ac049dfb94c7bdd9f69e (diff) |
Sneaked in new feature (request samo):
The Image texture repeat options, now allow a "Checker" repeat. With
odd and even tiles set separately, and a size button to set a
'Mortar' inbetween tiles.
http://www.blender3d.org/cms/Render_engine_features.215.0.html
Also fixed bug: using 'CalcAlpha' option for image textures didn't give
antialised edges for image.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_texture_types.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h index a60c4f117d6..88f25f9c0a5 100644 --- a/source/blender/makesdna/DNA_texture_types.h +++ b/source/blender/makesdna/DNA_texture_types.h @@ -149,6 +149,7 @@ typedef struct Tex { float cropxmin, cropymin, cropxmax, cropymax; short xrepeat, yrepeat; short extend, len; + float checkerdist, pad; short frames, offset, sfra, fie_ima; float norfac, *nor; @@ -224,15 +225,18 @@ typedef struct Tex { #define TEX_MORKPATCH 16384 /* flag */ -#define TEX_COLORBAND 1 -#define TEX_FLIPBLEND 2 -#define TEX_NEGALPHA 4 +#define TEX_COLORBAND 1 +#define TEX_FLIPBLEND 2 +#define TEX_NEGALPHA 4 +#define TEX_CHECKER_ODD 8 +#define TEX_CHECKER_EVEN 16 /* extend (starts with 1 because of backward comp.) */ #define TEX_EXTEND 1 #define TEX_CLIP 2 #define TEX_REPEAT 3 #define TEX_CLIPCUBE 4 +#define TEX_CHECKER 5 /* noisetype */ #define TEX_NOISESOFT 0 |