diff options
author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2010-09-01 12:03:03 -0400 |
---|---|---|
committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2010-09-01 12:03:03 -0400 |
commit | 20bb2636ed09f23807e78223422f54bed19a962c (patch) | |
tree | 8decb616f553bbac244e049124536e69f1cc25f7 /indra/newview | |
parent | ce3e83270606b064afbe77d8f8a8d268cfa3772a (diff) |
CTS-231 WIP new ARC algorithm
tweaked some numbers that were incorrect when I originally wrote the algorithm
deminimis change, no review
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llvovolume.cpp | 5 |
1 files 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) |