summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Add an InstanceVertices partition perf testDan Goodliffe2024-06-30
| | | | | | | | | Summary: * Given a trivially simple condition, like a bounding box, over 1 million items can be partitioned in under 3ms. * Parallel algorithms reduce that a little but are only effective with volumes in excess ~200k, this might be better with a more complex condition/predicate.
* Fix run rules for perfsDan Goodliffe2024-06-30
| | | | Apparently Google benchmark doesn't like -- stuff syntax now
* Maintain a reverse index in instance verticesDan Goodliffe2024-06-30
| | | | Removes need to search unused and/or index when moving/adding things
* Implement partition on InstanceVerticesDan Goodliffe2024-06-29
|
* Tidy many stringy messes with std::formatDan Goodliffe2024-06-04
|
* Replace messy uasprintf with std::formatDan Goodliffe2024-06-04
|
* Fix setting of pedantic warningsDan Goodliffe2024-06-01
| | | | | Disable for Clang, because annoyingly to treats preprocessor line numbers as a GNU extension and thus falls over when used with DistCC.
* Surface asset test doesn't need render dumpDan Goodliffe2024-05-27
|
* Set the face surface type when setting heightDan Goodliffe2024-04-26
|
* Define some initial surface typesDan Goodliffe2024-04-18
|
* Split water from terrainDan Goodliffe2024-04-06
| | | | Shares the geo data instance, and still has the same implementation at this stage.
* Remove wireframe mode from test rendersDan Goodliffe2024-04-04
|
* Tests for triangle helpersDan Goodliffe2024-04-02
|
* Handle and test concave surface boundariesDan Goodliffe2024-03-23
|
* Add helper constructors to ArcDan Goodliffe2024-03-21
| | | | | | * Two angles, wraps logic ensuring b after a * Two vector directions * Centre and two endpoints, in at least 2 dimensions, uses .xy()
* Add deformation test case with lower specDan Goodliffe2024-03-09
|
* Add timeout to deformation unit testDan Goodliffe2024-03-09
|
* Rewrite most of setHeightsDan Goodliffe2024-03-08
| | | | | Accounts for sensible corners and fixes quite a few bugs and edge cases... introduces a few more, is still a bit glitchy in places
* Rework stream support to work with any collectionDan Goodliffe2024-03-08
|
* Load terrain deform fixture data from JSONDan Goodliffe2024-02-26
|
* Add helper for loading fixtures for data tests from fixture JSONDan Goodliffe2024-02-26
|
* Make terrain deformation test a data testDan Goodliffe2024-02-26
| | | | Easily test multiple deformations and view them from different angles
* Psycho-rebased branch deform-terrain on top of mainDan Goodliffe2024-02-24
|\
| * First cut of terrain deformationDan Goodliffe2024-02-22
| | | | | | | | | | | | | | | | | | | | This "works" for some definition of works... But it's flawed in many ways, not least the following: * It's glitchy for no obvious reason * It's unreliable; fails if you tweak the parameters * The sides of the modified area are triangulated in the dumbest possible fashion, which results in ill-formed polygons * Probably other things, but... It works, remember...
| * Include face handle in intersectRay resultDan Goodliffe2024-02-13
| |
| * Add stripiterDan Goodliffe2024-02-12
| | | | | | | | | | A generic iterator wrapper returning a tuple of 3 references to the original values, as processed in the fashion of an OpenGL triangle strip.
* | Simplify vector addition/subtraction with differnt typesDan Goodliffe2024-02-24
|/ | | | | Automatically applies correct rounding with float to int operations, adjusts test expectations accordingly.
* Map buffers RO if const operations, upgrade to RW as requiredDan Goodliffe2024-02-02
|
* Don't keep a span, create as neededDan Goodliffe2024-02-02
| | | | | Removes the error prone issue where data/size get out of sync. Fixes overflow issues leading to memory corruption of GPU data.
* Fix warnings in test-glContainerDan Goodliffe2024-02-02
| | | | Also updates static asserts to requirements
* Render text in N draw callsDan Goodliffe2024-01-27
| | | | | | Creates a single buffer per required texture and draws the whole buffer in one go. It does introduce the use of deprecated GL_QUADS primitive, but it's the easiest way to go without needing indices, repeated vertices etc
* Support constructing a glContainer from a collection of the same typeDan Goodliffe2024-01-27
|
* Add text to framebuffer rendering testDan Goodliffe2024-01-27
|
* Add traits helpers for glTexParameter functionsDan Goodliffe2024-01-25
|
* Fix network population of position in gBufferDan Goodliffe2024-01-23
| | | | Adds some rails to the basic test highlighting broken shadows
* Fix includes in test glCtxtBhvrDan Goodliffe2024-01-21
|
* Update network with vertex arrayDan Goodliffe2024-01-20
|
* Render rail network using new shadersDan Goodliffe2024-01-20
| | | | Non-functional, totally unimplemented at this stage
* Copy render vital link data to vertex bufferDan Goodliffe2024-01-20
|
* Add mail rail network to render test, include curvesDan Goodliffe2024-01-20
|
* Add rail network render testDan Goodliffe2024-01-19
|
* Add glContainer::at override to update a single itemDan Goodliffe2024-01-13
|
* Use std::span for iterator/data pointer in glContainerDan Goodliffe2024-01-13
|
* Add old street lamp modelDan Goodliffe2024-01-13
|
* Add model support for point lightsDan Goodliffe2024-01-12
| | | | Still invokes non-instanced point light shader
* Initial commit with working light instancingDan Goodliffe2024-01-10
|
* Add spot light definition, loader, and renderingDan Goodliffe2024-01-10
| | | | Rendering is untested, data is passed to whatever GL program is currently active.
* Add lights resource set and test sceneDan Goodliffe2024-01-09
|
* Integer support in persistenceDan Goodliffe2024-01-09
| | | | | Splits bool and arithmatic types, pass arithmatic values as string views from JSON and parse according to the target type.
* Fix test-persistence dependenciesDan Goodliffe2024-01-08
|