Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | | Merge branch 'sunpos' | Dan Goodliffe | 2024-09-23 | |
|\ \ | ||||
| * | | Adjust light colour as sun rises/sets | Dan Goodliffe | 2024-09-22 | |
| | | | | | | | | | | | | This is a bit made-up-maths/numbers, but it looks reasonable. | |||
| * | | Calculate sunlight direction from worldTime | Dan Goodliffe | 2024-09-22 | |
| | | | ||||
| * | | Move getSunPos to Environment | Dan Goodliffe | 2024-09-20 | |
| | | | ||||
| * | | Add basic environment object | Dan Goodliffe | 2024-09-20 | |
| | | | | | | | | | | | | Will hold world time/date, weather, location etc | |||
| * | | Update getSunPos to use a standard time_t | Dan Goodliffe | 2024-09-19 | |
| | | | ||||
| * | | Add helper to quickly parse an ISO date/time | Dan Goodliffe | 2024-09-19 | |
| | | | ||||
| * | | Add new mathematical constants to lib | Dan Goodliffe | 2024-09-19 | |
| | | | ||||
| * | | Initial commit of code for calculating sun position | Dan Goodliffe | 2024-09-18 | |
|/ / | | | | | | | | | | | | | | | | | Given the longitude and latitude, and a time into 2024, calculate the relative sun position suitable for providing lighting angles. Based on code from https://www.psa.es/ Loosely checked against https://www.pveducation.org/ and its close, working on faith really, but the numbers look plausible. Could do with a tidy up! | |||
* | | Don't create lots of unnecessary tmps | Dan Goodliffe | 2024-08-18 | |
| | | ||||
* | | Don't set face material on each vertex index pass | Dan Goodliffe | 2024-08-18 | |
| | | ||||
* | | Offset shaded position to reduce chance of self-shadowing | Dan Goodliffe | 2024-08-18 | |
| | | ||||
* | | Replace low poly plants with the double sided version | Dan Goodliffe | 2024-08-18 | |
|/ | | | | Avoids culling half the trees | |||
* | Fix texture usage via materials in shadows | Dan Goodliffe | 2024-08-10 | |
| | | | | | This is a mess of a commit much like the shader folder, need a better way of dealing with them. | |||
* | Pull material detail function into a common file | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Pull material lookup functions into a common file | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Add a tree to the test render scene | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Create standalone composed shader file and format it and the C++ code | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Reduce the amount of unnecessary rebuilds on shader source changes | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Simplify in/out in materialInterface | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Apply StdTypeDefs for Texture | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Add missing truthy/falsy operators to AnyPtr | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Specific exception for shader compile error | Dan Goodliffe | 2024-08-04 | |
| | | | | Outputs more details, including shader source | |||
* | Help exception class for lazy/cached message content | Dan Goodliffe | 2024-08-04 | |
| | ||||
* | Split CheckShaderError into shader/program versions | Dan Goodliffe | 2024-08-03 | |
| | | | | They're similar, but need splitting for better diagnostics | |||
* | Creating a program with no shaders is not valid | Dan Goodliffe | 2024-07-20 | |
| | ||||
* | Build cpp parts of ImGui | Dan Goodliffe | 2024-07-07 | |
| | ||||
* | Update Doxyfile, remove comments, exclude thirdparty dir | Dan Goodliffe | 2024-07-07 | |
| | ||||
* | Simplify setup of uniform locations and containing programs | Dan Goodliffe | 2024-07-07 | |
| | ||||
* | Add shadow shader which takes into account texture transparency | Dan Goodliffe | 2024-07-07 | |
| | ||||
* | Merge branch 'imgui' | Dan Goodliffe | 2024-07-07 | |
|\ | ||||
| * | Replace deprecated GL_QUADS usage in text rendering | Dan Goodliffe | 2024-07-06 | |
| | | ||||
| * | Fix up perf tests in light of window management changes | Dan Goodliffe | 2024-07-05 | |
| | | ||||
| * | Re-add testHelpers.h | Dan Goodliffe | 2024-07-02 | |
| | | ||||
| * | Psycho-rebased branch imgui on top of main | Dan Goodliffe | 2024-07-02 | |
| |\ | ||||
| | * | Build ImGui as a static library | Dan Goodliffe | 2024-06-24 | |
| | | | ||||
| | * | Use shared installed libraries explicitly | Dan Goodliffe | 2024-06-24 | |
| | | | ||||
| | * | Don't process input events which ImGui handled | Dan Goodliffe | 2024-06-24 | |
| | | | ||||
| | * | Integrate ImGUI main calls | Dan Goodliffe | 2024-06-16 | |
| | | | ||||
| | * | Disable saving settings automagically | Dan Goodliffe | 2024-06-16 | |
| | | | ||||
| | * | Remove initialisation order debug | Dan Goodliffe | 2024-06-16 | |
| | | | ||||
| | * | Move main application loop into the library | Dan Goodliffe | 2024-06-15 | |
| | | | ||||
| | * | First cut reshuffling app/window/gl/render bits | Dan Goodliffe | 2024-06-15 | |
| | | | ||||
| | * | Add imgui init and shutdown to appbase and gamemainwindow | Dan Goodliffe | 2024-06-05 | |
| | | | ||||
| | * | Build and link imgui with sdl2 and opengl2 backends | Dan Goodliffe | 2024-06-05 | |
| | | | ||||
| | * | Add imgui submodule, latest version, docking branch | Dan Goodliffe | 2024-06-05 | |
| | | | ||||
* | | | Replace deprecated GL_QUADS usage in text rendering | Dan Goodliffe | 2024-07-06 | |
|/ / | ||||
* | | Add an InstanceVertices partition perf test | Dan Goodliffe | 2024-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 perfs | Dan Goodliffe | 2024-06-30 | |
| | | | | | | | | Apparently Google benchmark doesn't like -- stuff syntax now | |||
* | | Maintain a reverse index in instance vertices | Dan Goodliffe | 2024-06-30 | |
| | | | | | | | | Removes need to search unused and/or index when moving/adding things |