mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
a few more changes for hypothetical terrain PBR
This commit is contained in:
@@ -59,7 +59,7 @@ namespace OpenSim.Framework
|
||||
public const float MinWaterHeight = 0;
|
||||
public const float MaxWaterHeight = 8000f;
|
||||
|
||||
public const int MaxTextureResolution = 1024;
|
||||
public const int MaxTextureResolution = 2048;
|
||||
|
||||
public static readonly string DefaultTexture = "89556747-24cb-43ed-920b-47caed15465f"; //plywood
|
||||
public static readonly UUID DefaultTextureID = new UUID(DefaultTexture);
|
||||
|
||||
@@ -598,6 +598,18 @@ namespace OpenSim.Framework
|
||||
public int Price;
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum ViewerFlags:uint
|
||||
{
|
||||
SentSeeds = 0x1000,
|
||||
ObjectAnim = 0x2000,
|
||||
WLEnv = 0x4000,
|
||||
AdvEnv = 0x8000,
|
||||
PBR = 0x10000,
|
||||
TPBR = 0x20000,
|
||||
SentTPBR = 0x40000,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Specifies the fields that have been changed when sending a prim or
|
||||
/// avatar update
|
||||
@@ -671,6 +683,8 @@ namespace OpenSim.Framework
|
||||
|
||||
ulong ActiveGroupPowers { get; set;}
|
||||
|
||||
ViewerFlags ViewerFlags { get;}
|
||||
|
||||
Dictionary<UUID, ulong> GetGroupPowers();
|
||||
|
||||
void SetGroupPowers(Dictionary<UUID, ulong> powers);
|
||||
|
||||
Reference in New Issue
Block a user