summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Model positions as integersDan Goodliffe2023-11-25
| | | | | Introduces test failure in arcs due to rounding, but I don't want to create a complicated fix as link positions are still floats and hopefully that'll go away... somehow
* Switch to millimeters for spatial unitsDan Goodliffe2023-11-15
| | | | | | Mostly a case of changing far too many magic numbers, something else to fix I guess. I probably missed something. Also there's some hackery when loading 3D models, which are still assumed to be in metres.
* WIP typedefing all the things - sourcesDan Goodliffe2023-11-09
|
* WIP typedefing all the things - headersDan Goodliffe2023-11-07
|
* Reformat with new clang-formatDan Goodliffe2023-11-07
|
* Don't request a specific OpenGL version, just check we get something ↵Dan Goodliffe2023-11-07
| | | | sufficient from gladLoadGL
* Swap GLEW for more modern gladDan Goodliffe2023-05-28
|
* Templated BufferedLocation and single buffer storage for RVC locationsDan Goodliffe2023-05-06
|
* Refactor InstanceVertices in terms of glContainerDan Goodliffe2023-05-01
|
* Add the pack containerDan Goodliffe2023-05-01
| | | | Keeps its elements densely packed together without any interest in order
* Add missing test over iterator comparisonDan Goodliffe2023-05-01
|
* glContainer should at least double in capacity as requiredDan Goodliffe2023-05-01
|
* Extend glContainer with most of the interface expected of an STL containerDan Goodliffe2023-05-01
|
* Initial commit of glContainerDan Goodliffe2023-04-30
| | | | A std::vector like container backed by an OpenGL buffer.
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* Fudge RV bogey position the same as we do the body in test-renderDan Goodliffe2023-04-26
|
* Handle rendering of RailVehicles through RailVehicleClass instancingDan Goodliffe2023-04-23
| | | | | | | Trains no longer need rendering as their parts are all RVC assets and that just works now. This commit creates some irritating duplication in RVC wrt body/2 bogies all of which are stored separately, but function in exactly the same way. This breaks RV shadows as we have no instancing shadow shaders yet.
* Don't fill the instances unused vector unnecessarilyDan Goodliffe2023-04-22
|
* Test instancing automatic unmap when count is called, add some nodiscardDan Goodliffe2023-04-22
|
* Fix the instancing maintenanceDan Goodliffe2023-04-22
|
* Instances buffer data needs to be unmapped before useDan Goodliffe2023-04-21
| | | | | Here we change quite a bit to support mapping and unmapping the buffer as required. The instance/free referencing is still broken though. We add several instances of tree in the render.
* Switch to render trees in bulk through foliage asset renderingDan Goodliffe2023-04-20
|
* Drop performance debug to warning and stop disabling error checking for ↵Dan Goodliffe2023-04-19
| | | | texture save
* First cut of instance vertices and proxyDan Goodliffe2023-04-17
| | | | | Untested outside unit test, allows the use of a glBuffer as a storage container. To be combined with a vertex array and/or mesh etc for massing drawing with glDrawElementsInstanced
* Remove the old .obj load, assets and supporting stuffDan Goodliffe2023-04-14
|
* Load all assets in red dir with asset factoryDan Goodliffe2023-04-14
|
* Use asset factory models in test-renderDan Goodliffe2023-04-14
|
* Adjust test render view to get a closer view of our treeDan Goodliffe2023-04-14
|
* Current thread partakes in work effort while waitingDan Goodliffe2023-04-14
| | | | This will prevent deadlock if the work pool is otherwise busy by ensuring work is always being done
* Simplify doWork, add tests for various interface usesDan Goodliffe2023-04-14
|
* New WorkItem/job/promise/future based interfaceDan Goodliffe2023-04-14
|
* Global worker instanceDan Goodliffe2023-04-14
|
* No need to pass size around, we can get it back from the textureDan Goodliffe2023-04-14
|
* Extend timeout... this can be a bit slow nowDan Goodliffe2023-04-14
|
* First cut loading assets using assimpDan Goodliffe2023-04-10
| | | | This is far from perfect, specifically the created texture atlas is not compatibile with wrapping texture UVs
* test-assetFactory depends on all resource filesDan Goodliffe2023-04-10
|
* Add timeouts to asset factory testsDan Goodliffe2023-04-07
| | | | Yes, I made some infinite loops a few times
* Make perf tests depend on their functional equivalentDan Goodliffe2023-03-19
|
* Fix texture packer return value so positions match inputsDan Goodliffe2023-03-17
|
* Update test/fixture/resource dependenciesDan Goodliffe2023-03-17
|
* Add postLoad support to persistenceDan Goodliffe2023-03-14
|
* Initial version of texture packerDan Goodliffe2023-03-11
| | | | | Determines where a collection of smaller textures can be tiled into a single bigger image. Probably non-optimal.
* Hugely more detailed Brush47 model and revision to test case detailsDan Goodliffe2023-03-09
| | | | | | Specifically, this includes the buffer block, which is a rotated cuboid with an extrusion. This feature breaks the current mesh creation code... Fix coming up.
* Add a generic persistence perf testDan Goodliffe2023-03-05
|
* Move persistence test objects to test libraryDan Goodliffe2023-03-05
|
* Unify asset factory perf tests as it's now a combined load/create operationDan Goodliffe2023-03-05
|
* Remove old hard coded asset factory test, run entirely from XML load and ↵Dan Goodliffe2023-03-04
| | | | render a RailVehicle instance
* RailVehicleClass now renders bogie shadows as well as bodyDan Goodliffe2023-03-04
|
* Support and load factory asset directly into a RailVehicleClass instanceDan Goodliffe2023-03-04
|
* Add ParseBaseDan Goodliffe2023-03-02
| | | | Acts as a base class for persistence parser, encompasses the parse stack and manages shared objects