Commit Graph

793 Commits (master)

Author SHA1 Message Date
psi29a 1dac165356 Merge branch 'precomputedbonematrices' into 'master'
Precompute bone matrices before skinning

See merge request OpenMW/openmw!4467
1 month ago
Alexei Kotov 0f4e0ac818 Precompute bone matrices during skinning 1 month ago
Alexei Kotov 5433ecf861 Change default depth test mode to <= (#7040) 1 month ago
psi29a 974c0ce158 Merge branch 'vfs_normalized_path_16' into 'master'
Use normalized path in multiple places and fix additional animation sources loading (#8138)

See merge request OpenMW/openmw!4398
3 months ago
elsid 6e0eb64538
Use normalized path for glow texture names 3 months ago
Evil Eye 403189c711 Switch between DrawElementsUInt and DrawElementsUShort on demand 3 months ago
Evil Eye 5e16579793 Switch to DrawElementsUInt 3 months ago
Evil Eye 6644a7f27b Use more sensible types in pathgridutil 3 months ago
elsid cd6e49796e
Properly initialize local static pointers and collections
Static variables should be initalized once instead of initializing them with
nullptr and then doing actual initialization behind if condition. Otherwise a
race condition may happen leading to undefined behaviour.
3 months ago
elsid 1fd6ac6438
Use normalized path in ImageManager 3 months ago
Alexei Kotov 03091f8ce0 Make Coverity happy about animation blending 5 months ago
Sam Hellawell 9beb380c7d Remove M_PI, documenation cleanup 5 months ago
Sam Hellawell 340252007b fitsRuleString dont reference string_view 5 months ago
Sam Hellawell 014cba807b Refactor easings, serialize per-line items, constexpr path 5 months ago
Sam Hellawell eb290bebbb Refactor AnimBlendControllers 5 months ago
Sam Hellawell 00a7d0281f Cleanup, refactor, rename AnimBlendControllerBase -> AnimBlendController 5 months ago
Sam Hellawell 42406ed0af Use META_Object, ignore for serialize 5 months ago
Sam Hellawell 13e1df3bf0 Grammar cleanup, code cleanup, reduce logging, revert mRotation change 5 months ago
Max Yari 55ffb6d7d2 Animation blending implementation for NIF and osgAnimation through YAML files
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
5 months ago
Sam Hellawell df0a7a849b Merge branch 'master' of https://gitlab.com/OpenMW/openmw.git into fix/osg-animation-rename-update-order-sucks-this-took-too-long 6 months ago
Sam Hellawell 03413a895f Fix osgAnimation for multiple creatures (#8045) 6 months ago
Cody Glassman 45362e0ede fix distortion breaking in first person meshes 6 months ago
Alexei Kotov ccd36e9413 Support light fade settings in legacy lighting method
This doesn't change launcher descriptions because the launcher settings are going to be omitted
7 months ago
Alexei Kotov 71c1b536b4 Discard culled lights specifically for post-processing light buffer 7 months ago
Alexei Kotov cbe61e2c93 In TextureType, use osg::Object's name field 7 months ago
psi29a a2e83d9a21 Merge branch 'dayofviewindependence' into 'master'
Make object light lists (mostly) view-independent

See merge request OpenMW/openmw!4128
7 months ago
psi29a 8cf6fde8b6 Merge branch 'fix_debug_render' into 'master'
Fix debug render for recast mesh and navmesh

See merge request OpenMW/openmw!4127
7 months ago
Alexei Kotov c92d016e43 Don't sort scene light list by camera distance if the limit isn't reached and PP doesn't need it
Also don't clip it to the single UBO scene light limit if the lighting method isn't actually single UBO
7 months ago
Alexei Kotov 916706c6c1 Make object light lists (mostly) view-independent
Remove frustum culling
Sort lights by object proximity
Restore multiple camera rendering optimization
7 months ago
elsid 10e14a3c21
Replace release by assigning nullptr
release does not call a destructor if it's the last reference. This is not a
right choice here. Even though the functions accept raw pointers they convert
them into osg::ref_ptr. So it's ok to share the ownership.
7 months ago
elsid 4b8897e33e
Use state sets without transparency support for recast mesh and agents paths 7 months ago
elsid 98d530d8cb
Share state sets for recast mesh tiles and actors paths 7 months ago
Alexei Kotov fd9361f62c Some attenuation setup fool-proofing 7 months ago
Alexei Kotov e0e4b84e40 Disable specularity for negative lights 7 months ago
Alexei Kotov debc37d93a Fade out specularity according to light fade settings as well 7 months ago
Alexei Kotov 908f3891fb Add helper method for texture type recovery 7 months ago
Alexei Kotov 84f4ba4ca1 Support defining the texture type with a state attribute (#6240)
Named textures are still supported for easier native format compatibility (and so that I don't have to edit the documentation)
7 months ago
elsid 020b31395b
Reserve arrays before merging 8 months ago
AnyOldName3 ee3d012a6a Use CLAMP_TO_EDGE for shadows
Partially mitigates https://gitlab.com/OpenMW/openmw/-/issues/7944

The border was necessary in the olden days when the FFP might have shadows, but they require shaders now.
8 months ago
Alexei Kotov f0e4793321 Remove allow shadow map overlap setting (#7939) 8 months ago
AnyOldName3 04f1dc282b Merge branch 'fix-osga-rotate-wildly' into 'master'
Fix OSGAnimation issues

See merge request OpenMW/openmw!3989
8 months ago
Sam Hellawell 2653b76db9 getTranslation/getTransformForNode refactor, unit tests 9 months ago
Alexei Kotov 443e341ae7 Generalize unsized pixel format computation 9 months ago
Alexei Kotov 3c0c1717a9 Fix red-green normal map handling for terrain 9 months ago
Sam Hellawell 8c2c66d59e .nif check, matrix mult feedback, auto usage, reuse NodeMap typedef 9 months ago
Sam Hellawell a51d560174 Move bone rename logic to ColladaDescriptionVisitor, undo formatting/refactoring 9 months ago
Sam Hellawell 2288a691d2 Replace osgAnimation bone underscore naming at load time, map bone instances, reset root bone transform each frame 9 months ago
Sam Hellawell 7897ff7ac9 Fix weapon sheathing for non-nif meshes 9 months ago
AnyOldName3 a761e417f1 Accept that it's too much work to defer light manager creation in the CS and instead use something akin to the old approach 10 months ago
AnyOldName3 dec8d32b3a FIx static destruction order chaos 10 months ago