2
0
Эх сурвалжийг харах

Travis CI: API documentation update at 2015-08-05 16:16:10 UTC.
[ci package]

Commit: https://github.com/urho3d/Urho3D/commit/a737bbb671b4909d1c64da129ac1cbd5848ec610

Message: Fix terrain occlusion leaving holes in the occlusion geometry, and being over-aggressive with height reduction, which would result in poor occlusion. Allow to configure terrain number of LOD levels to be less than 4. Allow to configure the LOD level used for terrain occlusion (not recommended to be changed.) Closes #825.

urho3d-travis-ci 10 жил өмнө
parent
commit
1592c95915

+ 2 - 0
Docs/AngelScriptAPI.h

@@ -10308,6 +10308,7 @@ uint lightMask;
 float lodBias;
 Material material;
 uint maxLights;
+uint maxLodLevels;
 /* readonly */
 Node node;
 /* readonly */
@@ -10319,6 +10320,7 @@ IntVector2 numVertices;
 ObjectAnimation objectAnimation;
 bool occludee;
 bool occluder;
+uint occlusionLodLevel;
 int patchSize;
 /* readonly */
 Array<TerrainPatch> patches;

+ 8 - 2
Docs/LuaScriptAPI.dox

@@ -5626,6 +5626,8 @@ Methods:
 
 - void SetPatchSize(int size)
 - void SetSpacing(const Vector3& spacing)
+- void SetMaxLodLevels(unsigned levels)
+- void SetOcclusionLodLevel(unsigned level)
 - void SetSmoothing(bool enable)
 - bool SetHeightMap(Image* image)
 - void SetMaterial(Material* material)
@@ -5645,6 +5647,8 @@ Methods:
 - const Vector3& GetSpacing() const
 - const IntVector2& GetNumVertices() const
 - const IntVector2& GetNumPatches() const
+- unsigned GetMaxLodLevels() const
+- unsigned GetOcclusionLodLevel() const
 - bool GetSmoothing() const
 - Image* GetHeightMap() const
 - Material* GetMaterial() const
@@ -5673,6 +5677,8 @@ Properties:
 - Vector3& spacing
 - IntVector2& numVertices (readonly)
 - IntVector2& numPatches (readonly)
+- unsigned maxLodLevels
+- unsigned occlusionLodLevel
 - bool smoothing
 - Image* heightMap
 - Material* material
@@ -5702,7 +5708,7 @@ Methods:
 - void ResetLod()
 - Geometry* GetGeometry() const
 - Geometry* GetMaxLodGeometry() const
-- Geometry* GetMinLodGeometry() const
+- Geometry* GetOcclusionGeometry() const
 - VertexBuffer* GetVertexBuffer() const
 - Terrain* GetOwner() const
 - TerrainPatch* GetNorthPatch() const
@@ -5716,7 +5722,7 @@ Properties:
 
 - Geometry* geometry (readonly)
 - Geometry* maxLodGeometry (readonly)
-- Geometry* minLodGeometry (readonly)
+- Geometry* occlusionGeometry (readonly)
 - VertexBuffer* vertexBuffer (readonly)
 - Terrain* owner
 - TerrainPatch* northPatch (readonly)

+ 4 - 0
Docs/ScriptAPI.dox

@@ -1875,6 +1875,7 @@ namespace Urho3D
 - %Material : ResourceRef
 - %Vertex %Spacing : Vector3
 - %Patch %Size : int
+- %Max %LOD %Levels : int
 - %Smooth %Height %Map : bool
 - %Is %Occluder : bool
 - %Can %Be %Occluded : bool
@@ -1887,6 +1888,7 @@ namespace Urho3D
 - %Light %Mask : int
 - %Shadow %Mask : int
 - %Zone %Mask : int
+- %Occlusion %LOD %level : int
 
 ### Text
 - %Name : String
@@ -11287,6 +11289,7 @@ Properties:
 - float lodBias
 - Material@ material
 - uint maxLights
+- uint maxLodLevels
 - Node@ node // readonly
 - uint numAttributes // readonly
 - IntVector2 numPatches // readonly
@@ -11294,6 +11297,7 @@ Properties:
 - ObjectAnimation@ objectAnimation
 - bool occludee
 - bool occluder
+- uint occlusionLodLevel
 - int patchSize
 - TerrainPatch@[] patches // readonly
 - int refs // readonly

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.0.126
+0.0.127