Subversion Repository Public Repository

Divide-Framework

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

Commits for Divide-Framework/

Revision Author Commited Message
915 IonutCava picture IonutCava Thu 06 Jul, 2017 21:56:16 +0000

[Ionut]
derp

914 IonutCava picture IonutCava Thu 06 Jul, 2017 21:50:27 +0000

[Ionut]
- Terrain:
— Properly use terrain world matrix
— Make ToggleWireframe a compile time define since it’s rarely used
- Material:
— Do not assign ShaderProgram::defaultShader() to material shaderInfo slots by default (helps track bugs)
— Make sure we load shadow shaders in terrain and vegetation after pre-pass shader (to not override them)
- Wait for resources to fully load before unloading them

913 IonutCava picture IonutCava Thu 06 Jul, 2017 15:57:35 +0000

[Ionut]
- All shaders that are assigned to a material should have SHADOW_PASS defined for shadow shaders and DEPTH_PASS for all depth pass shaders.
- Add a helper function to map a value from one range to another

912 IonutCava picture IonutCava Sun 02 Jul, 2017 23:42:39 +0000

[Ionut]
- Add experimental Weighted Blended Order Independed Transparency (ref: http://casual-effects.blogspot.co.uk/2015/03/implemented-weighted-blended-order.html)
— Add per drawbuffer blend
— All translucent renderbin items go via the new OIT 2-step rendering: accumulation and composition
- Make sure we have proper blend enabled for text rendering
- Add a primitive form of PushConstants (unused yet. Emulated via Uniform calls)
- Fix bug with XMLParser not using case insensitive key lookups

911 IonutCava picture IonutCava Fri 30 Jun, 2017 21:08:09 +0000

[Ionut]
- Use RTAttachmentDescriptor and RenderTargetDescriptor to initialise render targets.
— All formats and attachments need to be specified upfront!

910 IonutCava picture IonutCava Fri 30 Jun, 2017 00:24:24 +0000

[Ionut]
Fix text rendering
- Initialise 2D camera with the startup resolution
- Invert Y position for text

909 IonutCava picture IonutCava Thu 29 Jun, 2017 23:57:18 +0000

[Ionut]
- Rework RenderTarget class
— RTAttachment now deal with textures directly
— RT size needs to be specified upfront
- Application class is no longer a Singleton but passed around in the PlatformContext

908 IonutCava picture IonutCava Thu 29 Jun, 2017 15:56:53 +0000

[Ionut]
- Texture’s MSAA sample count is now a property of the TextureDescriptor
- Add extra SDL validation as well as fallback for too high MSAA sample count specified

907 IonutCava picture IonutCava Wed 28 Jun, 2017 23:16:40 +0000

[Ionut]
- Rework texture loading, mip map generation, sampler usage, etc
- ResourceDescriptor for textures now ONLY takes a TextureDescriptor as a property descriptor. Sampler must be assigned to the tex descriptor:
— ToDo: Separate samplers completely from textures and assign them from a pool to textures at bind time

906 IonutCava picture IonutCava Mon 26 Jun, 2017 20:58:19 +0000

[Ionut]
- Fix small issues with the previous commit

905 IonutCava picture IonutCava Mon 26 Jun, 2017 15:56:21 +0000

[Ionut]
Untested code

- Rework RenderBin/RenderPass/RenderQueue system to allow per-bin type rendering decision
— Added to allow implementation of Weighted, Blended Order-Independent Transparency later on
- Better detection of transparency and translucency in textures and materials. Used to separate Alpha-Discard based geometry from OIT translucent geometry

904 IonutCava picture IonutCava Sun 25 Jun, 2017 21:38:57 +0000

[Ionut]
- Rework the way GPU queries are handled via GenericDrawCommand rendering options.

903 IonutCava picture IonutCava Sun 25 Jun, 2017 18:55:02 +0000

[IonutCava]
- Rework DebugInterface to be part of the PlatformContext and to allow adding of AntTweakBar elements via easy to use descriptors

902 IonutCava picture IonutCava Sun 25 Jun, 2017 16:56:57 +0000

[Ionut]
- Rework input system a bit for easier maintenance and readability
- Toggle AntTweakBar display using CTRL+F11

901 IonutCava picture IonutCava Fri 23 Jun, 2017 20:20:21 +0000

[Ionut]
- Fix shader issues in previous commit
- Fix splash screen gamma issue

900 IonutCava picture IonutCava Fri 23 Jun, 2017 16:00:28 +0000

[Ionut]
- Add AntTweakBar support for easier debugging

899 IonutCava picture IonutCava Fri 23 Jun, 2017 15:37:44 +0000

[IonutCava]
- Move sRGB conversion and fog calculation to post-processing stages (fog in postProcessing using the depth buffer and sRGB in the presentToScreen step)
- Split the bloom.glsl file into multiple shaders: bloom, tonemap and luminanceCalc for ease of use purposes
- Rework RenderBin sorting: sort translucent/transparent nodes by material in depth passes
- Sort order is no longer part of RenderBin for better control

898 IonutCava picture IonutCava Thu 22 Jun, 2017 22:05:34 +0000

[IonutCava]
- Use vectorImpl instead of vector in the few remaining places it wasn’t used
- Force GLIM to use the submitRenderCommand / GenericDrawCommand system
- Add basic framework for a “pushConstants” type buffer that will replace Uniform() calls
- Add some code to allow hardware query rewrite in the future

897 IonutCava picture IonutCava Thu 22 Jun, 2017 18:26:20 +0000

[IonutCava]
- Fix multi-context GL object creation
- Add missing file

896 IonutCava picture IonutCava Thu 22 Jun, 2017 16:13:10 +0000

[Ionut]
- Add vs140 platform support
- Remove GPU sync options for tasks. This should be an API-level capability.

895 IonutCava picture IonutCava Wed 21 Jun, 2017 21:10:26 +0000

[IonutCava]
- Reorder and cleanup OpenGL backend a bit.
- Small code cleanup
- Some small profile-guided optimizations

894 IonutCava picture IonutCava Sun 18 Jun, 2017 19:58:02 +0000

[Ionut]
- Fix terrain sphere-based LoD tessellation.
- Merge all terrain texture layers into a single texture array system to free up texture slots and speed up lookups.

893 IonutCava picture IonutCava Sun 18 Jun, 2017 17:33:07 +0000

[Ionut]
- Initial implementation of a PipelineStateObject (holds shader program, rasterizer state, etc)
- Rework PCH implementation a bit because VS2017 no longer has a /ZM option

892 IonutCava picture IonutCava Mon 15 May, 2017 20:43:39 +0000

[Ionut]
- Miscellaneous bug fixes

891 IonutCava picture IonutCava Mon 15 May, 2017 16:18:45 +0000

[Ionut]
- Some memory-friendly optimizations