Subversion Repository Public Repository

Divide-Framework

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

Changeset 330

Committed by IonutCava on Fri 10 Oct, 2014 17:19:11 +0000

Commit Message:

[Ionut]
- New rendering algorithm :
— Perform second pass for visible nodes gathering all render commands and uploading them to an indirect draw buffer
— Render geometry with indirect draw commands
— Removed per-node range binding of the node buffer. Instead, bind the entire buffer once and index data in shaders
— Use “baseInstance” parameter from IndirectDrawCommand as a node buffer index
— Prefer DSA extensions for updating buffer data where applicable
- Moved all rendering specific code from SceneGraphNode to a new RenderingComponent
- Optimized “toString” utility function

Changes

Added /trunk/Source Code/Graphs/Components/Headers/RenderingComponent.h

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

Removed /trunk/Source Code/Graphs/SGNRenderCalls.cpp

Modified /trunk/Divide-Client.exe Diff

Modified /trunk/Divide-Server.exe Diff

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

Modified /trunk/Source Code/Core/Math/Headers/MathHelper.h 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/Physics/PhysX/PhysXSceneInterface.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/Headers/TerrainChunk.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/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/GUIEditor/GUIEditor.cpp Diff

Modified /trunk/Source Code/Geometry/Importer/DVDConverter.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/Components/Headers/SGNComponent.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/SceneGraph.cpp Diff

Modified /trunk/Source Code/Graphs/SceneGraphNode.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/Direct3D/DXWrapper.cpp Diff

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

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

Modified /trunk/Source Code/Hardware/Video/GFXDeviceState.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/IMPrimitive.h Diff

Modified /trunk/Source Code/Hardware/Video/Headers/RenderAPIWrapper.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/glIMPrimitive.h Diff

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

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

Modified /trunk/Source Code/Rendering/DeferredShadingRenderer.cpp 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/RenderPass/RenderBin.cpp Diff

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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