From f65a25531b99b756c513c9c1c73c160f72116646 Mon Sep 17 00:00:00 2001 From: Tofu Buzzard Date: Thu, 21 Oct 2010 22:40:06 +0100 Subject: disable prim tesselation 'split' factor - almost useless for deferred rendering, easily wastes ~20,000 triangles per frame. (transplanted from b4fbfa00768c42aed6a5c81b045fdde3920eda88) (transplanted from 056d6bdb02c0851698ae6fc36b086751d692a6ea) (transplanted from 66ccdba75509ab9c4f631d6e9835fdd632ee3b10) --- indra/llmath/llvolume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llmath') diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index d6dfb5c7a9..2d3d1adaa5 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -1898,7 +1898,7 @@ BOOL LLVolume::generate() // Split is a parameter to LLProfile::generate that tesselates edges on the profile // to prevent lighting and texture interpolation errors on triangles that are // stretched due to twisting or scaling on the path. - S32 split = (S32) ((mDetail)*0.66f); + S32 split = 0;//(S32) ((mDetail)*0.66f); if (mParams.getPathParams().getCurveType() == LL_PCODE_PATH_LINE && (mParams.getPathParams().getScale().mV[0] != 1.0f || -- cgit v1.2.3