summaryrefslogtreecommitdiff
path: root/test/test-render.cpp
Commit message (Collapse)AuthorAge
* Use 32bit integer texture for position render dataDan Goodliffe2023-12-17
|
* Basic support for saving intermediate render buffersDan Goodliffe2023-12-13
|
* Fix clamping to seafloor and add specific testDan Goodliffe2023-12-11
|
* Integer cameraDan Goodliffe2023-12-11
|
* Render test using loaded terrainDan Goodliffe2023-12-03
|
* Merge branch 'ints' into terrainDan Goodliffe2023-11-26
|\ | | | | | | | | | | Conflicts fix, compiles, some test failures remain. Trees not added, possibility of OM invalid handle assertion failures, normals broken due to integer overflow in Newell's method.
| * 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.
| * Reformat with new clang-formatDan Goodliffe2023-11-07
| |
* | Rename TerrainMesh to GeoData to drop inplaceDan Goodliffe2023-11-04
| |
* | Reformat test sourceDan Goodliffe2023-11-04
|/
* Templated BufferedLocation and single buffer storage for RVC locationsDan Goodliffe2023-05-06
|
* 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.
* 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