summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * Make terrain deformation test a data testDan Goodliffe2024-02-26
| | | | | | | | Easily test multiple deformations and view them from different angles
| * Remove the nosplit listDan Goodliffe2024-02-24
| | | | | | | | Not required now we don't randomly wonder into the new edges range
| * Psycho-rebased branch deform-terrain on top of mainDan Goodliffe2024-02-24
|/|
| * First cut of terrain deformationDan Goodliffe2024-02-22
| | | | | | | | | | | | | | | | | | | | This "works" for some definition of works... But it's flawed in many ways, not least the following: * It's glitchy for no obvious reason * It's unreliable; fails if you tweak the parameters * The sides of the modified area are triangulated in the dumbest possible fashion, which results in ill-formed polygons * Probably other things, but... It works, remember...
| * Fix calculation of texture coords of terrainDan Goodliffe2024-02-22
| | | | | | | | While we still use this...
| * Check ray intersects triangle 'in front' of startDan Goodliffe2024-02-14
| |
| * Fix getting cartesian coords from triangle bariposDan Goodliffe2024-02-14
| |
| * Include face handle in intersectRay resultDan Goodliffe2024-02-13
| |
| * Add helpers for testing for triangle overlap/containednessDan Goodliffe2024-02-12
| |
| * Create flat GeoData as 10m squares instead of one big squareDan Goodliffe2024-02-12
| |
| * Add materializeRange override for naked iterator pairDan Goodliffe2024-02-12
| |
| * Cast relative position accordingly in geometric planeDan Goodliffe2024-02-12
| |
| * Add stripiterDan Goodliffe2024-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.
* | Simplify vector addition/subtraction with differnt typesDan Goodliffe2024-02-24
|/ | | | | Automatically applies correct rounding with float to int operations, adjusts test expectations accordingly.
* Merge branch 'glcontainer-fix'Dan Goodliffe2024-02-03
|\
| * Allow specifying a target other than array bufferDan Goodliffe2024-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 requiredDan Goodliffe2024-02-02
| |
| * Don't keep a span, create as neededDan Goodliffe2024-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-glContainerDan Goodliffe2024-02-02
|/ | | | Also updates static asserts to requirements
* Merge branch 'geo-shadows'Dan Goodliffe2024-01-30
|\
| * Adjust light view projection matrix upfrontDan Goodliffe2024-01-30
| | | | | | | | Saves doing it per pixel, per region later
| * Remove the complications from previously storing several shadow maps in the ↵Dan Goodliffe2024-01-30
| | | | | | | | texture
| * Set shadow program uniforms all in one function, merge setting of view ↵Dan Goodliffe2024-01-29
| | | | | | | | projections
| * Merge common parts of shadow programs into a base classDan Goodliffe2024-01-29
| |
| * Geometry shader for single pass shadow mapsDan Goodliffe2024-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 onceDan Goodliffe2024-01-27
|/ | | | Not once per shadow pass
* 3D relative scaling in asset factoryDan Goodliffe2024-01-27
| | | | Reduces excess vertices in cylinders
* Merge branch 'text2'Dan Goodliffe2024-01-27
|\
| * Render text in N draw callsDan Goodliffe2024-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 arraysDan Goodliffe2024-01-27
| | | | | | | | Address limitation on size when specifying arrays of glm::vec
| * Support constructing a glContainer from a collection of the same typeDan Goodliffe2024-01-27
| |
| * Add text to framebuffer rendering testDan Goodliffe2024-01-27
| |
| * Remove the generic cache completelyDan Goodliffe2024-01-26
| |
| * Remove the static font cacheDan Goodliffe2024-01-26
| | | | | | | | Each thing can own/share a font rendering itself
| * Always set pixel unpack alignment before generating font texture contentDan Goodliffe2024-01-26
|/
* Remove the static texture cacheDan Goodliffe2024-01-25
| | | | | Static variables persist too long, destruction is unmanaged and occurs after the gl context is gone.
* Add traits helpers for glTexParameter functionsDan Goodliffe2024-01-25
|
* Replace static_asserts with conceptsDan Goodliffe2024-01-25
|
* Define GLM_ENABLE_EXPERIMENTALDan Goodliffe2024-01-25
| | | | | GLM v1 requires this for use of experimental features which may change... We accept this for now.
* Single list of all shader programsDan Goodliffe2024-01-24
| | | | Pushes common stuff through a helper function
* Merge remote-tracking branch 'origin/instanced-networks'Dan Goodliffe2024-01-24
|\
| * Fix network population of position in gBufferDan Goodliffe2024-01-23
| | | | | | | | Adds some rails to the basic test highlighting broken shadows
| * Bind the network profile in as uniformsDan Goodliffe2024-01-22
| | | | | | | | Makes the network shaders generic to network type
| * Add missing support for glUniform simple span of numbersDan Goodliffe2024-01-22
| |
| * Remove the old custom mesh per network link renderingDan Goodliffe2024-01-21
| |
| * Dynamic number of segments into curve renderDan Goodliffe2024-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 Goodliffe2024-01-21
| | | | | | | | limit at runtime
| * Replace tokens found with values from getIntegervDan Goodliffe2024-01-21
| |
| * Look for and replace GL_XXX with fixed stringDan Goodliffe2024-01-21
| |
| * Include ctre submoduleDan Goodliffe2024-01-21
| |