From 22bfc207f37b9f87fc576a985b59a2652ef4ff25 Mon Sep 17 00:00:00 2001 From: Robert Wenzlaff Date: Mon, 5 Jan 2004 08:44:49 +0000 Subject: -First port of Displacement mapping from tuhopuu. Image textures not working yet (R.vn and R.vlr no longer exist, and were needed to get the image mapped right). Works esp. well with Subsurfs. Sensitive to vertex normal issues in Simple and Mesh modes. -Also porting Simple Subdivide. Subdivides mesh at rendertime w/o changing shape, for smooth displace and Radiosity. -Removed an unused var from KnifeSubdivide. --- source/blender/makesdna/DNA_mesh_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesdna/DNA_mesh_types.h') diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index 3b69656464e..71c65d450bf 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -165,6 +165,7 @@ typedef struct Mesh { #define ME_SMESH 64 #define ME_SUBSURF 128 #define ME_OPT_EDGES 256 +#define ME_SIMPLE_DIV 512 /* puno = vertexnormal (mface) */ #define ME_FLIPV1 1 -- cgit v1.2.3