summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
|
* Add tests which explicit count verts/edges/faces after terrain mesh modificationDan 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
* Add default Q = glm::defaultp to maths functionsDan Goodliffe2025-01-06
| | | | Makes getting a pointer to the function more trivial
* Add helper for sorting sorted containers by a projectionDan Goodliffe2025-01-05
|
* Add helper for merging close elements in a vectorDan Goodliffe2025-01-05
|
* 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
|
* Add ArcSegmentDan Goodliffe2024-12-31
| | | | Extends Arc, with method for determining intersection point with line segment
* 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
|
* Generate mipmaps if min/mag filter settings use themDan 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
|
* Set terrain heights when creating new network linksDan Goodliffe2024-12-22
|
* 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
|
* Give UI builders an interface that can be programmatically calledDan Goodliffe2024-12-18
|
* Add sanity checking logic to GeoDataDan Goodliffe2024-12-18
|
* Midpoint for integral vectorsDan 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.
* Don't make arbitrary changes to mesh for triangle boundariesDan Goodliffe2024-12-18
| | | | | | | | | | 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 Goodliffe2024-12-18
| | | | | | | | | | 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.
* 2D vector_normal to work on any arithmeticDan Goodliffe2024-12-18
|