summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Share code between boundary and strip edge node reuseDan Goodliffe5 days
|
* Reuse existing vertices when processing strip verticesDan Goodliffe12 days
|
* Reuse existing vertices when processing boundary partsDan Goodliffe2024-11-14
|
* Fix do bounary part iterationDan Goodliffe2024-11-14
| | | | Exit when current vertex is adjacent to the end
* Reverse order of last boundary part additionDan Goodliffe2024-11-14
| | | | It's the manual last end, shame it has to be weird.
* First version rewrite of terrain deformation, much still to doDan Goodliffe2024-11-13
|
* Add linesIntersectAt functionDan Goodliffe2024-11-12
| | | | 2 dimensional line intersection point
* Throw if input stream not in good state reading JSONHEADmainDan Goodliffe2024-11-05
|
* Fix pruning of link historyDan Goodliffe2024-11-05
| | | | | | The current size isn't important, the length after prune is, and it should be checked before adding the new link as most of the train will still be on the previous one.
* Extract const for link history lengthDan Goodliffe2024-11-05
|
* Extract consts and fix acceleration/decelartions ratesDan Goodliffe2024-11-05
|
* Fix train/vehicle constructors to take const linksDan Goodliffe2024-11-05
|
* Fix GenDef for networks, should be globalsDan Goodliffe2024-11-05
|
* Update CLOG to be implemented as a functionDan Goodliffe2024-11-05
| | | | Forces capture of value before outputting anything
* Update operator<< for collections to work with rangesDan Goodliffe2024-11-05
|
* Support regenerating the terrain mesh from updated geodataDan Goodliffe2024-10-27
|
* Add stream support for tuplesDan Goodliffe2024-10-27
|
* Basic soft shadowsDan Goodliffe2024-10-26
|
* Improve sun illumination based on angular size and astronomical twilightDan Goodliffe2024-10-24
|
* Merge branch 'billboard-shadows'Dan Goodliffe2024-10-22
|\
| * Further template maths functionsDan Goodliffe2024-10-21
| |
| * Randomise for many trees, positions, rotationsDan Goodliffe2024-10-20
| |
| * Move lots of maths helpers to inline, constexpr, templatesDan Goodliffe2024-10-20
| | | | | | | | Always for working with different dimensions/types
| * Misc readability fixesDan Goodliffe2024-10-17
| |
| * Re-express viewProjections calculations as a fold expressionDan Goodliffe2024-10-17
| |
| * Remove magic number for stencil view anglesDan Goodliffe2024-10-17
| |
| * Don't assume size of stencil textureDan Goodliffe2024-10-17
| |
| * Texture::getSize helper can be publicDan Goodliffe2024-10-17
| |
| * Better shadowBands sizesDan Goodliffe2024-10-17
| | | | | | | | Still a bit arbitrary, but calculated now to scale across the required range
| * Simple constexpr pow functionDan Goodliffe2024-10-17
| |
| * Don't dump stencil textureDan Goodliffe2024-10-10
| |
| * Generate stencils as views offset from light directionDan Goodliffe2024-10-10
| |
| * Use foliage yaw rotation to select shadow stencil layerDan Goodliffe2024-10-10
| |
| * Include foliage yaw rotation in vertex, pass through instead of whole model ↵Dan Goodliffe2024-10-10
| | | | | | | | rotation matrix
| * Fix stencil shadow depth offsetDan Goodliffe2024-10-10
| |
| * Use LightDirection for calculating/passing all light dir componentsDan Goodliffe2024-10-06
| |
| * Add LightDirection classDan Goodliffe2024-10-05
| |
| * Add rotate_yp taking two separate parametersDan Goodliffe2024-10-05
| |
| * Psycho-rebased branch billboard-shadows on top of mainDan Goodliffe2024-09-23
| |\
| | * Populate all layers of shadow stencil with view from all aroundDan Goodliffe2024-09-07
| | |
| | * Populate all layers of the stencil textureDan Goodliffe2024-09-03
| | | | | | | | | | | | Albeit with the same projection
| | * Update stencil texture to 2d arrayDan Goodliffe2024-09-02
| | |
| | * Update Texture::getSize and ::size to account for the third texture dimensionDan Goodliffe2024-09-02
| | |
| | * Add TextureDimensions typeDan Goodliffe2024-09-02
| | |
| | * Extend depth of shadow box 10m to allow for depth offsets and clamp stencil ↵Dan Goodliffe2024-09-01
| | | | | | | | | | | | to it
| | * Use billboard shadows for foliageDan Goodliffe2024-08-28
| | |
| | * Initial cut of shadow map creation with support for billboard shadowsDan Goodliffe2024-08-28
| | |
| | * Set stencil texture min/mag filtersDan Goodliffe2024-08-26
| | |
| | * Add helper to test if a uniform was foundDan Goodliffe2024-08-26
| | |
| | * Add a foliage vertex array for just the location dataDan Goodliffe2024-08-26
| | |