Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-03-07 14:01:43 +0300
committerTon Roosendaal <ton@blender.org>2005-03-07 14:01:43 +0300
commitfb94fcd4e72055dc774e8030546361000d59845a (patch)
treedcd64e9369469b9b217eddd6a07e81ccfdda1269 /source/blender/makesdna/DNA_texture_types.h
parenta1f97a01e4b9612d5c35b61c3e9f32fdda7aa7a2 (diff)
Patch provided by Chris Burt;
Wood/marble now have three waveforms to choose from: Sine, Saw and Triangle. The Saw wave allows for much more realistic wood, especially in combination with a ColorBand. A blender3d.org release page is being constructed about it. Added: commit in editmesh_add.c to remove circle warning in face-select mode.
Diffstat (limited to 'source/blender/makesdna/DNA_texture_types.h')
-rw-r--r--source/blender/makesdna/DNA_texture_types.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h
index cd6a0b8bbdb..14617018910 100644
--- a/source/blender/makesdna/DNA_texture_types.h
+++ b/source/blender/makesdna/DNA_texture_types.h
@@ -243,6 +243,22 @@ typedef struct Tex {
#define TEX_NOISESOFT 0
#define TEX_NOISEPERL 1
+/* tex->noisebasis2 in texture.c - wood waveforms */
+#define TEX_SIN 0
+#define TEX_SAW 1
+#define TEX_TRI 2
+
+/* tex->stype in texture.c - wood types */
+#define TEX_BAND 0
+#define TEX_RING 1
+#define TEX_BANDNOISE 2
+#define TEX_RINGNOISE 3
+
+/* tex->stype in texture.c - marble types */
+#define TEX_SOFT 0
+#define TEX_SHARP 1
+#define TEX_SHARPER 2
+
/* wrap */
#define MTEX_FLAT 0
#define MTEX_CUBE 1