| 19 |
public static int ActivePrimCount = 1000; |
public static int ActivePrimCount = 1000; |
| 20 |
public static int TextureCachedCount = 1000; |
public static int TextureCachedCount = 1000; |
| 21 |
|
|
| 22 |
//data |
//primitives in the scene with visual format |
| 23 |
private readonly Dictionary<uint, Visual3D> m_models = new Dictionary<uint, Visual3D>(); |
private readonly Dictionary<uint, Visual3D> m_models = new Dictionary<uint, Visual3D>(); |
| 24 |
|
//primitives in scene with original data format |
| 25 |
private readonly Dictionary<uint, Primitive> m_PrimModelsInScene = new Dictionary<uint, Primitive>(); |
private readonly Dictionary<uint, Primitive> m_PrimModelsInScene = new Dictionary<uint, Primitive>(); |
| 26 |
|
|
| 27 |
//key:childlocalid value:parentlocalid |
//primitives and their parent. key:childlocalid value:parentlocalid |
| 28 |
private readonly Dictionary<uint, uint> primitiveParent = new Dictionary<uint, uint>(); |
private readonly Dictionary<uint, uint> primitiveParent = new Dictionary<uint, uint>(); |
| 29 |
|
|
| 30 |
private readonly Dictionary<uint, Primitive> m_modelsWatingParent = new Dictionary<uint, Primitive>(); |
private readonly Dictionary<uint, Primitive> m_modelsWatingParent = new Dictionary<uint, Primitive>(); |
| 31 |
|
|
| 32 |
private readonly Dictionary<uint, UUID> m_VisualNeedTextures = new Dictionary<uint, UUID>(); |
private readonly Dictionary<uint, UUID> m_VisualNeedTextures = new Dictionary<uint, UUID>(); |
| 33 |
|
//texture materials. |
| 34 |
private readonly Dictionary<UUID, Material> m_materials = new Dictionary<UUID, Material>(); |
private readonly Dictionary<UUID, Material> m_materials = new Dictionary<UUID, Material>(); |
| 35 |
|
//used for store the models around the first person avatar within a certain distance. |
| 36 |
private readonly Dictionary<uint, Visual3D> m_ActivedModels = new Dictionary<uint, Visual3D>(); |
private readonly Dictionary<uint, Visual3D> m_ActivedModels = new Dictionary<uint, Visual3D>(); |
| 37 |
|
|
| 38 |
|
//temp variable store the search result of certain models in scene. |
| 39 |
public Dictionary<uint, Visual3D> workingDictionary_ModelsInscene = new Dictionary<uint, Visual3D>(); |
public Dictionary<uint, Visual3D> workingDictionary_ModelsInscene = new Dictionary<uint, Visual3D>(); |
| 40 |
public Dictionary<uint, Visual3D> workingDic_ActivedModels = new Dictionary<uint, Visual3D>(); |
public Dictionary<uint, Visual3D> workingDic_ActivedModels = new Dictionary<uint, Visual3D>(); |
| 41 |
|
|