CTS-231 WIP new ARC algorithm

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

deminimis change, no review
master
Nyx (Neal Orman) 2010-09-01 12:03:03 -04:00
parent ce3e832706
commit 20bb2636ed
1 changed files with 2 additions and 3 deletions

View File

@ -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)