Subversion Repository Public Repository

Divide-Framework

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

Changeset 273

Committed by IonutCava on Wed 11 Jun, 2014 20:34:00 +0000

Commit Message:

[Ionut] [[BR]]
- Improved batching part2: [[BR]]
— Moved all bone transformation matrices upload from uniform functions in SceneNode to Shader Storage Buffers in AnimationController class with updates controlled by SceneGraphNode’s AnimationComponent [[BR]]
-— No double-buffering or efficient mapping of data yet. Just raw buffer updates [[BR]]
— Replaced all RenderStateBlock* pointers with I64 hash values [[BR]]
-— Will be used later in draw commands as per-shader state hash [[BR]]
— Moved getShaderProgram from Material to Material::ShaderInfo [[BR]]
-— Improved redundant uniform checks [[BR]]
— Improved texture unit changing in case of redundant texture bind case (i.e. skip changing the texture unit) [[BR]]
[[BR]]
- Improved float and double comparison functions using algorithms described in http://randomascii.wordpress.com/2012/02/13/dont-store-that-in-a-float/ [[BR]]
- Added a new utility function, DIVIDE_ASSERT, to more easily bind an assert check with a specific message [[BR]]
- Added missing files from Forward+ renderer’s initial code [[BR]]

Changes

Added /trunk/Source Code/Graphs/Components/SGNComponent.cpp

Added /trunk/Source Code/Rendering/Headers/ClipRegion.h

Added /trunk/Source Code/Rendering/Lighting/Headers/LightGrid.h

Added /trunk/Source Code/Rendering/Lighting/LightGrid.cpp

Removed /trunk/Source Code/DivideSever/Utility/Headers/MathClasses.h

Modified /trunk/Divide-Client.exe Diff

Modified /trunk/Divide-Server.exe Diff

Modified /trunk/Source Code/AI/PathFinding/NavMeshes/Headers/NavMeshDebugDraw.h Diff

Modified /trunk/Source Code/AI/PathFinding/NavMeshes/NavMeshDebugDraw.cpp Diff

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

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

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

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

Modified /trunk/Source Code/Core/MemoryManagement/TrackedObject.cpp Diff

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

Modified /trunk/Source Code/DivideSever/Utility/Headers/DataTypes.h Diff

Modified /trunk/Source Code/Dynamics/Entities/Impostor.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Particles/Headers/ParticleEmitter.h Diff

Modified /trunk/Source Code/Dynamics/Entities/Particles/ParticleEmitter.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Units/Unit.cpp Diff

Modified /trunk/Source Code/Dynamics/Physics/PhysX/PhysX.cpp Diff

Modified /trunk/Source Code/Environment/Sky/Headers/Sky.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/Terrain.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/Water.cpp Diff

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

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

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

Modified /trunk/Source Code/Geometry/Animations/AnimationController.cpp Diff

Modified /trunk/Source Code/Geometry/Animations/Headers/AnimationController.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/Geometry/Shapes/Headers/Object3D.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/SkinnedSubMesh.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Object3D.cpp Diff

Modified /trunk/Source Code/Geometry/Shapes/SkinnedSubMesh.cpp Diff

Modified /trunk/Source Code/Graphs/Components/AnimationComponent.cpp Diff

Modified /trunk/Source Code/Graphs/Components/Headers/AnimationComponent.h Diff

Modified /trunk/Source Code/Graphs/Components/Headers/SGNComponent.h Diff

Modified /trunk/Source Code/Graphs/Headers/SceneGraphNode.h Diff

Modified /trunk/Source Code/Graphs/Headers/SceneNodeRenderState.h Diff

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

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

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

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

Modified /trunk/Source Code/Hardware/Input/EventHandler.cpp Diff

Modified /trunk/Source Code/Hardware/Input/InputInterface.cpp Diff

Modified /trunk/Source Code/Hardware/Platform/Headers/PlatformDefines.h Diff

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

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

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

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

Modified /trunk/Source Code/Hardware/Video/Direct3D/Buffers/PixelBuffer/Headers/d3dPixelBuffer.h Diff

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

Modified /trunk/Source Code/Hardware/Video/Direct3D/Buffers/ShaderBuffer/d3dConstantBuffer.cpp 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/RenderAPIEnums.h Diff

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

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

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

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

Modified /trunk/Source Code/Hardware/Video/OpenGL/Buffers/ShaderBuffer/glUniformBuffer.cpp 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/Buffers/glBufferLockManager.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/Shaders/Headers/glShaderProgram.h Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Shaders/glShader.cpp 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/OpenGL/Textures/glSamplerOject.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Textures/glTexture.cpp Diff

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

Modified /trunk/Source Code/Hardware/Video/OpenGL/gluOverrides.cpp 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/Libs/src/DivideNetworking/ByteBuffer.cpp Diff

Modified /trunk/Source Code/Libs/src/ReCast/Detour/Include/DetourAssert.h Diff

Modified /trunk/Source Code/Libs/src/ReCast/ReCast/Include/RecastAssert.h Diff

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

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

Modified /trunk/Source Code/Rendering/RenderPass/Headers/RenderBin.h Diff

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

Modified /trunk/Source Code/Scenes/Scene.cpp Diff

Modified /trunk/Source Code/Scenes/WarScene/WarScene.cpp Diff

Modified /trunk/Source Code/Scenes/WarScene/WarSceneAISceneImpl.cpp Diff

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

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

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

Modified /trunk/Source Code/config.h Diff

Modified /trunk/Source Code/core.h Diff

Modified /trunk/VCData/VisualStudioProjects/DIVIDE_VS2013.vcxproj Diff

Modified /trunk/VCData/VisualStudioProjects/DIVIDE_VS2013.vcxproj.filters Diff

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

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

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

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

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