Subversion Repository Public Repository

Divide-Framework

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

Changeset 286

Committed by IonutCava on Fri 18 Jul, 2014 16:32:03 +0000

Commit Message:

[Ionut] [[BR]]

    • very buggy commit ** [[BR]]

- New rendering pipeline: [[BR]]
— Bumped OpenGL version to 4.4 [[BR]]
— Command based rendering. GFXDevice dispatches rendering commands to their respective buffers [[BR]]
— State changing is exclusively controlled by the GFXDevice class [[BR]]
— Material properties and transform matrices are stored in shader storage buffers that are updated after culling and uploaded once per RenderPass. Objects use drawIDs to index data in shaders [[BR]]
— Removed all custom matrices and other, per shader, bind data [[BR]]
— Removed per node light data. Light culling and shader buffers will replace the old light management system [[BR]]
— Framebuffers now use the Texture class for attachments [[BR]]
— Sampler objects now work like RenderStateBlocks. GL_API handles them and stores them in a hash indexed map [[BR]]
— Removed “prepareMaterial” calls. Pre-draw material setup is now only limited to texture binding [[BR]]
— Moved immediate mode emulation and primitive rendering from API level to GFXDevice level [[BR]]
— Framebuffer rendering must be completed with a call to end() to ensure proper MSAA resolve (asserts, otherwise) [[BR]]
- Fixed hash code generation for RenderStateBlock (and now, glSamplerObject) using boost::hash_combine [[BR]]
- Temporarily disabled XML caching for materials [[BR]]

Changes

Added /trunk/Source Code/Hardware/Video/GFXDeviceDebug.cpp

Added /trunk/Source Code/Hardware/Video/GFXDeviceState.cpp

Added /trunk/assets/shaders/GLSL/common/nodeBufferedInput.cmn

Removed /trunk/Source Code/Hardware/Video/Headers/RenderInstance.h

Removed /trunk/Source Code/Hardware/Video/OpenGL/GLEntities.cpp

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/Console.cpp Diff

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

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

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

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

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

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

Modified /trunk/Source Code/Core/Resources/ResourceCache.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Headers/Impostor.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/Triggers/Headers/Trigger.h Diff

Modified /trunk/Source Code/Dynamics/Entities/Triggers/Trigger.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/Headers/Water.h 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/GUISplash.cpp Diff

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

Modified /trunk/Source Code/GUI/Headers/GUIText.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/Animations/Headers/AnimationEvaluator.h Diff

Modified /trunk/Source Code/Geometry/Importer/DVDConverter.cpp Diff

Modified /trunk/Source Code/Geometry/Importer/Headers/DVDConverter.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/Mesh.h Diff

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

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

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

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

Modified /trunk/Source Code/Geometry/Shapes/SubMesh.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/Headers/SceneGraphNode.h Diff

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

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

Modified /trunk/Source Code/Graphs/SGNRenderCalls.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/InputInterface.cpp Diff

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

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

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

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

Modified /trunk/Source Code/Hardware/Video/Direct3D/Buffers/VertexBuffer/Headers/d3dGenericVertexData.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/Textures/Headers/d3dTexture.h Diff

Modified /trunk/Source Code/Hardware/Video/Direct3D/Textures/d3dTexture.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/ImmediateModeEmulation.h Diff

Modified /trunk/Source Code/Hardware/Video/Headers/RenderAPIEnums.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/ImmediateModeEmulation.cpp 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/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/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/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/glEnumTable.h Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Headers/glImmediateModeEmulation.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/Headers/glSamplerObject.h Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Textures/Headers/glTexture.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/glEnumTable.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/glImmediateModeEmulation.cpp 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/Headers/TextureDescriptor.h Diff

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

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

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

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

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

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

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

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

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

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

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

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

Modified /trunk/Source Code/Rendering/Headers/DeferredShadingRenderer.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/CubeShadowMap.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/Lighting/ShadowMapping/SingleShadowMap.cpp Diff

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

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

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

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

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

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

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

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

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

Modified /trunk/Source Code/Rendering/PostFX/Headers/PreRenderOperator.h Diff

Modified /trunk/Source Code/Rendering/PostFX/Headers/PreRenderStageBuilder.h Diff

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

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

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

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

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

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

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

Modified /trunk/Source Code/Scenes/Headers/Scene.h Diff

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

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

Modified /trunk/Source Code/Scenes/WarScene/WarScene.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/Divide VS2013.sln Diff

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

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

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

Modified /trunk/assets/misc_images/grass_billboards1.png Diff

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

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

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

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

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

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/lightingDefaults.frag 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/texturing.frag Diff

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

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

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

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

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

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

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

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

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

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

Modified /trunk/localisation/enGB.ini Diff