summaryrefslogtreecommitdiff
path: root/game
Commit message (Collapse)AuthorAge
* Create flat GeoData as 10m squares instead of one big squareDan Goodliffe2024-02-12
|
* Remove the generic cache completelyDan Goodliffe2024-01-26
|
* Remove the static texture cacheDan Goodliffe2024-01-25
| | | | | Static variables persist too long, destruction is unmanaged and occurs after the gl context is gone.
* Bind the network profile in as uniformsDan Goodliffe2024-01-22
| | | | Makes the network shaders generic to network type
* Remove the old custom mesh per network link renderingDan Goodliffe2024-01-21
|
* Pass curve link radius, no recalculate, its constantDan Goodliffe2024-01-20
|
* Implement basic network curve part shaderDan Goodliffe2024-01-20
|
* Update network with vertex arrayDan Goodliffe2024-01-20
|
* Render rail network using new shadersDan Goodliffe2024-01-20
| | | | Non-functional, totally unimplemented at this stage
* Copy render vital link data to vertex bufferDan Goodliffe2024-01-20
|
* We only need 3x3 matrix for model rotation specDan Goodliffe2024-01-13
|
* Only create VAOs for the light type(s) in useDan Goodliffe2024-01-13
|
* Merge common parts of light type verticesDan Goodliffe2024-01-13
|
* Minor tidy upDan Goodliffe2024-01-13
|
* Add model support for point lightsDan Goodliffe2024-01-12
| | | | Still invokes non-instanced point light shader
* Initial commit with working light instancingDan Goodliffe2024-01-10
|
* Add spot light definition, loader, and renderingDan Goodliffe2024-01-10
| | | | Rendering is untested, data is passed to whatever GL program is currently active.
* Add the Illuminator (type) and Light (instance) classesDan Goodliffe2024-01-09
|
* Remove PositionxD from NetworkDan Goodliffe2024-01-07
|
* Global positions in network dataDan Goodliffe2024-01-07
|
* Remove Position3D from RailVehicleDan Goodliffe2024-01-07
|
* Template Ray on position typeDan Goodliffe2024-01-07
|
* Unified crossProductDan Goodliffe2024-01-07
|
* Helper to create a cubiod from dimensionsDan Goodliffe2024-01-06
|
* Simplified RailVehicle::intersectRayDan Goodliffe2024-01-06
|
* Remove more use of legacy types and unnecessary pointers from selectable ↵Dan Goodliffe2024-01-01
| | | | interface
* Remove more use of legacy typesDan Goodliffe2024-01-01
|
* Remove misleading power operator^ on vec2/3Dan Goodliffe2023-12-29
|
* Remove weird operator! on vec2/3Dan Goodliffe2023-12-29
|
* Use new calc types in geoDataDan Goodliffe2023-12-17
|
* Render correct VAO for rail vehicle shadowsDan Goodliffe2023-12-03
|
* Handle the case where the ray never enters the mapDan Goodliffe2023-12-02
|
* Extend ray for intersect walk to cover the extents of the mapDan Goodliffe2023-12-02
|
* Replace positionAt with pure integer versionDan Goodliffe2023-12-02
|
* Fix terrain texture tilingDan Goodliffe2023-11-26
|
* Calculate vertex normals onlyDan Goodliffe2023-11-26
| | | | | | Doesn't require half edge normals or face normals, which uses Newell's method, which results in integer overflow... Not to mention we don't need all the other normals.
* 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.
| * Model positions as integersDan Goodliffe2023-11-25
| | | | | | | | | | Introduces test failure in arcs due to rounding, but I don't want to create a complicated fix as link positions are still floats and hopefully that'll go away... somehow
| * Remove getTransformDan Goodliffe2023-11-25
| |
| * 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.
| * Send position and rotation matrix to GPU separatelyDan Goodliffe2023-11-13
| |
| * Refactor BufferedLocationT to use a callbackDan Goodliffe2023-11-11
| | | | | | | | Simplifies customisation in the face of multiple fields
| * WIP typedefing just about everything elseDan Goodliffe2023-11-09
| |
| * WIP typedefing all the things - sourcesDan Goodliffe2023-11-09
| |
| * WIP typedefing all the things - headersDan Goodliffe2023-11-07
| |
| * Reformat with new clang-formatDan Goodliffe2023-11-07
| |
* | Fix todo for handling a terrain walk from outside the meshDan Goodliffe2023-11-05
| |
* | Fix calculating extentsDan Goodliffe2023-11-05
| |
* | Fix and split linesCrossDan Goodliffe2023-11-05
| | | | | | | | | | Previous tested they crossed in a specific direction, which is wrong but useful. Adds linesCrossLtR for this use case.
* | Add methods to walk the boundary of the terrain meshDan Goodliffe2023-11-05
| |