Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Split water from terrain | Dan Goodliffe | 2024-04-06 |
| | | | | Shares the geo data instance, and still has the same implementation at this stage. | ||
* | 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 |
| | |||
* | 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 |
| | |||
* | 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. | ||
* | 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. | ||
* | Rewrite most of setHeights | Dan Goodliffe | 2024-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 area | Dan Goodliffe | 2024-03-08 |
| | |||
* | Remove the nosplit list | Dan Goodliffe | 2024-02-24 |
| | | | | Not required now we don't randomly wonder into the new edges range | ||
* | 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 calculation of texture coords of terrain | Dan Goodliffe | 2024-02-22 |
| | | | | | | | | While we still use this... | ||
| * | 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 |
| | | |||
| * | Create flat GeoData as 10m squares instead of one big square | 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. | ||
* | Remove the generic cache completely | Dan Goodliffe | 2024-01-26 |
| | |||
* | Remove the static texture cache | Dan Goodliffe | 2024-01-25 |
| | | | | | Static variables persist too long, destruction is unmanaged and occurs after the gl context is gone. | ||
* | Bind the network profile in as uniforms | Dan Goodliffe | 2024-01-22 |
| | | | | Makes the network shaders generic to network type | ||
* | Remove the old custom mesh per network link rendering | Dan Goodliffe | 2024-01-21 |
| | |||
* | Pass curve link radius, no recalculate, its constant | Dan Goodliffe | 2024-01-20 |
| | |||
* | Implement basic network curve part shader | Dan Goodliffe | 2024-01-20 |
| | |||
* | Update network with vertex array | Dan Goodliffe | 2024-01-20 |
| | |||
* | Render rail network using new shaders | Dan Goodliffe | 2024-01-20 |
| | | | | Non-functional, totally unimplemented at this stage | ||
* | Copy render vital link data to vertex buffer | Dan Goodliffe | 2024-01-20 |
| | |||
* | We only need 3x3 matrix for model rotation spec | Dan Goodliffe | 2024-01-13 |
| | |||
* | Only create VAOs for the light type(s) in use | Dan Goodliffe | 2024-01-13 |
| | |||
* | Merge common parts of light type vertices | Dan Goodliffe | 2024-01-13 |
| | |||
* | Minor tidy up | Dan Goodliffe | 2024-01-13 |
| | |||
* | Add model support for point lights | Dan Goodliffe | 2024-01-12 |
| | | | | Still invokes non-instanced point light shader | ||
* | Initial commit with working light instancing | Dan Goodliffe | 2024-01-10 |
| | |||
* | Add spot light definition, loader, and rendering | Dan Goodliffe | 2024-01-10 |
| | | | | Rendering is untested, data is passed to whatever GL program is currently active. |