diff options
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs index 66bb429..4a3fae6 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs | |||
@@ -35,18 +35,15 @@ namespace OpenSim.Region.ClientStack.Linden | |||
35 | // fees are normalized to 1.0 | 35 | // fees are normalized to 1.0 |
36 | // this parameters scale them to basic cost ( so 1.0 translates to 10 ) | 36 | // this parameters scale them to basic cost ( so 1.0 translates to 10 ) |
37 | 37 | ||
38 | public float ModelMeshCostFactor = 0f; //Free | 38 | public float ModelMeshCostFactor = 0.0f; // scale total cost relative to basic (excluding textures) |
39 | public float ModelMinCostFactor = 0f; // Free | 39 | public float ModelTextureCostFactor = 1.0f; // scale textures fee to basic. |
40 | //public float ModelMeshCostFactor = 1.0f; // scale total cost relative to basic (excluding textures) | 40 | public float ModelMinCostFactor = 0.0f; // 0.5f; // minimum total model free excluding textures |
41 | //public float ModelMinCostFactor = 0.5f; // minimum total model free excluding textures | ||
42 | 41 | ||
43 | public float ModelTextureCostFactor = 1.00f; // keep full price because texture price | ||
44 | // is based on it's storage needs not on usability | ||
45 | // itens costs in normalized values | 42 | // itens costs in normalized values |
46 | // ie will be multiplied by basicCost and factors above | 43 | // ie will be multiplied by basicCost and factors above |
47 | const float primCreationCost = 0.002f; // extra cost for each prim creation overhead | 44 | public float primCreationCost = 0.002f; // extra cost for each prim creation overhead |
48 | // weigthed size to normalized cost | 45 | // weigthed size to normalized cost |
49 | const float bytecost = 1e-5f; | 46 | public float bytecost = 1e-5f; |
50 | 47 | ||
51 | // mesh upload fees based on compressed data sizes | 48 | // mesh upload fees based on compressed data sizes |
52 | // several data sections are counted more that once | 49 | // several data sections are counted more that once |