summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add an InstanceVertices partition perf testDan Goodliffe2024-06-30
| | | | | | | | | Summary: * Given a trivially simple condition, like a bounding box, over 1 million items can be partitioned in under 3ms. * Parallel algorithms reduce that a little but are only effective with volumes in excess ~200k, this might be better with a more complex condition/predicate.
* Fix run rules for perfsDan Goodliffe2024-06-30
| | | | Apparently Google benchmark doesn't like -- stuff syntax now
* Maintain a reverse index in instance verticesDan Goodliffe2024-06-30
| | | | Removes need to search unused and/or index when moving/adding things
* Implement partition on InstanceVerticesDan Goodliffe2024-06-29
|
* Tidy InstanceProxyDan Goodliffe2024-06-29
|
* Allow passing start index for instanced drawDan Goodliffe2024-06-28
| | | | First stage of culling support
* Remove some unnecessary includesDan Goodliffe2024-06-28
|
* Link all thirdparty libs using release variantDan Goodliffe2024-06-28
|
* Build stb_image impl as a thirdparty libDan Goodliffe2024-06-25
|
* Un-const to allow move, no nvro hereDan Goodliffe2024-06-25
|
* Create a v3.3 context and v3.3 glad libraryDan Goodliffe2024-06-25
|
* Set symmetric on glad features and add all OpenGL versionsDan Goodliffe2024-06-25
|
* Tidy many stringy messes with std::formatDan Goodliffe2024-06-04
|
* Tidy of glRefDan Goodliffe2024-06-04
| | | | Still doesn't fix the weird LTO warning about uninitialised variables
* Replace messy uasprintf with std::formatDan Goodliffe2024-06-04
|
* Assign an id to the root projectDan Goodliffe2024-06-04
|
* Use thin LTODan Goodliffe2024-06-04
|
* Remove unrequired includesDan Goodliffe2024-06-04
|
* Fix accumulator parameter type for pass-thru in AssetFactory::loadAllDan Goodliffe2024-06-04
|
* Remove fscanf and fixed buffers from AssetFactory::parseX11RGBDan Goodliffe2024-06-04
|
* Avoid pointer arithmetic AssetFactory::parseColourDan Goodliffe2024-06-03
|
* Disable -Wenum-constexpr-conversion in parts of enumDetails.hDan Goodliffe2024-06-01
| | | | The parts used for finding valid values trigger constexpr invalid values warnings.
* Reformat with new clang-formatDan Goodliffe2024-06-01
|
* Add missing includeDan Goodliffe2024-06-01
|
* Remove conflicting glm::vec operatorsDan Goodliffe2024-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 warningsDan Goodliffe2024-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 Goodliffe2024-05-27
|\
| * Surface asset test doesn't need render dumpDan Goodliffe2024-05-27
| |
| * Remove abuse of std::adjacent_find from geoDataDan Goodliffe2024-05-25
| |
| * Remove abuse of std::adjacent_find from cylinderDan Goodliffe2024-05-25
| |
| * Update to std c++23 for good rangesDan Goodliffe2024-05-25
| |
| * Simplify new face split loopDan Goodliffe2024-04-26
| |
| * Set the face surface type when setting heightDan Goodliffe2024-04-26
| |
| * Don't return newly created faces from splitDan Goodliffe2024-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 typesDan Goodliffe2024-04-18
| |
| * Custom vertex, vertex shader and fragment shader for landmassDan Goodliffe2024-04-16
| | | | | | | | Handles global position type, colourBias for surface types
| * Create terrain vertices per surface typeDan Goodliffe2024-04-12
| |
| * Introduce a basic terrain surface type assetDan Goodliffe2024-04-10
| |
| * Add GeoData face property for surface typeDan Goodliffe2024-04-08
|/ | | | Arbitrary int type for now.
* Merge branch 'separate-water'Dan Goodliffe2024-04-08
|\
| * Fix water texture wrapper in light of large position valuesDan Goodliffe2024-04-07
| |
| * Stripped down water vertex and simplified shadersDan Goodliffe2024-04-07
| |
| * Create water squares/polygons only where requiredDan Goodliffe2024-04-07
| |
| * Fix creating a flat terrain of exactly the requested sizeDan Goodliffe2024-04-07
| | | | | | | | Which must be a size of multiples of GRID_SIZE, 10m
| * Split water from terrainDan Goodliffe2024-04-06
|/ | | | Shares the geo data instance, and still has the same implementation at this stage.
* Merge remote-tracking branch 'origin/deform-terrain'Dan Goodliffe2024-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 rendersDan Goodliffe2024-04-04
| |
| * Don't garbage collect the terrain meshDan Goodliffe2024-04-04
| | | | | | | | Use skipping iterators instead, GC would be implicit during save/load
| * Update normals only as requiredDan Goodliffe2024-04-04
| |
| * Tests for triangle helpersDan Goodliffe2024-04-02
| |