Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add missing include | Dan Goodliffe | 2024-06-01 |
| | |||
* | Remove conflicting glm::vec operators | Dan Goodliffe | 2024-06-01 |
| | | | | | | % and %= already exist and abusing them for simplifying perspective multiplication was always a bad idea. Here they just become named functions. | ||
* | Fix setting of pedantic warnings | Dan Goodliffe | 2024-06-01 |
| | | | | | Disable for Clang, because annoyingly to treats preprocessor line numbers as a GNU extension and thus falls over when used with DistCC. | ||
* | Merge remote-tracking branch 'origin/terrain-surfaces' | Dan Goodliffe | 2024-05-27 |
|\ | |||
| * | Surface asset test doesn't need render dump | Dan Goodliffe | 2024-05-27 |
| | | |||
| * | Remove abuse of std::adjacent_find from geoData | Dan Goodliffe | 2024-05-25 |
| | | |||
| * | Remove abuse of std::adjacent_find from cylinder | Dan Goodliffe | 2024-05-25 |
| | | |||
| * | Update to std c++23 for good ranges | Dan Goodliffe | 2024-05-25 |
| | | |||
| * | Simplify new face split loop | Dan Goodliffe | 2024-04-26 |
| | | |||
| * | 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. | ||
| * | Define some initial surface types | Dan Goodliffe | 2024-04-18 |
| | | |||
| * | Custom vertex, vertex shader and fragment shader for landmass | Dan Goodliffe | 2024-04-16 |
| | | | | | | | | Handles global position type, colourBias for surface types | ||
| * | 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. | ||
* | Merge branch 'separate-water' | Dan Goodliffe | 2024-04-08 |
|\ | |||
| * | Fix water texture wrapper in light of large position values | Dan Goodliffe | 2024-04-07 |
| | | |||
| * | Stripped down water vertex and simplified shaders | Dan Goodliffe | 2024-04-07 |
| | | |||
| * | Create water squares/polygons only where required | Dan Goodliffe | 2024-04-07 |
| | | |||
| * | Fix creating a flat terrain of exactly the requested size | Dan Goodliffe | 2024-04-07 |
| | | | | | | | | Which must be a size of multiples of GRID_SIZE, 10m | ||
| * | Split water from terrain | Dan Goodliffe | 2024-04-06 |
|/ | | | | Shares the geo data instance, and still has the same implementation at this stage. | ||
* | Merge remote-tracking branch 'origin/deform-terrain' | Dan Goodliffe | 2024-04-04 |
|\ | | | | | | | | | | | | | | | Two related issues remain: * Terrain self shadowing is common and handled poorly * Odd, but mathematically correct patterns/stripes in feature boundaries Neither of these relate directly to deformation. | ||
| * | Remove wireframe mode from test renders | Dan Goodliffe | 2024-04-04 |
| | | |||
| * | Don't garbage collect the terrain mesh | Dan Goodliffe | 2024-04-04 |
| | | | | | | | | Use skipping iterators instead, GC would be implicit during save/load | ||
| * | Update normals only as required | Dan Goodliffe | 2024-04-04 |
| | | |||
| * | Tests for triangle helpers | Dan Goodliffe | 2024-04-02 |
| | | |||
| * | Boundary edge and one time split with repeated 4-way split of large faces | Dan Goodliffe | 2024-04-01 |
| | | |||
| * | 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 |
| | | |||
| * | Split long boundary edges | Dan Goodliffe | 2024-03-31 |
| | | |||
| * | Split faces with two large boundary sides | Dan Goodliffe | 2024-03-31 |
| | | |||
| * | Don't save original face handles | Dan Goodliffe | 2024-03-31 |
| | | | | | | | | Not required, likely to change anyway. | ||
| * | Handle almost straight edges with a simple bisect | Dan Goodliffe | 2024-03-30 |
| | | |||
| * | Dedupe addition of extrusions | Dan Goodliffe | 2024-03-23 |
| | | |||
| * | Handle and test concave surface boundaries | Dan Goodliffe | 2024-03-23 |
| | | |||
| * | Create extents purely from corner arcs | Dan Goodliffe | 2024-03-23 |
| | | |||
| * | Remove boundary collection | Dan Goodliffe | 2024-03-23 |
| | | | | | | | | We can simply walk the boundary as required | ||
| * | Extract vector_normal helper into lib | Dan Goodliffe | 2024-03-23 |
| | | |||
| * | Add helper constructors to Arc | Dan Goodliffe | 2024-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 function | Dan Goodliffe | 2024-03-21 |
| | | |||
| * | vector_yaw only needs 2 dimensions | Dan Goodliffe | 2024-03-21 |
| | | |||
| * | Simplify creation of planes | Dan Goodliffe | 2024-03-18 |
| | | | | | | | | Uses limit directions instead of fake triangles | ||
| * | maybe_unused return from cut point search | Dan Goodliffe | 2024-03-18 |
| | | | | | | | | Only asserted | ||
| * | Switch to using planes instead of triangles for deformaton cut | Dan Goodliffe | 2024-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 GeometricPlaneT | Dan Goodliffe | 2024-03-18 |
| | | |||
| * | Add Ray::intersectPlane | Dan Goodliffe | 2024-03-18 |
| | | |||
| * | Fix generation of halfedge extrusion extents | Dan Goodliffe | 2024-03-14 |
| | | |||
| * | Simplify cut loop and termination case search | Dan Goodliffe | 2024-03-14 |
| | | | | | | | | Looks for a halfedge from current vertex to end vertex. |