summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add support for smooth facesDan Goodliffe2023-02-16
|
* Refactor so ModelFactoryMesh can define the smooth property on facesDan Goodliffe2023-02-16
|
* First cut of the model factory and the hardcoded Brush 47 modelDan Goodliffe2023-02-15
| | | | Requires temporary change to the fragment shader to hardcode some visible colour to the model
* Add OpenMeshCore libraryDan Goodliffe2023-02-15
|
* Add helper operator to perform vec3*mat4 and perspective divideDan Goodliffe2023-02-01
|
* Add utilities for mutating, concatenating, creating vectorsDan Goodliffe2023-02-01
|
* Add missing bracesDan Goodliffe2023-01-26
|
* Fix wrap/clamp settings on icon texturesDan Goodliffe2023-01-12
|
* Support creating test render output framebuffers of different sizesDan Goodliffe2023-01-10
| | | | Includes a templated subclass to allow size to be specified in a test fixture
* Fix up all the static analyzer warningsDan Goodliffe2023-01-08
|
* Tidy shadow map creationDan Goodliffe2023-01-07
|
* Use the whole texture when only some shadow map bandsDan Goodliffe2023-01-07
|
* 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
* min/mag filter for shadow mapper depth map textureDan Goodliffe2023-01-06
|
* Add rendering support for spot lightsDan Goodliffe2023-01-05
|
* Include uniform name in required uniform does not exist error messageDan Goodliffe2023-01-05
|
* Use VertexArrayObject for SceneShader::PointLightDan Goodliffe2023-01-02
|
* Use VertexArrayObject for SceneRendererDan Goodliffe2023-01-02
|
* Single helper for rendering the fullscreen quadDan Goodliffe2023-01-02
|
* Add gl_traits for all the common typesDan Goodliffe2023-01-02
|
* VertexArrayObject helper supports binding an entire object, not just fieldsDan Goodliffe2023-01-02
| | | | Invoked by configuring with no attribute member points.
* Should use value_type, not element_typeDan Goodliffe2023-01-02
| | | | Works with std::array then too.
* Add helper for configuring vertex array objects/buffers of arbitrary thingsDan Goodliffe2023-01-02
|
* Add a traits struct to lookup sizes/type enums for passing to OpenGLDan Goodliffe2023-01-02
|
* Add a concept for sequential collections suitable for passing to OpenGLDan Goodliffe2023-01-02
|
* Allow operator*= on spans, not just arraysDan Goodliffe2022-12-30
|
* Make Vertex constexprDan Goodliffe2022-12-30
|
* 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
|
* Add missing explicit on constructorsDan Goodliffe2022-12-29
|
* Tidy Camera::extentsAtDistDan Goodliffe2022-12-29
|
* Add helper to produce cartesian product of two arraysDan Goodliffe2022-12-29
|
* constexpr collections helpersDan Goodliffe2022-12-29
|
* Add helper to apply perspective divisionDan Goodliffe2022-12-28
| | | | Returns vec3 by default, but dimensions can be specified
* Reduce size of shadow map textureDan Goodliffe2022-12-28
|
* Generate 4 bands of shadow mapsDan Goodliffe2022-12-28
|
* Generate a single shadow band and region definitionDan Goodliffe2022-12-28
|
* Light camera centre not required, view camera position sufficesDan Goodliffe2022-12-28
|
* Change default light directionDan Goodliffe2022-12-28
| | | | Just so it shows up more clearly in tests
* Setup GL context before doing any shadow render workDan Goodliffe2022-12-28
|
* Initial support for multiple shadow maps in the same textureDan Goodliffe2022-12-28
|
* Render some train bodies to test shadowingDan Goodliffe2022-12-28
|
* Add two new array helpersDan Goodliffe2022-12-28
| | | | | * create a new array from an old one and a mutation * mutate all the members of an existing array
* Reduce camera extents to the point they cross the sea floor boundaryDan Goodliffe2022-12-28
|
* Use the existence of .substr(...) to test if a T is stringlikeDan Goodliffe2022-12-28
|
* No need for the range hack, the shadow box is just centred around the originDan Goodliffe2022-12-22
|
* Invert shadow mapper orthographic project z... because glmOrtho is 'helpful'Dan Goodliffe2022-12-18
|
* Removed unnecessary rounding of view extentsDan Goodliffe2022-12-18
|
* No need to store view or unViewDan Goodliffe2022-12-18
| | | | view is transient to create viewProjection, unview only needed on unproject
* First cut of view scope shadow mapper viewDan Goodliffe2022-12-18
|