Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix pruning of link history | Dan Goodliffe | 2024-10-31 |
| | | | | | | 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 length | Dan Goodliffe | 2024-10-31 |
| | |||
* | Extract consts and fix acceleration/decelartions rates | Dan Goodliffe | 2024-10-31 |
| | |||
* | Fix train/vehicle constructors to take const links | Dan Goodliffe | 2024-10-31 |
| | |||
* | Fix GenDef for networks, should be globals | Dan Goodliffe | 2024-10-30 |
| | |||
* | Update CLOG to be implemented as a function | Dan Goodliffe | 2024-10-29 |
| | | | | Forces capture of value before outputting anything | ||
* | Update operator<< for collections to work with ranges | Dan Goodliffe | 2024-10-29 |
| | |||
* | Support regenerating the terrain mesh from updated geodata | Dan Goodliffe | 2024-10-27 |
| | |||
* | Add stream support for tuples | Dan Goodliffe | 2024-10-27 |
| | |||
* | Basic soft shadows | Dan Goodliffe | 2024-10-26 |
| | |||
* | Improve sun illumination based on angular size and astronomical twilight | Dan Goodliffe | 2024-10-24 |
| | |||
* | Merge branch 'billboard-shadows' | Dan Goodliffe | 2024-10-22 |
|\ | |||
| * | Further template maths functions | Dan Goodliffe | 2024-10-21 |
| | | |||
| * | Randomise for many trees, positions, rotations | Dan Goodliffe | 2024-10-20 |
| | | |||
| * | Move lots of maths helpers to inline, constexpr, templates | Dan Goodliffe | 2024-10-20 |
| | | | | | | | | Always for working with different dimensions/types | ||
| * | Misc readability fixes | Dan Goodliffe | 2024-10-17 |
| | | |||
| * | Re-express viewProjections calculations as a fold expression | Dan Goodliffe | 2024-10-17 |
| | | |||
| * | Remove magic number for stencil view angles | Dan Goodliffe | 2024-10-17 |
| | | |||
| * | Don't assume size of stencil texture | Dan Goodliffe | 2024-10-17 |
| | | |||
| * | Texture::getSize helper can be public | Dan Goodliffe | 2024-10-17 |
| | | |||
| * | Better shadowBands sizes | Dan Goodliffe | 2024-10-17 |
| | | | | | | | | Still a bit arbitrary, but calculated now to scale across the required range | ||
| * | Simple constexpr pow function | Dan Goodliffe | 2024-10-17 |
| | | |||
| * | Don't dump stencil texture | Dan Goodliffe | 2024-10-10 |
| | | |||
| * | Generate stencils as views offset from light direction | Dan Goodliffe | 2024-10-10 |
| | | |||
| * | Use foliage yaw rotation to select shadow stencil layer | Dan Goodliffe | 2024-10-10 |
| | | |||
| * | Include foliage yaw rotation in vertex, pass through instead of whole model ↵ | Dan Goodliffe | 2024-10-10 |
| | | | | | | | | rotation matrix | ||
| * | Fix stencil shadow depth offset | Dan Goodliffe | 2024-10-10 |
| | | |||
| * | Use LightDirection for calculating/passing all light dir components | Dan Goodliffe | 2024-10-06 |
| | | |||
| * | Add LightDirection class | Dan Goodliffe | 2024-10-05 |
| | | |||
| * | Add rotate_yp taking two separate parameters | Dan Goodliffe | 2024-10-05 |
| | | |||
| * | Psycho-rebased branch billboard-shadows on top of main | Dan Goodliffe | 2024-09-23 |
| |\ | |||
| | * | Populate all layers of shadow stencil with view from all around | Dan Goodliffe | 2024-09-07 |
| | | | |||
| | * | Populate all layers of the stencil texture | Dan Goodliffe | 2024-09-03 |
| | | | | | | | | | | | | Albeit with the same projection | ||
| | * | Update stencil texture to 2d array | Dan Goodliffe | 2024-09-02 |
| | | | |||
| | * | Update Texture::getSize and ::size to account for the third texture dimension | Dan Goodliffe | 2024-09-02 |
| | | | |||
| | * | Add TextureDimensions type | Dan Goodliffe | 2024-09-02 |
| | | | |||
| | * | Extend depth of shadow box 10m to allow for depth offsets and clamp stencil ↵ | Dan Goodliffe | 2024-09-01 |
| | | | | | | | | | | | | to it | ||
| | * | Use billboard shadows for foliage | Dan Goodliffe | 2024-08-28 |
| | | | |||
| | * | Initial cut of shadow map creation with support for billboard shadows | Dan Goodliffe | 2024-08-28 |
| | | | |||
| | * | Set stencil texture min/mag filters | Dan Goodliffe | 2024-08-26 |
| | | | |||
| | * | Add helper to test if a uniform was found | Dan Goodliffe | 2024-08-26 |
| | | | |||
| | * | Add a foliage vertex array for just the location data | Dan Goodliffe | 2024-08-26 |
| | | | |||
| | * | Include sizes of shadow box extents as uniforms to shaders | Dan Goodliffe | 2024-08-26 |
| | | | |||
| | * | test-render loads all assets into gameState | Dan Goodliffe | 2024-08-26 |
| | | | |||
| | * | Persist a single ShadowStenciller within ShadowMapper | Dan Goodliffe | 2024-08-19 |
| | | | |||
| | * | Shuffle some GL state setting | Dan Goodliffe | 2024-08-19 |
| | | | | | | | | | | | | | | | Ensures the right things are set at the right times, it's more calls but its less prone to randomly getting screwed over. Also updates the comments about which phases do what. | ||
| | * | Update asset stencils from shadow mapper | Dan Goodliffe | 2024-08-18 |
| | | | |||
| | * | Add updateStencil to Renderable interface | Dan Goodliffe | 2024-08-18 |
| | | | |||
| | * | Populate GameState::assets in appropriate tests | Dan Goodliffe | 2024-08-18 |
| | | | |||
| | * | Offset shaded position to reduce chance of self-shadowing | Dan Goodliffe | 2024-08-18 |
| | | |