summaryrefslogtreecommitdiff
path: root/indra/newview/llagentwearables.h
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2011-08-26 18:04:44 -0400
committerNyx (Neal Orman) <nyx@lindenlab.com>2011-08-26 18:04:44 -0400
commitf8d68b088782567c2b0023cf693896368d97babb (patch)
tree1a394f6eb88d2e30e2d240701c993e36dfbe60b4 /indra/newview/llagentwearables.h
parente64b9269cb385a22c83d1c912e336aed11e40efe (diff)
SH-862 FIX re-scaling render weight algorithm
We were double-counting the factor of scale both through the streaming cost algorithm, as well as another multiplier in the render cost algorithm. This caused objects at small scales to have little cost difference regardless of amount of geometry, due to minimum costs. Eliminated extra scale factor, and instead scaled number of triangles up by a constant factor to keep the balance between geometry and texture costs sane.
Diffstat (limited to 'indra/newview/llagentwearables.h')
0 files changed, 0 insertions, 0 deletions