summaryrefslogtreecommitdiff
path: root/test/test-render.cpp
Commit message (Collapse)AuthorAge
* 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.
* Drop performance debug to warning and stop disabling error checking for ↵Dan Goodliffe2023-04-19
| | | | texture save
* Use asset factory models in test-renderDan Goodliffe2023-04-14
|
* No need to pass size around, we can get it back from the textureDan Goodliffe2023-04-14
|
* RailVehicleClass now renders bogie shadows as well as bodyDan Goodliffe2023-03-04
|
* Fix up all the static analyzer warningsDan Goodliffe2023-01-08
|
* Only generate the first N shadow maps which are usefulDan Goodliffe2023-01-07
| | | | Note: we don't yet optimise the use of the shadow map texture, each still renders into its own corner
* Add rendering support for spot lightsDan Goodliffe2023-01-05
|
* Add directional light to pointlight test, fix setting of GL_DEPTH_TESTDan Goodliffe2022-12-30
| | | | Fixes issue where directional light prevented pointlights from working
* Move test render helpers into a new test libraryDan Goodliffe2022-12-29
|
* Render some train bodies to test shadowingDan Goodliffe2022-12-28
|
* Add Camera method to get the extents of the view frustrum at some distanceDan Goodliffe2022-12-13
|
* Make Camera members private with accessors and helpful settersDan Goodliffe2022-12-12
|
* Generate and use a shadow mapDan Goodliffe2022-12-04
| | | | | Generated when the directional light is specified in the environment call, passed to the directional light shader pass to conditionally illuminate each pixel.
* Disable GL_DEBUG_OUTPUT before dumping debug screenshotDan Goodliffe2022-12-04
| | | | Avoids potential performance error capture memory mapping a busy miptree BO
* Add GL_DEBUG_OUTPUT with boost test error handling to test-render contextDan Goodliffe2022-12-03
|
* Split SceneProvider outDan Goodliffe2022-11-27
|
* SceneRenderer is a graphics component, not a UI oneDan Goodliffe2022-11-27
|
* Add rendering support for point lightsDan Goodliffe2022-11-23
|
* Separate out the illumation of the sceneDan Goodliffe2022-11-23
|
* Shared context, persist main window in test, send test for upcoming pointlightDan Goodliffe2022-11-19
|
* Move OpenGL context behaviour tests into their own appDan Goodliffe2022-11-17
| | | | For our own sanity :)
* Add some tests over the behaviour of windows and contexts and glStuffDan Goodliffe2022-11-14
|
* Add a basic if clunky render testDan Goodliffe2022-11-14