summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Billboard foliageDan Goodliffe3 days
| | | | | | Partition the instances by within/without the view frustum, then by proximity to the view point and within/without the sunlight shadow frustum. Use billboards for far away/out of view instances.
* Use RelativeDistance in Camera near/fear and expose member variablesDan Goodliffe3 days
|
* Tidy the preFrame logic into a single function in SceneRendererDan Goodliffe8 days
| | | | | Clients now just call that one helper and SceneProvider passes in all the renderables.
* Fix up the preFrame process to use both frustumsDan Goodliffe13 days
| | | | | | (camera and directional light frustums) This has made the whole preFrame process far more fiddly and repetitive than I'd like, but it does work. Maybe we can tidy it up later.
* Refactor test-instancing so the data is generated in a common fixtureDan Goodliffe2026-02-14
| | | | Includes exposure of InstanceVertices::reserve because why not.
* Add support for partitioning by 2 unary predicatesDan Goodliffe2026-02-14
| | | | | Second predicate creates a single block of truthy values in the middle, and two falsy blocks at each end.
* Return indices instead of iterates from InstanceVertices::partitionDan Goodliffe2026-02-14
| | | | More useful in the context of passing them to OpenGL.
* Ensure ANALYSIS_DIRECTORY root folder is created up frontDan Goodliffe2026-02-14
|
* Don't write test output to /tmp, use ANALYSIS_DIRECTORY insteadDan Goodliffe2026-02-06
|
* Fix all warnings in test/Dan Goodliffe2025-05-01
|
* Fix all warnings in performance testsDan Goodliffe2025-04-28
|
* Fix all warnings in enumeration details code/testsDan Goodliffe2025-04-28
|
* Create Windows with a size objectDan Goodliffe2025-04-08
| | | | Not individual width/height parameters.
* Merge branch 'imgui'Dan Goodliffe2025-04-02
|\
| * Add SvgIcon classDan Goodliffe2025-03-31
| | | | | | | | Based on Icon class, but constructor replaced with calls to lunasvg.
| * Remove lots of stuff not required or superseded with ImGui useDan Goodliffe2025-03-19
| |
| * Tidy glArrays, fixes warningsDan Goodliffe2025-03-15
| |
* | Merge remote-tracking branch 'origin/ptrs'Dan Goodliffe2025-03-28
|\ \
| * | Expose size of each container by typeDan Goodliffe2025-03-28
| | |
| * | Fix up removeAll and test with more complex hierarchyDan Goodliffe2025-03-27
| | |
| * | Use is_base_of_v instead of is_convertible_v to choose OtherObjectsDan Goodliffe2025-03-24
| | |
| * | Support using typed collections for subclass filteringDan Goodliffe2025-03-23
| | |
| * | Use typed collections for apply/applyOneDan Goodliffe2025-03-23
| | |
| * | Use otherObjects where possible for findDan Goodliffe2025-03-23
| | |
| * | Other objects support in removeAll/clearDan Goodliffe2025-03-23
| | | | | | | | | | | | | | | removeAll requires a type that is one of Others, clear clears everything regardless of type.
| * | Other objects support in operator=Dan Goodliffe2025-03-23
| | |
| * | Populate typed collection of pointersDan Goodliffe2025-03-23
| | | | | | | | | | | | create and emplace only, so far
| * | Make Collections::objects protected, extend interfaceDan Goodliffe2025-03-22
| | | | | | | | | | | | | | | Keeps all required features accessible, but through a controlled interface.
| * | Invert how shared/unique is specified for CollectionDan Goodliffe2025-03-22
| | | | | | | | | | | | Template param is a pointer now, typedefs added for ease.
| * | Add ManyPtr which tracks specified subclassesDan Goodliffe2025-03-22
| |/ | | | | | | | | | | This removes the need to repeated dynamic_cast the pointer. Provides interface which enforces the fastest option for the required types.
* / Tidy perf tests with helperDan Goodliffe2025-03-21
|/
* Add a spike of terrain in test-renderDan Goodliffe2025-03-11
| | | | Very fake, but casts a clear shadow.
* Pass a Frustum to shadow renderersDan Goodliffe2025-03-11
| | | | The frustum might not be correct at this stage.
* Template AxisAlignedBoundingBox on unit typeDan Goodliffe2025-03-11
|
* Current tile in frustum as we loopDan Goodliffe2025-03-11
| | | | Chunk by surface only, render if visible in frustum
* Create AxisAlignedBoundingBoxDan Goodliffe2025-03-11
| | | | Used to define the extents of GeoData mesh
* Pass frustum into render functionsDan Goodliffe2025-03-07
| | | | Support for culling objects outside the view frustum
* Move camera out of gl folder, it's not OpenGL specificDan Goodliffe2025-03-05
|
* 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