summaryrefslogtreecommitdiff
path: root/game/vehicles/railVehicleClass.cpp
Commit message (Collapse)AuthorAge
* Refactor InstanceVertices in terms of glContainerDan Goodliffe2023-05-01
|
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* Draw rail vehicle classes and foliage with new mesh instance helperDan Goodliffe2023-04-26
|
* Pop and complete instanced shadow supportDan Goodliffe2023-04-26
|
* 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.
* Remove the old .obj load, assets and supporting stuffDan Goodliffe2023-04-14
|
* Support creating a super texture from fragmentsDan Goodliffe2023-03-14
| | | | Currently makes wild assumptions about vertices and doesn't actually populate the texture, it's just grey
* RailVehicleClass now renders bogie shadows as well as bodyDan Goodliffe2023-03-04
|
* Load length, wheelBase and maxSpeed RailVehicleClass properties from XMLDan Goodliffe2023-03-04
| | | | Adjusts bogie position to appear correct according to wheelBase
* RailVehicleClass texture might be nullDan Goodliffe2023-03-04
|
* Support and load factory asset directly into a RailVehicleClass instanceDan 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.
* Restructure how shaders are worked withDan Goodliffe2022-11-03
| | | | Needs a tidy-up
* Rename Shader to SceneShaderDan Goodliffe2022-11-03
|
* Setting texture unit on bindDan Goodliffe2022-10-30
| | | | Always sets the target unit before binding, allows specifying the unit
* Refactor to start splitting out UI componentsDan Goodliffe2021-12-13
|
* Fix up all remaining warningsDan Goodliffe2021-11-28
|
* Enable all Jason Turner recommended warningsDan Goodliffe2021-11-26
|
* 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.
* Add maxSpeed to rail vehicle classDan Goodliffe2021-03-07
|
* Carve up the mess in game/vehiclesDan Goodliffe2021-03-06