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:
authorMatt Ebb <matt@mke3.net>2009-09-04 10:55:01 +0400
committerMatt Ebb <matt@mke3.net>2009-09-04 10:55:01 +0400
commit62dd488ad16911620137ac655ae2f5980374c2bc (patch)
treec54a3906681e02cf48a8f60a8196b8646fccc799 /source/blender/makesdna/DNA_texture_types.h
parent6caff6b390b257f70abe3949463797898b8bd2fd (diff)
* New and improved voxel interpolation methods, from Alfredo.
Now there is (in order of speed): * Nearest neighbour (very rough quality) * Linear (medium quality) * Quadratic (good quality) * Cubic Catmull-rom (very good quality, crisp) * Cubic B-spline (very good quality, smooth) Thanks!
Diffstat (limited to 'source/blender/makesdna/DNA_texture_types.h')
-rw-r--r--source/blender/makesdna/DNA_texture_types.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h
index 1b6ed1bc032..4df63ee9cd9 100644
--- a/source/blender/makesdna/DNA_texture_types.h
+++ b/source/blender/makesdna/DNA_texture_types.h
@@ -515,7 +515,10 @@ typedef struct TexMapping {
/* interpolation */
#define TEX_VD_NEARESTNEIGHBOR 0
#define TEX_VD_LINEAR 1
-#define TEX_VD_TRICUBIC 2
+#define TEX_VD_QUADRATIC 2
+#define TEX_VD_TRICUBIC_CATROM 3
+#define TEX_VD_TRICUBIC_BSPLINE 4
+#define TEX_VD_TRICUBIC_SLOW 5
/* file format */
#define TEX_VD_BLENDERVOXEL 0