Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Changeset 268

Committed by IonutCava on Wed 04 Jun, 2014 10:20:27 +0000

Commit Message:

[IonutCava] [[BR]]
- Terrain and vegetation updates: [[BR]]
— Use standard phong lighting model [[BR]]
— Separate grass patches per chunk [[BR]]
— Reduce number of required texture bind points for terrain by adding both textures and normal maps in a single texture array [[BR]]
— Draw terrain with 2 drawcalls (using glMultiDrawElements twice, once for LoD == 0 and once for LoD > 0) [[BR]]
[[BR]]
- Buffer management updates: [[BR]]
— Unified buffer binding system [[BR]]
— Made Uniform buffer objects visible to all classes and moved lightUBO to LightManager, matricesUBO to GFXDevice etc [[BR]]
— Added initial support for Shader Buffer Objects [[BR]]
— Moved viewport management to GFXDevice class [[BR]]
[[BR]]
- Rendering improvements: [[BR]]
— Added Hi-Z occlusion culling to instanceCull shader (using Hi-Z depth buffer constructed in GFXDevice class) [[BR]]
— Resolved issues with shadow maps overriding texture bind locations [[[BR]]
— Improved shader and shader program loading [[BR]]
— Improved material transparency support [[BR]]
— Added buffer lock manager class from “Approaching Zero Driver Overhead in OpenGL (Presented by NVIDIA)” speech at GDC14 [[BR]]

Changes

Added /trunk/Source Code/Hardware/Video/Buffers/ShaderBuffer

Added /trunk/Source Code/Hardware/Video/Buffers/ShaderBuffer/Headers

Added /trunk/Source Code/Hardware/Video/Buffers/ShaderBuffer/Headers/ShaderBuffer.h

Added /trunk/Source Code/Hardware/Video/Direct3D/Buffers/ShaderBuffer

Added /trunk/Source Code/Hardware/Video/Direct3D/Buffers/ShaderBuffer/Headers

Added /trunk/Source Code/Hardware/Video/Direct3D/Buffers/ShaderBuffer/Headers/d3dConstantBuffer.h

Added /trunk/Source Code/Hardware/Video/Direct3D/Buffers/ShaderBuffer/d3dConstantBuffer.cpp

Added /trunk/Source Code/Hardware/Video/OpenGL/Buffers/Headers

Added /trunk/Source Code/Hardware/Video/OpenGL/Buffers/Headers/glBufferLockManager.h

Added /trunk/Source Code/Hardware/Video/OpenGL/Buffers/ShaderBuffer

Added /trunk/Source Code/Hardware/Video/OpenGL/Buffers/ShaderBuffer/Headers

Added /trunk/Source Code/Hardware/Video/OpenGL/Buffers/ShaderBuffer/Headers/glUniformBuffer.h

Added /trunk/Source Code/Hardware/Video/OpenGL/Buffers/ShaderBuffer/glUniformBuffer.cpp

Added /trunk/Source Code/Hardware/Video/OpenGL/Buffers/glBufferLockManager.cpp

Added /trunk/assets/shaders/GLSL/HiZConstruct.glsl

Removed /trunk/Source Code/Hardware/Video/OpenGL/Shaders/Headers/glUniformBufferObject.h

Removed /trunk/Source Code/Hardware/Video/OpenGL/Shaders/glUniformBufferObject.cpp

Removed /trunk/assets/shaders/GLSL/fragmentAtoms/phong_directional_light.frag

Removed /trunk/assets/shaders/GLSL/fragmentAtoms/phong_point_light.frag

Removed /trunk/assets/shaders/GLSL/fragmentAtoms/phong_spot_light.frag

Modified /trunk/Divide-Client.exe Diff

Modified /trunk/Divide-Server.exe Diff

Modified /trunk/Source Code/Core/Headers/Kernel.h Diff

Modified /trunk/Source Code/Core/Kernel.cpp Diff

Modified /trunk/Source Code/Core/Math/Headers/MathVectors.h Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/WaterPlaneLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/Headers/Resource.h Diff

Modified /trunk/Source Code/Environment/Sky/Sky.cpp Diff

Modified /trunk/Source Code/Environment/Terrain/Headers/Terrain.h Diff

Modified /trunk/Source Code/Environment/Terrain/Headers/TerrainChunk.h Diff

Modified /trunk/Source Code/Environment/Terrain/Headers/TerrainDescriptor.h Diff

Modified /trunk/Source Code/Environment/Terrain/Quadtree/Headers/Quadtree.h Diff

Modified /trunk/Source Code/Environment/Terrain/Quadtree/Headers/QuadtreeNode.h Diff

Modified /trunk/Source Code/Environment/Terrain/Quadtree/Quadtree.cpp Diff

Modified /trunk/Source Code/Environment/Terrain/Quadtree/QuadtreeNode.cpp Diff

Modified /trunk/Source Code/Environment/Terrain/Terrain.cpp Diff

Modified /trunk/Source Code/Environment/Terrain/TerrainChunk.cpp Diff

Modified /trunk/Source Code/Environment/Terrain/TerrainLoader.cpp Diff

Modified /trunk/Source Code/Environment/Vegetation/Headers/Vegetation.h Diff

Modified /trunk/Source Code/Environment/Vegetation/Vegetation.cpp Diff

Modified /trunk/Source Code/Environment/Water/Headers/Water.h Diff

Modified /trunk/Source Code/Environment/Water/Water.cpp Diff

Modified /trunk/Source Code/GUI/GUIConsole.cpp Diff

Modified /trunk/Source Code/GUI/Headers/GUIConsole.h Diff

Modified /trunk/Source Code/Geometry/Material/Headers/Material.h Diff

Modified /trunk/Source Code/Geometry/Material/Material.cpp Diff

Modified /trunk/Source Code/Graphs/SceneNode.cpp Diff

Modified /trunk/Source Code/Hardware/Platform/Task.cpp Diff

Modified /trunk/Source Code/Hardware/Video/Buffers/FrameBuffer/Headers/FrameBuffer.h Diff

Modified /trunk/Source Code/Hardware/Video/Buffers/VertexBuffer/Headers/GenericVertexData.h Diff

Modified /trunk/Source Code/Hardware/Video/Buffers/VertexBuffer/Headers/VertexBuffer.h Diff

Modified /trunk/Source Code/Hardware/Video/Direct3D/Buffers/FrameBuffer/Headers/d3dRenderTarget.h Diff

Modified /trunk/Source Code/Hardware/Video/Direct3D/Buffers/FrameBuffer/d3dRenderTarget.cpp Diff

Modified /trunk/Source Code/Hardware/Video/Direct3D/Buffers/VertexBuffer/Headers/d3dGenericVertexData.h Diff

Modified /trunk/Source Code/Hardware/Video/Direct3D/Buffers/VertexBuffer/Headers/d3dVertexBuffer.h Diff

Modified /trunk/Source Code/Hardware/Video/Direct3D/DXWrapper.cpp Diff

Modified /trunk/Source Code/Hardware/Video/Direct3D/Headers/DXWrapper.h Diff

Modified /trunk/Source Code/Hardware/Video/Direct3D/Shaders/Headers/d3dShaderProgram.h Diff

Modified /trunk/Source Code/Hardware/Video/GFXDevice.cpp Diff

Modified /trunk/Source Code/Hardware/Video/Headers/GFXDevice-Inl.h Diff

Modified /trunk/Source Code/Hardware/Video/Headers/GFXDevice.h Diff

Modified /trunk/Source Code/Hardware/Video/Headers/RenderAPIWrapper.h Diff

Modified /trunk/Source Code/Hardware/Video/Headers/RenderStateBlock.h Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Buffers/FrameBuffer/Headers/glFrameBuffer.h Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Buffers/FrameBuffer/glFrameBuffer.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Buffers/PixelBuffer/glPixelBuffer.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Buffers/VertexBuffer/Headers/glGenericVertexData.h Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Buffers/VertexBuffer/Headers/glVertexArray.h Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Buffers/VertexBuffer/glGenericVertexData.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Buffers/VertexBuffer/glVertexArray.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/GLEntities.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/GLFWWrapper.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/GLStates.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/GLWrapper.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Headers/GLWrapper.h Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Headers/glResources.h Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Shaders/Headers/glShaderProgram.h Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Shaders/glShaderProgram.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Text/Headers/glfontstash.h Diff

Modified /trunk/Source Code/Hardware/Video/RenderStateBlock.cpp Diff

Modified /trunk/Source Code/Hardware/Video/Shaders/Headers/Shader.h Diff

Modified /trunk/Source Code/Hardware/Video/Shaders/Headers/ShaderProgram.h Diff

Modified /trunk/Source Code/Hardware/Video/Shaders/ShaderProgram.cpp Diff

Modified /trunk/Source Code/Hardware/Video/Textures/Headers/Texture.h Diff

Modified /trunk/Source Code/Hardware/Video/Textures/Texture.cpp Diff

Modified /trunk/Source Code/Libs/src/GLIM/glimBatch.cpp Diff

Modified /trunk/Source Code/Libs/src/GLIM/glimBatchData.cpp Diff

Modified /trunk/Source Code/Managers/Headers/LightManager.h Diff

Modified /trunk/Source Code/Managers/LightManager.cpp Diff

Modified /trunk/Source Code/Rendering/Camera/Camera.cpp Diff

Modified /trunk/Source Code/Rendering/Camera/Headers/Camera.h Diff

Modified /trunk/Source Code/Rendering/Lighting/Headers/Light.h Diff

Modified /trunk/Source Code/Rendering/Lighting/Light.cpp Diff

Modified /trunk/Source Code/Rendering/Lighting/ShadowMapping/CascadedShadowMaps.cpp Diff

Modified /trunk/Source Code/Rendering/Lighting/ShadowMapping/Headers/CascadedShadowMaps.h Diff

Modified /trunk/Source Code/Rendering/Lighting/ShadowMapping/Headers/ShadowMap.h Diff

Modified /trunk/Source Code/Rendering/Lighting/ShadowMapping/ShadowMap.cpp Diff

Modified /trunk/Source Code/Rendering/PostFX/CustomOperators/BloomPreRenderOperator.cpp Diff

Modified /trunk/Source Code/Rendering/PostFX/CustomOperators/Headers/BloomPreRenderOperator.h Diff

Modified /trunk/Source Code/Rendering/PostFX/PreRenderStageBuilder.cpp Diff

Modified /trunk/Source Code/Rendering/RenderPass/RenderBin.cpp Diff

Modified /trunk/Source Code/Utility/Headers/ImageTools.h Diff

Modified /trunk/Source Code/Utility/ImageTools.cpp Diff

Modified /trunk/Source Code/Utility/XMLParser.cpp Diff

Modified /trunk/VCData/Divide VS2013.sdf Diff

Modified /trunk/VCData/Divide VS2013.v12.suo Diff

Modified /trunk/VCData/VisualStudioProjects Diff

Modified /trunk/VCData/VisualStudioProjects/Divide-Hardware.vcxproj Diff

Modified /trunk/VCData/VisualStudioProjects/Divide-Hardware.vcxproj.filters Diff

Modified /trunk/XML/Scenes/MainScene/collisionMeshes Diff

Modified /trunk/XML/Scenes/MainScene/terrain.xml Diff

Modified /trunk/XML/Scenes/MainScene.xml Diff

Modified /trunk/XML/Scenes/PingPongScene/collisionMeshes Diff

Modified /trunk/XML/Scenes/WarScene/collisionMeshes Diff

Modified /trunk/assets/shaders/GLSL/blur.glsl Diff

Modified /trunk/assets/shaders/GLSL/common/lightInput.cmn Diff

Modified /trunk/assets/shaders/GLSL/depthPass.glsl Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/phong_light_loop.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/phong_lighting.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/shadowMapping.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/shadow_directional.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/shadow_point.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/shadow_spot.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/terrainSplatting.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/texturing.frag Diff

Modified /trunk/assets/shaders/GLSL/grass.glsl Diff

Modified /trunk/assets/shaders/GLSL/instanceCull.glsl Diff

Modified /trunk/assets/shaders/GLSL/terrain.glsl Diff

Modified /trunk/assets/shaders/GLSL/vertexAtoms/foliage.vert Diff

Modified /trunk/assets/shaders/GLSL/vertexAtoms/lightingDefaults.vert Diff

Modified /trunk/assets/shaders/GLSL/water.glsl Diff

Modified /trunk/localisation/enGB.ini Diff

Modified /trunk/shaderCache/Text Diff