| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Create mix-ins for handling asset and instance lightsHEADmain | Dan Goodliffe | 2026-04-03 |
| | | |||
| * | Add light support to RailVehicleClass | Dan Goodliffe | 2026-04-03 |
| | | | | | And head lights to the brush47 model. | ||
| * | Add a test spot light to default scene | Dan Goodliffe | 2026-04-03 |
| | | |||
| * | Merge branch 'shared-locations' | Dan Goodliffe | 2026-04-03 |
| |\ | |||
| | * | Fix direction of difference vector calculating railVehicle new position | Dan Goodliffe | 2026-04-03 |
| | | | |||
| | * | Move spot/point light persistence wrappers to assetFactory | Dan Goodliffe | 2026-04-01 |
| | | | |||
| | * | Have Renderable manage all instance lights | Dan Goodliffe | 2026-04-01 |
| | | | | | | | | | | | | | Spot and point lights now existing in Renderable, the vertex data contains the owning parent object's index in CommonLocationData, the render step is just a single draw call. | ||
| | * | Fix VertexArrayConfigurator with derived classes | Dan Goodliffe | 2026-04-01 |
| | | | | | | | | | | | | | Fixing passing a pointer to member of base class; previously the offset was deduced relative to the structure it was in, not the vertex as a whole. | ||
| | * | Add helper to Decompose a member pointer | Dan Goodliffe | 2026-04-01 |
| | | | |||
| | * | Helper to instantiate transient static values as required | Dan Goodliffe | 2026-04-01 |
| | | | |||
| | * | Move light vertex structs out | Dan Goodliffe | 2026-03-31 |
| | | | |||
| | * | Use a single buffer for the location/rotation data of all renderable objects | Dan Goodliffe | 2026-03-31 |
| | | | | | | | | | | | | | Removes the BufferedLocation and BufferedLocationUpdater mess. Note: appears to break bogie rendering in asset factory test only, same symptom as broken network render test? (out of date buffer data) | ||
| | * | Use uint32_t for indexes in InstanceVertices | Dan Goodliffe | 2026-03-30 |
| |/ | | | | Passable to GLSL and more than big enough | ||
| * | Use std::chrono for worldTime | Dan Goodliffe | 2026-03-27 |
| | | | | | | | Defines a world time type alias, a game time scale factor (the rate at which world time progresses compare to real time) and display the world time on the status bar. | ||
| * | Add wrapper for ImGui::TextEx for any contiguous char range | Dan Goodliffe | 2026-03-27 |
| | | |||
| * | Improve calculations of the amount and colour of ambient and directional sun ↵ | Dan Goodliffe | 2026-03-26 |
| | | | | | light | ||
| * | Improve light approximations in LightDirection | Dan Goodliffe | 2026-03-26 |
| | | | | | | | | | | Twilight replaces astronomical twilight to give a longer fade. Astronomical twilight is only the darkest part of twilight, which we had skipped right to. Fixes directional light amount to only be affected by the sun's passing below th horizon, not it's whole height above it. Adds a rough approximation of the amount of atmosphere scattering of directional light (I made this calculation up) | ||
| * | Fix warnings in Environment:getSunPos | Dan Goodliffe | 2026-03-26 |
| | | | | | Mostly naming and bracketing. | ||
| * | Fix warnings in glAllocator.h | Dan Goodliffe | 2026-03-26 |
| | | | | | Missing #pragma once in particular. | ||
| * | glAllocator revamp | Dan Goodliffe | 2026-03-15 |
| | | | | | | | | Remove the map of buffers, now a fat pointer containing the buffer's name. This is accessible via the container's begin/end iterator. Move the bulk of the logic out of the template, it's mostly void * from the mapping anyway. Add allocate_at_least support. | ||
| * | Add missing algorithm include | Dan Goodliffe | 2026-03-15 |
| | | |||
| * | Avoid UB in calculating member offset | Dan Goodliffe | 2026-03-15 |
| | | | | | Bit hacky; local dummy var to base a fake pointer on. | ||
| * | Remove unused bits from gameMainSelector.cpp | Dan Goodliffe | 2026-03-15 |
| | | |||
| * | Expose Camera's aspect ratio | Dan Goodliffe | 2026-03-15 |
| | | |||
| * | Fix class/struct mix-up friending test case | Dan Goodliffe | 2026-03-15 |
| | | |||
| * | Bump ctre to latest | Dan Goodliffe | 2026-03-15 |
| | | |||
| * | Don't pass null to Texture constructor pixel data | Dan Goodliffe | 2026-03-14 |
| | | | | | | Pixel data variant now proxies to the simple version and then uploads the image data, instead of vice versa with nullptr pixels. | ||
| * | Shared VAO for all 3 parts of RailVehicleClass | Dan Goodliffe | 2026-03-12 |
| | | | | | | | Rearranges its LocationVertex to be 3 repeated Parts. Adds helpers to glvglVertexArray for useBuffer with various offsets. Render is then an iteration of the meshes and the location data at the nth offset. | ||
| * | Reuse vertex array objects for common structures with DSA | Dan Goodliffe | 2026-03-11 |
| | | | | | Slashes the number of VAOs required and the amount of setup required. | ||
| * | Add missing typename exporting base::value_type from InstanceVertices | Dan Goodliffe | 2026-03-11 |
| | | |||
| * | Sprinkling of glDebugScope in assets and render parts | Dan Goodliffe | 2026-03-11 |
| | | |||
| * | Split addAttribsFor away from requiring a buffer to bind | Dan Goodliffe | 2026-03-11 |
| | | |||
| * | Replace hacky m4 shader preprocessing with proper glslang version | Dan Goodliffe | 2026-03-10 |
| | | |||
| * | Refactor glMappedBufferWriter into a DSA wrapper for std::span | Dan Goodliffe | 2026-03-10 |
| | | |||
| * | Switch frame and render buffer to DSA helpers | Dan Goodliffe | 2026-03-10 |
| | | |||
| * | Switch to floating point, camera relative position buffer | Dan Goodliffe | 2026-03-10 |
| | | |||
| * | Specialise glTexture::savePosition | Dan Goodliffe | 2026-03-09 |
| | | | | | | Normalises the range of position information into the range 0-255 so the resulting image is remotely useful. | ||
| * | Remove identifier naming lint comments, gl* is fine | Dan Goodliffe | 2026-03-08 |
| | | |||
| * | Move all low level texture operations to DSA helpers in glTexture | Dan Goodliffe | 2026-03-08 |
| | | |||
| * | Replace gl_traits glTexParameter with glTexture::parameter DSA wrapper | Dan Goodliffe | 2026-03-07 |
| | | |||
| * | Fix naming violations in Mesh | Dan Goodliffe | 2026-03-07 |
| | | | | | | They've existed and been annoying since the day I first created it from online examples. | ||
| * | Add glVertexArray useBuffer | Dan Goodliffe | 2026-03-07 |
| | | | | | | | Wraps glVertexArrayVertexBuffer automatically getting the buffer name from the argument and deriving the stride from the container's value_type. | ||
| * | Don't create and then replace shadow and billboard textures | Dan Goodliffe | 2026-03-07 |
| | | |||
| * | Merge branch 'glalloc' | Dan Goodliffe | 2026-03-07 |
| |\ | |||
| | * | Replace glContainer with glAllocator | Dan Goodliffe | 2026-03-07 |
| | | | | | | | | | | | | | | | glContainer is no longer required, as we can use std::vector with a custom allocator which uses OpenGL buffers for storage. Minor irritation is that the mapped buffers aren't guaranteed to be flushed in the tests, so sometimes we're missing bits in a test render. | ||
| | * | Remove VertexArrayObject and supporting non-DSA gl_traits helpers | Dan Goodliffe | 2026-03-06 |
| | | | |||
| | * | Replace use of VertexArrayObject with glVertexArray/glBuffer DSA versions | Dan Goodliffe | 2026-03-06 |
| | | | |||
| | * | Extend glVertexArray with VertexArrayConfigurator | Dan Goodliffe | 2026-03-06 |
| | | | | | | | | | DSA version of VertexArrayObject. | ||
| | * | Replace generic glBuffer type alias with a full implementation | Dan Goodliffe | 2026-03-06 |
| | | | | | | | | | Adds wrappers for DSA storage and data uploads. | ||
| | * | Define SequentialCollection in terms of contiguous_range | Dan Goodliffe | 2026-03-06 |
| | | | |||
