summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Fix test-obj by splitting mesh processingDan Goodliffe2021-02-20
| | | | Don't invoke GL parts from test code
* Fix constness of Mesh constructor paramsDan Goodliffe2021-02-20
|
* Add a non-threaded workerDan Goodliffe2021-02-20
| | | | Runs work immediately for when compiler doesn't support C++20 semaphore
* Remove unused worker from mainDan Goodliffe2021-02-20
|
* Pass lintersDan Goodliffe2021-02-20
|
* dos2unix shader sourcesDan Goodliffe2021-02-20
|
* Remove now redundent Shader::Source classDan Goodliffe2021-02-20
| | | | Moves compile functionality to GLsource.
* m4 based GLSL embeddingDan Goodliffe2021-02-20
| | | | Passes a lint check, less mangling, more automation
* Pass a cppcheckDan Goodliffe2021-02-20
|
* Remove spare bits from shaders and tidy upDan Goodliffe2021-02-20
|
* Custom land and water shadersDan Goodliffe2021-02-20
| | | | | | | Create sandy beaches, snow topped mountains and grassy hills with a single texture, coloured according to land height by a custom shader. Also use the land mass mesh with a new water texture and a custom shader to create rather nice looking water effect with depth, waves and motion.
* Create smoother terrainDan Goodliffe2021-02-20
|
* Mesh split, bogeys follow rails.Dan Goodliffe2021-02-19
| | | | | | | | | | | | | | Wow. This commit is too big. It: * splits obj loaded meshes into individual named objects. * moves obj to mesh(es) code into new file obj.impl.cpp, removing the clutter from mesh * removes Physical for providing the wrong level of abstraction * bit of a hack to adjust loaded models to offset rail vehicle bogeys to 0 centre, and then applies their calculated position to the mesh All in all, quite a lot of mess... But the result is the rail vehicle bogeys now follow the rails quite authentically.
* Add support for directional light color and an ambient colorDan Goodliffe2021-02-18
|
* Allow setting any uniform in shadersDan Goodliffe2021-02-18
| | | | Move less commonly used (lightDirection) to a named one
* Split landmass and water texturesDan Goodliffe2021-02-17
|
* Split landmass and water meshesDan Goodliffe2021-02-17
|
* Don't keep the terrain vertex and index vectorsDan Goodliffe2021-02-17
|
* Support multiple shader programs, set by modelDan Goodliffe2021-02-17
|
* Disconnect camera control from shaderDan Goodliffe2021-02-17
|
* Tidy code for calculating position of rail vehicle by bogeysDan Goodliffe2021-02-16
|
* Rename types in LinkHistoryDan Goodliffe2021-02-16
|
* Add a camera controller that follows vehiclesDan Goodliffe2021-02-16
|
* Define a vehicle weak ptrDan Goodliffe2021-02-15
|
* Increase length of Brush47Dan Goodliffe2021-02-15
| | | | It's supposed to cover half the gap between wagons too
* Return a Physical's whole location, not just positionDan Goodliffe2021-02-15
|
* Basic support for rail wagonsDan Goodliffe2021-02-15
|
* Correctly follow rails according to wheelbaseDan Goodliffe2021-02-14
|
* Maintain a history of links traversedDan Goodliffe2021-02-14
|
* Broken down Brush47Dan Goodliffe2021-02-14
|
* Use consts for TransformDan Goodliffe2021-02-14
|
* Remove unused scale component from TransformDan Goodliffe2021-02-14
|
* Clear input stack on exitDan Goodliffe2021-02-14
|
* Link weak_ptrsDan Goodliffe2021-02-14
|
* Code tidy-upDan Goodliffe2021-02-14
|
* Add our first vehicleDan Goodliffe2021-02-14
|
* Apply pitch to vehicles on a linkDan Goodliffe2021-02-14
|
* Swap application of rotX and rotYDan Goodliffe2021-02-14
| | | | Makes more sense to ease pitch of vehicles on slopes in the direction of travel
* Fix vertical offset of curved railsDan Goodliffe2021-02-14
|
* Add vector pitchDan Goodliffe2021-02-14
|
* Rename flat_angle to vector_yawDan Goodliffe2021-02-14
|
* Don't copy shared_ptrsDan Goodliffe2021-02-14
|
* Test run depends on resourcesDan Goodliffe2021-02-14
|
* Add test-mathsDan Goodliffe2021-02-14
|
* Support getting the position at a point along a linkDan Goodliffe2021-02-14
|
* Keep radius and arc as part of rail curveDan Goodliffe2021-02-14
| | | | Fixes order of mesh points oo fix culling
* Fix order of ends in test rail curvesDan Goodliffe2021-02-14
|
* Join links in rail graphDan Goodliffe2021-02-14
|
* Correctly scaled railsDan Goodliffe2021-02-14
|
* Floating point seconds TickDurationDan Goodliffe2021-02-14
|