diff options
| author | Tofu Buzzard <no-email> | 2010-10-21 22:40:06 +0100 | 
|---|---|---|
| committer | Tofu Buzzard <no-email> | 2010-10-21 22:40:06 +0100 | 
| commit | f65a25531b99b756c513c9c1c73c160f72116646 (patch) | |
| tree | a27b3d150136db11da594decd0fea16f9e816617 | |
| parent | 9f25f406f2961def3e189265258a6eaf2a589362 (diff) | |
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)
| -rw-r--r-- | indra/llmath/llvolume.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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 || | 
