summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Handle almost straight edges with a simple bisectDan Goodliffe2024-03-30
|
* Dedupe addition of extrusionsDan Goodliffe2024-03-23
|
* Handle and test concave surface boundariesDan Goodliffe2024-03-23
|
* Create extents purely from corner arcsDan Goodliffe2024-03-23
|
* Remove boundary collectionDan Goodliffe2024-03-23
| | | | We can simply walk the boundary as required
* Extract vector_normal helper into libDan Goodliffe2024-03-23
|
* Add helper constructors to ArcDan Goodliffe2024-03-21
| | | | | | * Two angles, wraps logic ensuring b after a * Two vector directions * Centre and two endpoints, in at least 2 dimensions, uses .xy()
* Make arc_length a member functionDan Goodliffe2024-03-21
|
* vector_yaw only needs 2 dimensionsDan Goodliffe2024-03-21
|
* Simplify creation of planesDan Goodliffe2024-03-18
| | | | Uses limit directions instead of fake triangles
* maybe_unused return from cut point searchDan Goodliffe2024-03-18
| | | | Only asserted
* Switch to using planes instead of triangles for deformaton cutDan Goodliffe2024-03-18
| | | | | Removes the hacky need for going a bit too far to account for rounding errors... which didn't really work anyway.
* Add non-default constructor to GeometricPlaneTDan Goodliffe2024-03-18
|
* Add Ray::intersectPlaneDan Goodliffe2024-03-18
|
* Fix generation of halfedge extrusion extentsDan Goodliffe2024-03-14
|
* Simplify cut loop and termination case searchDan Goodliffe2024-03-14
| | | | Looks for a halfedge from current vertex to end vertex.
* Add deformation test case with lower specDan Goodliffe2024-03-09
|
* Fix non-64bit upgrade wrapper for crossProductDan Goodliffe2024-03-09
|
* Add timeout to deformation unit testDan Goodliffe2024-03-09
|
* Set linkflags -z defsDan Goodliffe2024-03-08
|
* Rewrite most of setHeightsDan Goodliffe2024-03-08
| | | | | Accounts for sensible corners and fixes quite a few bugs and edge cases... introduces a few more, is still a bit glitchy in places
* Bail out early if the input does not define an areaDan Goodliffe2024-03-08
|
* Rework stream support to work with any collectionDan Goodliffe2024-03-08
|
* Load terrain deform fixture data from JSONDan Goodliffe2024-02-26
|
* Add helper for loading fixtures for data tests from fixture JSONDan Goodliffe2024-02-26
|
* Add read persistence support for tuple and pairDan Goodliffe2024-02-26
|
* Support extra arguments in SelectionV::make_sDan Goodliffe2024-02-26
|
* Make terrain deformation test a data testDan Goodliffe2024-02-26
| | | | Easily test multiple deformations and view them from different angles
* Remove the nosplit listDan Goodliffe2024-02-24
| | | | Not required now we don't randomly wonder into the new edges range
* Psycho-rebased branch deform-terrain on top of mainDan Goodliffe2024-02-24
|\
| * First cut of terrain deformationDan Goodliffe2024-02-22
| | | | | | | | | | | | | | | | | | | | This "works" for some definition of works... But it's flawed in many ways, not least the following: * It's glitchy for no obvious reason * It's unreliable; fails if you tweak the parameters * The sides of the modified area are triangulated in the dumbest possible fashion, which results in ill-formed polygons * Probably other things, but... It works, remember...
| * Fix calculation of texture coords of terrainDan Goodliffe2024-02-22
| | | | | | | | While we still use this...
| * Check ray intersects triangle 'in front' of startDan Goodliffe2024-02-14
| |
| * Fix getting cartesian coords from triangle bariposDan Goodliffe2024-02-14
| |
| * Include face handle in intersectRay resultDan Goodliffe2024-02-13
| |
| * Add helpers for testing for triangle overlap/containednessDan Goodliffe2024-02-12
| |
| * Create flat GeoData as 10m squares instead of one big squareDan Goodliffe2024-02-12
| |
| * Add materializeRange override for naked iterator pairDan Goodliffe2024-02-12
| |
| * Cast relative position accordingly in geometric planeDan Goodliffe2024-02-12
| |
| * Add stripiterDan Goodliffe2024-02-12
| | | | | | | | | | A generic iterator wrapper returning a tuple of 3 references to the original values, as processed in the fashion of an OpenGL triangle strip.
* | Simplify vector addition/subtraction with differnt typesDan Goodliffe2024-02-24
|/ | | | | Automatically applies correct rounding with float to int operations, adjusts test expectations accordingly.
* Merge branch 'glcontainer-fix'Dan Goodliffe2024-02-03
|\
| * Allow specifying a target other than array bufferDan Goodliffe2024-02-02
| | | | | | | | GL_ARRAY_BUFFER is the default. Also removes accidental use for OpenGL 4.x functions.
| * Map buffers RO if const operations, upgrade to RW as requiredDan Goodliffe2024-02-02
| |
| * Don't keep a span, create as neededDan Goodliffe2024-02-02
| | | | | | | | | | Removes the error prone issue where data/size get out of sync. Fixes overflow issues leading to memory corruption of GPU data.
| * Fix warnings in test-glContainerDan Goodliffe2024-02-02
|/ | | | Also updates static asserts to requirements
* Merge branch 'geo-shadows'Dan Goodliffe2024-01-30
|\
| * Adjust light view projection matrix upfrontDan Goodliffe2024-01-30
| | | | | | | | Saves doing it per pixel, per region later
| * Remove the complications from previously storing several shadow maps in the ↵Dan Goodliffe2024-01-30
| | | | | | | | texture
| * Set shadow program uniforms all in one function, merge setting of view ↵Dan Goodliffe2024-01-29
| | | | | | | | projections