Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add a spike of terrain in test-render | Dan Goodliffe | 39 hours |
| | | | | Very fake, but casts a clear shadow. | ||
* | Pass a Frustum to shadow renderers | Dan Goodliffe | 39 hours |
| | | | | The frustum might not be correct at this stage. | ||
* | Template AxisAlignedBoundingBox on unit type | Dan Goodliffe | 39 hours |
| | |||
* | Current tile in frustum as we loop | Dan Goodliffe | 39 hours |
| | | | | Chunk by surface only, render if visible in frustum | ||
* | Create AxisAlignedBoundingBox | Dan Goodliffe | 39 hours |
| | | | | Used to define the extents of GeoData mesh | ||
* | Pass frustum into render functions | Dan Goodliffe | 6 days |
| | | | | Support for culling objects outside the view frustum | ||
* | Move camera out of gl folder, it's not OpenGL specific | Dan Goodliffe | 7 days |
| | |||
* | Create perf-terrain test window globally | Dan Goodliffe | 2025-02-26 |
| | |||
* | Improve Terrain::generateMeshes performance | Dan Goodliffe | 2025-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 test | Dan Goodliffe | 2025-02-23 |
| | |||
* | Add timeouts to more geoData tests | Dan Goodliffe | 2025-02-23 |
| | |||
* | Fixes and tests to new range helpers | Dan Goodliffe | 2025-02-15 |
| | |||
* | Combine GeoData and Terrain class hierarchies | Dan Goodliffe | 2025-02-09 |
| | |||
* | Split GeoData mesh basics into a subclass | Dan Goodliffe | 2025-02-09 |
| | | | | Declutters the class for terrain related things | ||
* | Move lots of geoData helpers into lib | Dan Goodliffe | 2025-02-09 |
| | |||
* | Add tests which explicit count verts/edges/faces after terrain mesh modification | Dan Goodliffe | 2025-02-09 |
| | |||
* | Add distance helper | Dan Goodliffe | 2025-01-21 |
| | | | | Works with integer positions, first template param allows forcing to N dimensions | ||
* | Add helper for merging close elements in a vector | Dan Goodliffe | 2025-01-05 |
| | |||
* | Fix curve walk edge case where the curve legitimately returns to the ↵ | Dan Goodliffe | 2025-01-02 |
| | | | | previous face | ||
* | Return angle of intersection of arc with line | Dan Goodliffe | 2025-01-01 |
| | |||
* | Walk terrain along a curve - edge cases exist | Dan Goodliffe | 2025-01-01 |
| | |||
* | Add ArcSegment | Dan Goodliffe | 2024-12-31 |
| | | | | Extends Arc, with method for determining intersection point with line segment | ||
* | Pass lots more information during GeoData::walk | Dan Goodliffe | 2024-12-30 |
| | |||
* | Expose network base width and surface | Dan Goodliffe | 2024-12-22 |
| | |||
* | SetHeightOptions surface changed to defaulted pointer | Dan Goodliffe | 2024-12-22 |
| | |||
* | Fix calculating radius and length of curved links | Dan Goodliffe | 2024-12-21 |
| | |||
* | Add sanity checking logic to GeoData | Dan Goodliffe | 2024-12-18 |
| | |||
* | Don't make arbitrary changes to mesh for triangle boundaries | Dan Goodliffe | 2024-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 support | Dan Goodliffe | 2024-12-15 |
| | |||
* | Psycho-rebased branch terrain-for-networks on top of main | Dan Goodliffe | 2024-12-01 |
|\ | |||
| * | Remove extrusion extents that rounded to the same vertex | Dan Goodliffe | 2024-11-03 |
| | | |||
* | | Move GeoData::Triangle to global lib | Dan Goodliffe | 2024-12-01 |
| | | |||
* | | Update new/moved vertex normals | Dan Goodliffe | 2024-11-27 |
| | | |||
* | | Pass setHeights options as a struct with defaults | Dan Goodliffe | 2024-11-23 |
| | | |||
* | | Add linesIntersectAt function | Dan Goodliffe | 2024-11-12 |
|/ | | | | 2 dimensional line intersection point | ||
* | Improve sun illumination based on angular size and astronomical twilight | Dan Goodliffe | 2024-10-24 |
| | |||
* | 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 | ||
* | Use LightDirection for calculating/passing all light dir components | Dan Goodliffe | 2024-10-06 |
| | |||
* | Add LightDirection class | Dan Goodliffe | 2024-10-05 |
| | |||
* | Psycho-rebased branch billboard-shadows on top of main | Dan Goodliffe | 2024-09-23 |
|\ | |||
| * | test-render loads all assets into gameState | Dan Goodliffe | 2024-08-26 |
| | | |||
| * | Populate GameState::assets in appropriate tests | Dan Goodliffe | 2024-08-18 |
| | | |||
* | | Move getSunPos to Environment | Dan Goodliffe | 2024-09-20 |
| | | |||
* | | Add basic environment object | Dan Goodliffe | 2024-09-20 |
| | | | | | | | | Will hold world time/date, weather, location etc | ||
* | | Update getSunPos to use a standard time_t | Dan Goodliffe | 2024-09-19 |
| | | |||
* | | Add new mathematical constants to lib | Dan Goodliffe | 2024-09-19 |
| | | |||
* | | Initial commit of code for calculating sun position | Dan Goodliffe | 2024-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 scene | Dan Goodliffe | 2024-08-10 |
| | |||
* | Fix up perf tests in light of window management changes | Dan Goodliffe | 2024-07-05 |
| |