From 9827bf0cd7c94273e147caae6bb254cf70aed221 Mon Sep 17 00:00:00 2001 From: Kester Maddock Date: Sun, 16 May 2004 12:56:36 +0000 Subject: Up the maximum triangles in a bucket. GPUs can do more now. --- source/gameengine/Converter/BL_SkinMeshObject.h | 4 ++-- source/gameengine/Rasterizer/RAS_MeshObject.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/gameengine/Converter/BL_SkinMeshObject.h b/source/gameengine/Converter/BL_SkinMeshObject.h index 13cd04de2ba..2690bd2e3a1 100644 --- a/source/gameengine/Converter/BL_SkinMeshObject.h +++ b/source/gameengine/Converter/BL_SkinMeshObject.h @@ -91,8 +91,8 @@ public: class BL_SkinMeshObject : public RAS_MeshObject { - enum { BUCKET_MAX_INDICES = 2048};//2048};//8192}; - enum { BUCKET_MAX_TRIANGLES = 1024}; + enum { BUCKET_MAX_INDICES = 16384};//2048};//8192}; + enum { BUCKET_MAX_TRIANGLES = 4096}; KX_ArrayOptimizer* GetArrayOptimizer(RAS_IPolyMaterial* polymat) { diff --git a/source/gameengine/Rasterizer/RAS_MeshObject.h b/source/gameengine/Rasterizer/RAS_MeshObject.h index 5e823621588..335e9784553 100644 --- a/source/gameengine/Rasterizer/RAS_MeshObject.h +++ b/source/gameengine/Rasterizer/RAS_MeshObject.h @@ -120,8 +120,8 @@ inline bool operator <( const RAS_MatArrayIndex& rhs,const RAS_MatArrayIndex& l class RAS_MeshObject { - enum { BUCKET_MAX_INDICES = 2048 };//2048};//8192}; - enum { BUCKET_MAX_TRIANGLES = 1024 }; + enum { BUCKET_MAX_INDICES = 16384 };//2048};//8192}; + enum { BUCKET_MAX_TRIANGLES = 4096 }; // GEN_Map m_matVertexArrayS; //vector m_vertexArrays; -- cgit v1.2.3