summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* CLOG includes line numberDan Goodliffe2023-03-11
|
* Swap messy glmvec wrapper for OpenMesh Point/Normal with real glm::vec and a ↵Dan Goodliffe2023-03-10
| | | | | | custom vector_traits implementation Simplify code previously messy as a result of the original hack.
* Inplace operator%= for vec3/mat4 mutationDan Goodliffe2023-03-10
|
* Mutation persists its own membersDan Goodliffe2023-03-10
|
* Merge branch 'model-factory-fixup'Dan Goodliffe2023-03-09
|\
| * Rewrite asset factory cylinder generatorDan Goodliffe2023-03-09
| | | | | | | | | | Fixes duplication of sincos to get circumference and vertex duplication breaking smooth edge shading.
| * Make add_namedFace a thin template wrapperDan Goodliffe2023-03-09
| |
| * Refactor of asset factory to address mutation/face controller logicDan Goodliffe2023-03-09
| | | | | | | | | | | | | | | | | | Fixes issue where face controller extrusions applied to a rotated or scaled mesh would be applied incorrectly. Now we create the mesh at the origin, deform it as required (scale), apply face controllers and finally relocate it as required (position and rotation). A relative level of detail is cascade into the generation for shapes like cylinder, which generate fewer faces for small objects.
| * Hugely more detailed Brush47 model and revision to test case detailsDan Goodliffe2023-03-09
|/ | | | | | Specifically, this includes the buffer block, which is a rotated cuboid with an extrusion. This feature breaks the current mesh creation code... Fix coming up.
* Add a generic persistence perf testDan Goodliffe2023-03-05
|
* Move persistence test objects to test libraryDan Goodliffe2023-03-05
|
* Unify asset factory perf tests as it's now a combined load/create operationDan Goodliffe2023-03-05
|
* Replace SelectionT for glm::vec with one for std::span, reimplement it as a ↵Dan Goodliffe2023-03-05
| | | | | | wrapper All the implementation is now shared, regardless of length and qualifier.
* Merge branch 'model-factory'Dan Goodliffe2023-03-05
|\
| * Remove old hard coded asset factory test, run entirely from XML load and ↵Dan Goodliffe2023-03-04
| | | | | | | | render a RailVehicle instance
| * Default RailVehicle bogie positions according to class wheelBaseDan Goodliffe2023-03-04
| | | | | | | | Useful for render tests so everything looks sane
| * RailVehicleClass now renders bogie shadows as well as bodyDan Goodliffe2023-03-04
| |
| * DynamicPoint shadow render now supports updating the position without ↵Dan Goodliffe2023-03-04
| | | | | | | | calling use again
| * Load length, wheelBase and maxSpeed RailVehicleClass properties from XMLDan Goodliffe2023-03-04
| | | | | | | | Adjusts bogie position to appear correct according to wheelBase
| * RailVehicleClass texture might be nullDan Goodliffe2023-03-04
| |
| * Support and load factory asset directly into a RailVehicleClass instanceDan Goodliffe2023-03-04
| |
| * Add Asset helpers to construct OpenGL ready meshes from Asset Factory meshes ↵Dan Goodliffe2023-03-04
| | | | | | | | during load
| * Split Asset into its own fileDan Goodliffe2023-03-03
| |
| * Don't leak root node when parsing XMLDan Goodliffe2023-03-02
| |
| * Add ParseBaseDan Goodliffe2023-03-02
| | | | | | | | Acts as a base class for persistence parser, encompasses the parse stack and manages shared objects
| * Parse colour values as they're readDan Goodliffe2023-03-02
| |
| * Remove to specify if the Selection pointer type is shared or notDan Goodliffe2023-02-28
| | | | | | | | Inferred based on whether the pointer is copyable or not.
| * Support for named colours in assetsDan Goodliffe2023-02-27
| | | | | | | | Fixes up some error handling in colour parser.
| * Load the X11 RGB colour definitions into a mapDan Goodliffe2023-02-27
| |
| * operator*= can work on any iterable collectionDan Goodliffe2023-02-27
| |
| * Add nodiscard to many collections helpersDan Goodliffe2023-02-27
| |
| * Add a perf test over the asset factoryDan Goodliffe2023-02-27
| |
| * Colour windows of sample modelDan Goodliffe2023-02-25
| |
| * Name new faces based on adjacent faces when extrudingDan Goodliffe2023-02-25
| |
| * Helpers to create container instances from rangesDan Goodliffe2023-02-25
| |
| * Primitives add named facesDan Goodliffe2023-02-25
| |
| * Add face name property and wrapper to add a named faceDan Goodliffe2023-02-25
| |
| * Support for recursive colouring of asset factory facesDan Goodliffe2023-02-24
| | | | | | | | Updates colours in sample model.
| * Support for model colours mixed with texturesDan Goodliffe2023-02-24
| |
| * Fixed up vector operator+ elementDan Goodliffe2023-02-24
| |
| * Fix axel definitionDan Goodliffe2023-02-23
| | | | | | | | Test output images now identical
| * Smooth roof now supportedDan Goodliffe2023-02-23
| |
| * Support parsing string values in persistence readDan Goodliffe2023-02-23
| |
| * Implement loading asset, mesh and face definitionsDan Goodliffe2023-02-22
| |
| * Fixup MapByMember to work with shared or unique ptrDan Goodliffe2023-02-22
| |
| * Move Appender in Persistence NS and simplify typesDan Goodliffe2023-02-21
| |
| * Rename ModelFactory to AssetFactoryDan Goodliffe2023-02-21
| |
| * Support for loading objects, uses and model factories from an XML resourceDan Goodliffe2023-02-21
| |
| * Add missing overrideDan Goodliffe2023-02-21
| |
| * Implement XML deserializer with SAXParseDan Goodliffe2023-02-21
| |