summaryrefslogtreecommitdiff
path: root/game
Commit message (Collapse)AuthorAge
* Adjust track height to blend into terrainDan Goodliffe34 hours
|
* Expose network link interface to define a base area of the linkDan Goodliffe39 hours
|
* Set height when reusing vertices during setHeightsDan Goodliffe40 hours
|
* Fix calculating radius and length of curved linksDan Goodliffe2 days
|
* Add sanity checking logic to GeoDataDan Goodliffe4 days
|
* Don't cut internal boundariesDan Goodliffe5 days
| | | | | Existing terrain contains enough nodes, assumes input surface is flat. For non-flat requires, submit several surfaces.
* Don't make arbitrary changes to mesh for triangle boundariesDan Goodliffe5 days
| | | | | | | | | | Making these arbitrary changes can lead to inverted adjacent faces, instead just: a) use the near node where it is, or b) create the edge split along its length without lateral movement Same principal as previous commit, addresses issues where tracing would fail seemingly at random and throws on error now.
* Don't make arbitrary changes to mesh for triangle cornersDan Goodliffe5 days
| | | | | | | | | | Making these arbitrary changes can lead to inverted adjacent faces, instead just: a) use the near node where it is, or b) create the edge split along its length without lateral movement Removes the check that these are already used and/or boundaries as they're not being changed now anyway.
* Reuse close edges when adding new vertices for surfaceDan Goodliffe8 days
|
* Move GeoData::Triangle to global libDan Goodliffe2024-12-01
|
* Remove GeoData::difference for points, use global versionDan Goodliffe2024-12-01
|
* Update new/moved vertex normalsDan Goodliffe2024-11-27
|
* Surface walk to set face surface propertyDan Goodliffe2024-11-24
|
* Add Triangle::centroidDan Goodliffe2024-11-24
|
* Pass setHeights options as a struct with defaultsDan Goodliffe2024-11-23
|
* Remove split face specialisationDan Goodliffe2024-11-23
|
* Share code between boundary and strip edge node reuseDan Goodliffe2024-11-23
|
* Reuse existing vertices when processing strip verticesDan Goodliffe2024-11-16
|
* Reuse existing vertices when processing boundary partsDan Goodliffe2024-11-14
|
* Fix do bounary part iterationDan Goodliffe2024-11-14
| | | | Exit when current vertex is adjacent to the end
* Reverse order of last boundary part additionDan Goodliffe2024-11-14
| | | | It's the manual last end, shame it has to be weird.
* First version rewrite of terrain deformation, much still to doDan Goodliffe2024-11-13
|
* Fix pruning of link historyDan Goodliffe2024-11-05
| | | | | | The current size isn't important, the length after prune is, and it should be checked before adding the new link as most of the train will still be on the previous one.
* Extract const for link history lengthDan Goodliffe2024-11-05
|
* Extract consts and fix acceleration/decelartions ratesDan Goodliffe2024-11-05
|
* Fix train/vehicle constructors to take const linksDan Goodliffe2024-11-05
|
* Fix GenDef for networks, should be globalsDan Goodliffe2024-11-05
|
* Support regenerating the terrain mesh from updated geodataDan Goodliffe2024-10-27
|
* Improve sun illumination based on angular size and astronomical twilightDan Goodliffe2024-10-24
|
* Further template maths functionsDan Goodliffe2024-10-21
|
* Move lots of maths helpers to inline, constexpr, templatesDan Goodliffe2024-10-20
| | | | Always for working with different dimensions/types
* Don't dump stencil textureDan Goodliffe2024-10-10
|
* Include foliage yaw rotation in vertex, pass through instead of whole model ↵Dan Goodliffe2024-10-10
| | | | rotation matrix
* Use LightDirection for calculating/passing all light dir componentsDan Goodliffe2024-10-06
|
* Psycho-rebased branch billboard-shadows on top of mainDan Goodliffe2024-09-23
|\
| * Update stencil texture to 2d arrayDan Goodliffe2024-09-02
| |
| * Use billboard shadows for foliageDan Goodliffe2024-08-28
| |
| * Add a foliage vertex array for just the location dataDan Goodliffe2024-08-26
| |
| * Update asset stencils from shadow mapperDan Goodliffe2024-08-18
| |
| * Use texture alpha in shadow stencilDan Goodliffe2024-08-10
| |
| * Use mesh extents for shadow stencil extentsDan Goodliffe2024-08-10
| |
| * Initial commit of basic shadow depth map creationDan Goodliffe2024-08-10
| |
* | Adjust light colour as sun rises/setsDan Goodliffe2024-09-22
| | | | | | | | This is a bit made-up-maths/numbers, but it looks reasonable.
* | Calculate sunlight direction from worldTimeDan Goodliffe2024-09-22
| |
* | Move getSunPos to EnvironmentDan Goodliffe2024-09-20
| |
* | Add basic environment objectDan Goodliffe2024-09-20
|/ | | | Will hold world time/date, weather, location etc
* Apply StdTypeDefs for TextureDan Goodliffe2024-08-10
|
* Add shadow shader which takes into account texture transparencyDan Goodliffe2024-07-07
|
* Remove abuse of std::adjacent_find from geoDataDan Goodliffe2024-05-25
|
* Simplify new face split loopDan Goodliffe2024-04-26
|