From 5804f0cb6149bfee83b3edc8570b28d83c74c471 Mon Sep 17 00:00:00 2001 From: Gundalf <gundalf01@users.sourceforge.net> Date: Thu, 22 Jun 2006 22:26:38 +0000 Subject: [PATCH] Don't generate hundreds of tiny strips. --- NifExport/Strips.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NifExport/Strips.cpp b/NifExport/Strips.cpp index 0e117cb..8787bb2 100755 --- a/NifExport/Strips.cpp +++ b/NifExport/Strips.cpp @@ -14,7 +14,10 @@ void Exporter::strippify(TriStrips &strips, const Triangles &tris) PrimitiveGroup * groups = 0; unsigned short numGroups = 0; - SetStitchStrips( false ); + // GF 3, what about others? + SetCacheSize(CACHESIZE_GEFORCE3); + // don't generate hundreds of strips + SetStitchStrips(true); GenerateStrips(data, tris.size()*3, &groups, &numGroups); free( data ); -- GitLab