summaryrefslogtreecommitdiff
path: root/game/vehicles/railVehicle.cpp
Commit message (Collapse)AuthorAge
* Remove Position3D from RailVehicleDan Goodliffe2024-01-07
|
* Template Ray on position typeDan 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
|
* 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 all the things - sourcesDan Goodliffe2023-11-09
|
* Templated BufferedLocation and single buffer storage for RVC locationsDan Goodliffe2023-05-06
|
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* Handle rendering of RailVehicles through RailVehicleClass instancingDan Goodliffe2023-04-23
| | | | | | | Trains no longer need rendering as their parts are all RVC assets and that just works now. This commit creates some irritating duplication in RVC wrt body/2 bogies all of which are stored separately, but function in exactly the same way. This breaks RV shadows as we have no instancing shadow shaders yet.
* Default RailVehicle bogie positions according to class wheelBaseDan Goodliffe2023-03-04
| | | | Useful for render tests so everything looks sane
* RailVehicleClass now renders bogie shadows as well as bodyDan Goodliffe2023-03-04
|
* Initial commit of the shadow map generator and shadows render interfaceDan Goodliffe2022-12-03
| | | | | Lots of hard coding, buggy in places, far from great, but the basics work.
* Rename Shader to SceneShaderDan Goodliffe2022-11-03
|
* Rename shadowing variableDan Goodliffe2022-10-22
|
* We know the last param is distance nowDan Goodliffe2022-01-16
|
* Encapsulate RayDan Goodliffe2022-01-02
|
* Initial implementation for being able to click in the main window to select ↵Dan Goodliffe2021-12-28
| | | | something
* Swap y,z axisDan Goodliffe2021-11-16
| | | | This was a pain... but all the coords make much more sense now and a lot of mystery negation has disappeared.
* Carve up the mess in game/vehiclesDan Goodliffe2021-03-06