summaryrefslogtreecommitdiff
path: root/game
Commit message (Collapse)AuthorAge
* Improve Terrain::generateMeshes performanceHEADmainDan Goodliffe4 days
| | | | | Creates mesh per surface based on a single buffer of all vertices and a collection of per surfuce indices. Makes ColourBias a uniform instead of a vertex attribute.
* Don't rely on triangle centroid not already having a surfaceDan Goodliffe5 days
|
* Improve number of segments in LinkCurve basesDan Goodliffe5 days
|
* Process set height as required in chunks of target vertexDan Goodliffe5 days
|
* Less allocy/work set based surface/recursive height settingDan Goodliffe6 days
|
* Add adjusted boundary vertices to new/changes/boundary listsDan Goodliffe6 days
|
* Expand new verts collection onceDan Goodliffe10 days
| | | | Before doing vertex normal recalc only, not on every insert
* Only build/run GeoDataMesh::sanityCheck for debugDan Goodliffe11 days
|
* Refactor GeoData::setHeights until a struct made of a logical breakdown of ↵Dan Goodliffe11 days
| | | | the process
* Fixes and tests to new range helpersDan Goodliffe14 days
|
* Range adaptor to make triangle strip triplesDan Goodliffe2025-02-15
|
* Use new helpers to simplify close entity search in GeoData::setPointDan Goodliffe2025-02-14
|
* Move basic setHeights lambdas into proper helper functionsDan Goodliffe2025-02-13
|
* Replace mesh generation counter with afterChange eventDan Goodliffe2025-02-10
|
* Combine GeoData and Terrain class hierarchiesDan Goodliffe2025-02-09
|
* Split GeoData mesh basics into a subclassDan Goodliffe2025-02-09
| | | | Declutters the class for terrain related things
* Move lots of geoData helpers into libDan Goodliffe2025-02-09
|
* Initial commit setting terrain during network constructionDan Goodliffe2025-02-09
| | | | This is all in the wrong place, it shouldn't be part of the network interface.
* Big of validation on getSurfaceDan Goodliffe2025-02-09
|
* Improve logging and fault detection during mesh mutationDan Goodliffe2025-02-08
|
* Set height when reusing adjacent verticesDan Goodliffe2025-02-08
|
* Verify an edge can be flippedDan Goodliffe2025-02-06
| | | | | Asserts the resulting triangle pair would be both still face up, not the case if the original triangles do not form a convex polygon
* Update PointFace _face cache as required instead of erroringDan Goodliffe2025-02-06
|
* Check all adjacent vertex before edges when cutting triangle strip edgeDan Goodliffe2025-02-03
|
* Flip edges if better instead of splitting them when cutting triangle strip edgeDan Goodliffe2025-02-02
|
* Add distance helperDan Goodliffe2025-01-21
| | | | Works with integer positions, first template param allows forcing to N dimensions
* Include arc angle in curved terrain walkDan Goodliffe2025-01-05
|
* Return surface face list from setHeightsDan Goodliffe2025-01-05
|
* Helper to declare and add OpenMesh property declarativelyDan Goodliffe2025-01-05
|
* Fix curve walk edge case where the curve legitimately returns to the ↵Dan Goodliffe2025-01-02
| | | | previous face
* Return angle of intersection of arc with lineDan Goodliffe2025-01-01
|
* Walk terrain along a curve - edge cases existDan Goodliffe2025-01-01
|
* Pass lots more information during GeoData::walkDan Goodliffe2024-12-30
|
* Fix naming style of getSurfaceDan Goodliffe2024-12-30
|
* Update rails render for being atop a surfaceDan Goodliffe2024-12-24
|
* Enable min mipmap on network textureDan Goodliffe2024-12-24
|
* Fix calculations for sleeper texture coordsDan Goodliffe2024-12-24
|
* Set surface from all triangles, not just the firstDan Goodliffe2024-12-23
| | | | First may already have a surface in the case of a join
* Copy properties when split faces and edgesDan Goodliffe2024-12-23
|
* Use correct triangle when creating surface boundary endsDan Goodliffe2024-12-23
|
* Expose network base width and surfaceDan Goodliffe2024-12-22
|
* SetHeightOptions surface changed to defaulted pointerDan Goodliffe2024-12-22
|
* Update terrain meshes as requiredDan Goodliffe2024-12-22
|
* Store a generation number for GeoDataDan Goodliffe2024-12-22
|
* Adjust track height to blend into terrainDan Goodliffe2024-12-21
|
* Expose network link interface to define a base area of the linkDan Goodliffe2024-12-21
|
* Set height when reusing vertices during setHeightsDan Goodliffe2024-12-21
|
* Fix calculating radius and length of curved linksDan Goodliffe2024-12-21
|
* Add sanity checking logic to GeoDataDan Goodliffe2024-12-18
|
* Don't cut internal boundariesDan Goodliffe2024-12-18
| | | | | Existing terrain contains enough nodes, assumes input surface is flat. For non-flat requires, submit several surfaces.