Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add stripiter | Dan Goodliffe | 2024-02-12 |
| | | | | | A generic iterator wrapper returning a tuple of 3 references to the original values, as processed in the fashion of an OpenGL triangle strip. | ||
* | Merge branch 'glcontainer-fix' | Dan Goodliffe | 2024-02-03 |
|\ | |||
| * | Allow specifying a target other than array buffer | Dan Goodliffe | 2024-02-02 |
| | | | | | | | | GL_ARRAY_BUFFER is the default. Also removes accidental use for OpenGL 4.x functions. | ||
| * | Map buffers RO if const operations, upgrade to RW as required | Dan Goodliffe | 2024-02-02 |
| | | |||
| * | Don't keep a span, create as needed | Dan Goodliffe | 2024-02-02 |
| | | | | | | | | | | Removes the error prone issue where data/size get out of sync. Fixes overflow issues leading to memory corruption of GPU data. | ||
| * | Fix warnings in test-glContainer | Dan Goodliffe | 2024-02-02 |
|/ | | | | Also updates static asserts to requirements | ||
* | Merge branch 'geo-shadows' | Dan Goodliffe | 2024-01-30 |
|\ | |||
| * | Adjust light view projection matrix upfront | Dan Goodliffe | 2024-01-30 |
| | | | | | | | | Saves doing it per pixel, per region later | ||
| * | Remove the complications from previously storing several shadow maps in the ↵ | Dan Goodliffe | 2024-01-30 |
| | | | | | | | | texture | ||
| * | Set shadow program uniforms all in one function, merge setting of view ↵ | Dan Goodliffe | 2024-01-29 |
| | | | | | | | | projections | ||
| * | Merge common parts of shadow programs into a base class | Dan Goodliffe | 2024-01-29 |
| | | |||
| * | Geometry shader for single pass shadow maps | Dan Goodliffe | 2024-01-28 |
| | | | | | | | | | | | | | | 2D array texture, 4 levels, geometry shader outputs to each layer for a specific band, single scene rendering. Pending massive tidy up. | ||
| * | Set light view point uniform once | Dan Goodliffe | 2024-01-27 |
|/ | | | | Not once per shadow pass | ||
* | 3D relative scaling in asset factory | Dan Goodliffe | 2024-01-27 |
| | | | | Reduces excess vertices in cylinders | ||
* | Merge branch 'text2' | Dan Goodliffe | 2024-01-27 |
|\ | |||
| * | Render text in N draw calls | Dan Goodliffe | 2024-01-27 |
| | | | | | | | | | | | | Creates a single buffer per required texture and draws the whole buffer in one go. It does introduce the use of deprecated GL_QUADS primitive, but it's the easiest way to go without needing indices, repeated vertices etc | ||
| * | Add traits vertex attrib func override for arrays | Dan Goodliffe | 2024-01-27 |
| | | | | | | | | Address limitation on size when specifying arrays of glm::vec | ||
| * | Support constructing a glContainer from a collection of the same type | Dan Goodliffe | 2024-01-27 |
| | | |||
| * | Add text to framebuffer rendering test | Dan Goodliffe | 2024-01-27 |
| | | |||
| * | Remove the generic cache completely | Dan Goodliffe | 2024-01-26 |
| | | |||
| * | Remove the static font cache | Dan Goodliffe | 2024-01-26 |
| | | | | | | | | Each thing can own/share a font rendering itself | ||
| * | Always set pixel unpack alignment before generating font texture content | Dan Goodliffe | 2024-01-26 |
|/ | |||
* | Remove the static texture cache | Dan Goodliffe | 2024-01-25 |
| | | | | | Static variables persist too long, destruction is unmanaged and occurs after the gl context is gone. | ||
* | Add traits helpers for glTexParameter functions | Dan Goodliffe | 2024-01-25 |
| | |||
* | Replace static_asserts with concepts | Dan Goodliffe | 2024-01-25 |
| | |||
* | Define GLM_ENABLE_EXPERIMENTAL | Dan Goodliffe | 2024-01-25 |
| | | | | | GLM v1 requires this for use of experimental features which may change... We accept this for now. | ||
* | Single list of all shader programs | Dan Goodliffe | 2024-01-24 |
| | | | | Pushes common stuff through a helper function | ||
* | Merge remote-tracking branch 'origin/instanced-networks' | Dan Goodliffe | 2024-01-24 |
|\ | |||
| * | Fix network population of position in gBuffer | Dan Goodliffe | 2024-01-23 |
| | | | | | | | | Adds some rails to the basic test highlighting broken shadows | ||
| * | Bind the network profile in as uniforms | Dan Goodliffe | 2024-01-22 |
| | | | | | | | | Makes the network shaders generic to network type | ||
| * | Add missing support for glUniform simple span of numbers | Dan Goodliffe | 2024-01-22 |
| | | |||
| * | Remove the old custom mesh per network link rendering | Dan Goodliffe | 2024-01-21 |
| | | |||
| * | Dynamic number of segments into curve render | Dan Goodliffe | 2024-01-21 |
| | | | | | | | | | | Simpler formula than the old one, neither scientific, needs to tests to demonstrate a decent result for whatever formula we use. | ||
| * | Use symbol GL_MAX_GEOMETRY_OUTPUT_VERTICES to lookup the implementation ↵ | Dan Goodliffe | 2024-01-21 |
| | | | | | | | | limit at runtime | ||
| * | Replace tokens found with values from getIntegerv | Dan Goodliffe | 2024-01-21 |
| | | |||
| * | Look for and replace GL_XXX with fixed string | Dan Goodliffe | 2024-01-21 |
| | | |||
| * | Include ctre submodule | Dan Goodliffe | 2024-01-21 |
| | | |||
| * | String view/constexpr Shader instances | Dan Goodliffe | 2024-01-21 |
| | | | | | | | | Gonna need more constexpr stuff and strstr/strlen aren't that | ||
| * | Fix includes in test glCtxtBhvr | Dan Goodliffe | 2024-01-21 |
| | | |||
| * | Pass curve link radius, no recalculate, its constant | Dan Goodliffe | 2024-01-20 |
| | | |||
| * | Implement basic network curve part shader | Dan Goodliffe | 2024-01-20 |
| | | |||
| * | Common code between straight/curve network geometry shaders | Dan Goodliffe | 2024-01-20 |
| | | |||
| * | Implement complete network straight part shader | Dan Goodliffe | 2024-01-20 |
| | | |||
| * | Update network with vertex array | Dan Goodliffe | 2024-01-20 |
| | | |||
| * | Render rail network using new shaders | Dan Goodliffe | 2024-01-20 |
| | | | | | | | | Non-functional, totally unimplemented at this stage | ||
| * | Copy render vital link data to vertex buffer | Dan Goodliffe | 2024-01-20 |
| | | |||
| * | Add mail rail network to render test, include curves | Dan Goodliffe | 2024-01-20 |
| | | |||
| * | Add rail network render test | Dan Goodliffe | 2024-01-19 |
|/ | |||
* | Add traits wrapper for setting uniforms | Dan Goodliffe | 2024-01-14 |
| | |||
* | We only need 3x3 matrix for model rotation spec | Dan Goodliffe | 2024-01-13 |
| |