Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Don't rely on triangle centroid not already having a surface | Dan Goodliffe | 5 days |
| | |||
* | Refactor GeoData::setHeights until a struct made of a logical breakdown of ↵ | Dan Goodliffe | 12 days |
| | | | | the process | ||
* | Move basic setHeights lambdas into proper helper functions | Dan Goodliffe | 2025-02-13 |
| | |||
* | Replace mesh generation counter with afterChange event | Dan Goodliffe | 2025-02-10 |
| | |||
* | Split GeoData mesh basics into a subclass | Dan Goodliffe | 2025-02-09 |
| | | | | Declutters the class for terrain related things | ||
* | Big of validation on getSurface | Dan Goodliffe | 2025-02-09 |
| | |||
* | Improve logging and fault detection during mesh mutation | Dan Goodliffe | 2025-02-08 |
| | |||
* | Add distance helper | Dan Goodliffe | 2025-01-21 |
| | | | | Works with integer positions, first template param allows forcing to N dimensions | ||
* | Include arc angle in curved terrain walk | Dan Goodliffe | 2025-01-05 |
| | |||
* | Return surface face list from setHeights | Dan Goodliffe | 2025-01-05 |
| | |||
* | Helper to declare and add OpenMesh property declaratively | Dan Goodliffe | 2025-01-05 |
| | |||
* | Walk terrain along a curve - edge cases exist | Dan Goodliffe | 2025-01-01 |
| | |||
* | Pass lots more information during GeoData::walk | Dan Goodliffe | 2024-12-30 |
| | |||
* | Fix naming style of getSurface | Dan Goodliffe | 2024-12-30 |
| | |||
* | SetHeightOptions surface changed to defaulted pointer | Dan Goodliffe | 2024-12-22 |
| | |||
* | Store a generation number for GeoData | Dan Goodliffe | 2024-12-22 |
| | |||
* | Add sanity checking logic to GeoData | Dan Goodliffe | 2024-12-18 |
| | |||
* | Move GeoData::Triangle to global lib | Dan Goodliffe | 2024-12-01 |
| | |||
* | Remove GeoData::difference for points, use global version | Dan Goodliffe | 2024-12-01 |
| | |||
* | Update new/moved vertex normals | Dan Goodliffe | 2024-11-27 |
| | |||
* | Add Triangle::centroid | Dan Goodliffe | 2024-11-24 |
| | |||
* | Pass setHeights options as a struct with defaults | Dan Goodliffe | 2024-11-23 |
| | |||
* | Remove split face specialisation | Dan Goodliffe | 2024-11-23 |
| | |||
* | Set the face surface type when setting height | Dan Goodliffe | 2024-04-26 |
| | |||
* | Don't return newly created faces from split | Dan Goodliffe | 2024-04-26 |
| | | | | | It's not as simple as it looks as adjacent faces may also be split, making this a bit misleading. | ||
* | Create terrain vertices per surface type | Dan Goodliffe | 2024-04-12 |
| | |||
* | Introduce a basic terrain surface type asset | Dan Goodliffe | 2024-04-10 |
| | |||
* | Add GeoData face property for surface type | Dan Goodliffe | 2024-04-08 |
| | | | | Arbitrary int type for now. | ||
* | Update normals only as required | Dan Goodliffe | 2024-04-04 |
| | |||
* | Add lots of simple triangle property helpers | Dan Goodliffe | 2024-04-01 |
| | |||
* | Replace face 4-way split | Dan Goodliffe | 2024-04-01 |
| | | | | Fixes integer rounding issue and returns the new face handles | ||
* | Factor out some helper lambdas into members | Dan Goodliffe | 2024-03-31 |
| | |||
* | Psycho-rebased branch deform-terrain on top of main | Dan Goodliffe | 2024-02-24 |
|\ | |||
| * | First cut of terrain deformation | Dan Goodliffe | 2024-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 getting cartesian coords from triangle baripos | Dan Goodliffe | 2024-02-14 |
| | | |||
| * | Include face handle in intersectRay result | Dan Goodliffe | 2024-02-13 |
| | | |||
| * | Add helpers for testing for triangle overlap/containedness | Dan Goodliffe | 2024-02-12 |
| | | |||
* | | Simplify vector addition/subtraction with differnt types | Dan Goodliffe | 2024-02-24 |
|/ | | | | | Automatically applies correct rounding with float to int operations, adjusts test expectations accordingly. | ||
* | Template Ray on position type | Dan Goodliffe | 2024-01-07 |
| | |||
* | Calculate vertex normals only | Dan Goodliffe | 2023-11-26 |
| | | | | | | Doesn't require half edge normals or face normals, which uses Newell's method, which results in integer overflow... Not to mention we don't need all the other normals. | ||
* | Merge branch 'ints' into terrain | Dan Goodliffe | 2023-11-26 |
|\ | | | | | | | | | | | Conflicts fix, compiles, some test failures remain. Trees not added, possibility of OM invalid handle assertion failures, normals broken due to integer overflow in Newell's method. | ||
| * | Switch to millimeters for spatial units | Dan Goodliffe | 2023-11-15 |
| | | | | | | | | | | | | Mostly a case of changing far too many magic numbers, something else to fix I guess. I probably missed something. Also there's some hackery when loading 3D models, which are still assumed to be in metres. | ||
| * | WIP typedefing all the things - headers | Dan Goodliffe | 2023-11-07 |
| | | |||
| * | Reformat with new clang-format | Dan Goodliffe | 2023-11-07 |
| | | |||
* | | Fix todo for handling a terrain walk from outside the mesh | Dan Goodliffe | 2023-11-05 |
| | | |||
* | | Add methods to walk the boundary of the terrain mesh | Dan Goodliffe | 2023-11-05 |
| | | |||
* | | Simplify some logic with the triangle construct | Dan Goodliffe | 2023-11-04 |
| | | |||
* | | Rename TerrainMesh to GeoData to drop inplace | Dan Goodliffe | 2023-11-04 |
|/ | |||
* | Remove useless GeoData default constructor | Dan Goodliffe | 2022-11-14 |
| | |||
* | Progressive constructors for RayTracer | Dan Goodliffe | 2022-01-13 |
| |