From 20bb2636ed09f23807e78223422f54bed19a962c Mon Sep 17 00:00:00 2001
From: "Nyx (Neal Orman)" <nyx@lindenlab.com>
Date: Wed, 1 Sep 2010 12:03:03 -0400
Subject: [PATCH] CTS-231 WIP new ARC algorithm

tweaked some numbers that were incorrect when I originally wrote the algorithm

deminimis change, no review
---
 indra/newview/llvovolume.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index bf4cfc870f..5448e7dcd9 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -2884,13 +2884,12 @@ U32 LLVOVolume::getRenderCost(texture_cost_t &textures) const
 
 	// per-prim costs
 	static const U32 ARC_INVISI_COST = 1;
-	static const U32 ARC_PARTICLE_COST = 16;
+	static const U32 ARC_PARTICLE_COST = 100;
 	static const U32 ARC_CUT_COST = 1;
 	static const U32 ARC_TEXTURE_COST = 5;
 
 	// per-prim multipliers
 	static const U32 ARC_HOLLOW_MULT = 2;
-	static const U32 ARC_TWIST_MULT = 2;
 	static const U32 ARC_CIRC_PROF_MULT = 2;
 	static const U32 ARC_CIRC_PATH_MULT = 2;
 	static const U32 ARC_GLOW_MULT = 2;
@@ -3110,7 +3109,7 @@ U32 LLVOVolume::getRenderCost(texture_cost_t &textures) const
 
 	if (twist)
 	{
-		shame *= twist * ARC_TWIST_MULT;
+		shame *= twist;
 	}
 
 	if (circular_profile)
-- 
GitLab