summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Add a spike of terrain in test-renderDan Goodliffe43 hours
| | | | Very fake, but casts a clear shadow.
* Pass a Frustum to shadow renderersDan Goodliffe43 hours
| | | | The frustum might not be correct at this stage.
* Template AxisAlignedBoundingBox on unit typeDan Goodliffe43 hours
|
* Current tile in frustum as we loopDan Goodliffe43 hours
| | | | Chunk by surface only, render if visible in frustum
* Create AxisAlignedBoundingBoxDan Goodliffe43 hours
| | | | Used to define the extents of GeoData mesh
* Pass frustum into render functionsDan Goodliffe6 days
| | | | Support for culling objects outside the view frustum
* Move camera out of gl folder, it's not OpenGL specificDan Goodliffe7 days
|
* Create perf-terrain test window globallyDan Goodliffe2025-02-26
|
* Improve Terrain::generateMeshes performanceDan Goodliffe2025-02-25
| | | | | Creates mesh per surface based on a single buffer of all vertices and a collection of per surfuce indices. Makes ColourBias a uniform instead of a vertex attribute.
* Add GeoData deformation perf testDan Goodliffe2025-02-23
|
* Add timeouts to more geoData testsDan Goodliffe2025-02-23
|
* Fixes and tests to new range helpersDan Goodliffe2025-02-15
|
* Combine GeoData and Terrain class hierarchiesDan Goodliffe2025-02-09
|
* Split GeoData mesh basics into a subclassDan Goodliffe2025-02-09
| | | | Declutters the class for terrain related things
* Move lots of geoData helpers into libDan Goodliffe2025-02-09
|
* Add tests which explicit count verts/edges/faces after terrain mesh modificationDan Goodliffe2025-02-09
|
* Add distance helperDan Goodliffe2025-01-21
| | | | Works with integer positions, first template param allows forcing to N dimensions
* Add helper for merging close elements in a vectorDan Goodliffe2025-01-05
|
* Fix curve walk edge case where the curve legitimately returns to the ↵Dan Goodliffe2025-01-02
| | | | previous face
* Return angle of intersection of arc with lineDan Goodliffe2025-01-01
|
* Walk terrain along a curve - edge cases existDan Goodliffe2025-01-01
|
* Add ArcSegmentDan Goodliffe2024-12-31
| | | | Extends Arc, with method for determining intersection point with line segment
* Pass lots more information during GeoData::walkDan Goodliffe2024-12-30
|
* Expose network base width and surfaceDan Goodliffe2024-12-22
|
* SetHeightOptions surface changed to defaulted pointerDan Goodliffe2024-12-22
|
* Fix calculating radius and length of curved linksDan Goodliffe2024-12-21
|
* Add sanity checking logic to GeoDataDan Goodliffe2024-12-18
|
* Don't make arbitrary changes to mesh for triangle boundariesDan Goodliffe2024-12-18
| | | | | | | | | | Making these arbitrary changes can lead to inverted adjacent faces, instead just: a) use the near node where it is, or b) create the edge split along its length without lateral movement Same principal as previous commit, addresses issues where tracing would fail seemingly at random and throws on error now.
* 2D triangle area supportDan Goodliffe2024-12-15
|
* Psycho-rebased branch terrain-for-networks on top of mainDan Goodliffe2024-12-01
|\
| * Remove extrusion extents that rounded to the same vertexDan Goodliffe2024-11-03
| |
* | Move GeoData::Triangle to global libDan Goodliffe2024-12-01
| |
* | Update new/moved vertex normalsDan Goodliffe2024-11-27
| |
* | Pass setHeights options as a struct with defaultsDan Goodliffe2024-11-23
| |
* | Add linesIntersectAt functionDan Goodliffe2024-11-12
|/ | | | 2 dimensional line intersection point
* Improve sun illumination based on angular size and astronomical twilightDan Goodliffe2024-10-24
|
* 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
* Use LightDirection for calculating/passing all light dir componentsDan Goodliffe2024-10-06
|
* Add LightDirection classDan Goodliffe2024-10-05
|
* Psycho-rebased branch billboard-shadows on top of mainDan Goodliffe2024-09-23
|\
| * test-render loads all assets into gameStateDan Goodliffe2024-08-26
| |
| * Populate GameState::assets in appropriate testsDan Goodliffe2024-08-18
| |
* | Move getSunPos to EnvironmentDan Goodliffe2024-09-20
| |
* | Add basic environment objectDan Goodliffe2024-09-20
| | | | | | | | Will hold world time/date, weather, location etc
* | Update getSunPos to use a standard time_tDan Goodliffe2024-09-19
| |
* | Add new mathematical constants to libDan Goodliffe2024-09-19
| |
* | Initial commit of code for calculating sun positionDan Goodliffe2024-09-18
|/ | | | | | | | | Given the longitude and latitude, and a time into 2024, calculate the relative sun position suitable for providing lighting angles. Based on code from https://www.psa.es/ Loosely checked against https://www.pveducation.org/ and its close, working on faith really, but the numbers look plausible. Could do with a tidy up!
* Add a tree to the test render sceneDan Goodliffe2024-08-10
|
* Fix up perf tests in light of window management changesDan Goodliffe2024-07-05
|