Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add network helpers for easily adding a chain of links | Dan Goodliffe | 44 hours |
| | |||
* | Split link generation definitions according to terrain | Dan Goodliffe | 48 hours |
| | | | | Copies the same imperfect logic from old link addition functions. | ||
* | Split definition creation from link creation | Dan Goodliffe | 2 days |
| | |||
* | Link helper to get an End pointer based on position | Dan Goodliffe | 3 days |
| | |||
* | Fix conditional render of rail links | Dan Goodliffe | 3 days |
| | | | | | Tests for vertices, not links in network. Fixes case where links are present but not in network, e.g. currently being built. | ||
* | Set terrain height and surface when adding link | Dan Goodliffe | 3 days |
| | |||
* | Add new network building interface | Dan Goodliffe | 3 days |
| | | | | Imperfect, matches some legacy interface in places, has some TODO notes. | ||
* | New genCurveDef for 2 directions | Dan Goodliffe | 3 days |
| | | | | | | | | Based on formula/code from https://www.ryanjuckett.com/biarc-interpolation/ Produces smoother curves instead of equal curves. Removes need for that awful formula for finding the radius of said curves which has a tendency to blow up to infinity, and if not that then crazy rounding/accuracy errors. | ||
* | Simplified genCurveDef for 1 direction | Dan Goodliffe | 3 days |
| | | | | | Uses new find_arc_centre for 1 direction which doesn't break for 180 degree solutions. | ||
* | Avoid out parameters with Ray::intersectSphere | Dan Goodliffe | 2025-04-24 |
| | |||
* | Fix all warnings game/network/* | Dan Goodliffe | 2025-04-23 |
| | | | | Mostly naming of variables. | ||
* | Make Collections::objects protected, extend interface | Dan Goodliffe | 2025-03-22 |
| | | | | | Keeps all required features accessible, but through a controlled interface. | ||
* | Invert how shared/unique is specified for Collection | Dan Goodliffe | 2025-03-22 |
| | | | | Template param is a pointer now, typedefs added for ease. | ||
* | Add ManyPtr which tracks specified subclasses | Dan Goodliffe | 2025-03-22 |
| | | | | | | This removes the need to repeated dynamic_cast the pointer. Provides interface which enforces the fastest option for the required types. | ||
* | Pass frustum into render functions | Dan Goodliffe | 2025-03-07 |
| | | | | Support for culling objects outside the view frustum | ||
* | Work around clang thinking this is unused in lambdas | Dan Goodliffe | 2025-03-01 |
| | |||
* | Improve number of segments in LinkCurve bases | Dan Goodliffe | 2025-02-23 |
| | |||
* | Initial commit setting terrain during network construction | Dan Goodliffe | 2025-02-09 |
| | | | | This is all in the wrong place, it shouldn't be part of the network interface. | ||
* | Add distance helper | Dan Goodliffe | 2025-01-21 |
| | | | | Works with integer positions, first template param allows forcing to N dimensions | ||
* | Update rails render for being atop a surface | Dan Goodliffe | 2024-12-24 |
| | |||
* | Enable min mipmap on network texture | Dan Goodliffe | 2024-12-24 |
| | |||
* | Fix calculations for sleeper texture coords | Dan Goodliffe | 2024-12-24 |
| | |||
* | Expose network base width and surface | Dan Goodliffe | 2024-12-22 |
| | |||
* | Adjust track height to blend into terrain | Dan Goodliffe | 2024-12-21 |
| | |||
* | Expose network link interface to define a base area of the link | Dan Goodliffe | 2024-12-21 |
| | |||
* | Fix calculating radius and length of curved links | Dan Goodliffe | 2024-12-21 |
| | |||
* | Fix GenDef for networks, should be globals | Dan Goodliffe | 2024-11-05 |
| | |||
* | Further template maths functions | Dan Goodliffe | 2024-10-21 |
| | |||
* | Move lots of maths helpers to inline, constexpr, templates | Dan Goodliffe | 2024-10-20 |
| | | | | Always for working with different dimensions/types | ||
* | Apply StdTypeDefs for Texture | Dan Goodliffe | 2024-08-10 |
| | |||
* | Add helper constructors to Arc | Dan Goodliffe | 2024-03-21 |
| | | | | | | * Two angles, wraps logic ensuring b after a * Two vector directions * Centre and two endpoints, in at least 2 dimensions, uses .xy() | ||
* | Make arc_length a member function | Dan Goodliffe | 2024-03-21 |
| | |||
* | Simplify vector addition/subtraction with differnt types | Dan Goodliffe | 2024-02-24 |
| | | | | | Automatically applies correct rounding with float to int operations, adjusts test expectations accordingly. | ||
* | Remove the generic cache completely | Dan Goodliffe | 2024-01-26 |
| | |||
* | Remove the static texture cache | Dan Goodliffe | 2024-01-25 |
| | | | | | Static variables persist too long, destruction is unmanaged and occurs after the gl context is gone. | ||
* | Bind the network profile in as uniforms | Dan Goodliffe | 2024-01-22 |
| | | | | Makes the network shaders generic to network type | ||
* | Remove the old custom mesh per network link rendering | Dan Goodliffe | 2024-01-21 |
| | |||
* | Pass curve link radius, no recalculate, its constant | Dan Goodliffe | 2024-01-20 |
| | |||
* | Implement basic network curve part shader | Dan Goodliffe | 2024-01-20 |
| | |||
* | Update network with vertex array | Dan Goodliffe | 2024-01-20 |
| | |||
* | Render rail network using new shaders | Dan Goodliffe | 2024-01-20 |
| | | | | Non-functional, totally unimplemented at this stage | ||
* | Copy render vital link data to vertex buffer | Dan Goodliffe | 2024-01-20 |
| | |||
* | Remove PositionxD from Network | Dan Goodliffe | 2024-01-07 |
| | |||
* | Global positions in network data | Dan Goodliffe | 2024-01-07 |
| | |||
* | Template Ray on position type | Dan Goodliffe | 2024-01-07 |
| | |||
* | Remove misleading power operator^ on vec2/3 | Dan Goodliffe | 2023-12-29 |
| | |||
* | Remove weird operator! on vec2/3 | Dan Goodliffe | 2023-12-29 |
| | |||
* | Switch to millimeters for spatial units | Dan Goodliffe | 2023-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. | ||
* | WIP typedefing just about everything else | Dan Goodliffe | 2023-11-09 |
| | |||
* | WIP typedefing all the things - sources | Dan Goodliffe | 2023-11-09 |
| |