471 Commits
Author SHA1 Message Date
elsid c5667e0815 Do not post empty and out of range tiles
If a tile has no geometry and is known to be empty navmesh tile there is
no need to process it again.

If a tile is too far from player it will not be processed anyway.
2026-04-04 09:12:27 -07:00
Alexei Kotov 97d3608f36 Remove dead code 2026-03-28 04:05:06 +03:00
Cody GlassmanandSarah Sunday e53536a3ec Remove exclusive FFP mode 2026-03-15 14:13:19 -05:00
Alexei Kotov 3be27b59bf Address review
Document some non-obvious UV shenanigans and remove a misleading hyphen
2026-02-05 22:03:43 +03:00
Alexei Kotov a357dcc1b1 Change the texture asset convention to top-left (#6885)
This is basically a MR description but this commit covers a lot of things so I'll include it so you don't have to look at the MR:

This allows us to use BC6H and BC7 textures as is, provided the used OSG revision and hardware support them
DDS images are unflipped by default, non-DDS bottom-left convention images are flipped (TGA, BMP, PNG, JPG)
3D DDS images always used top-left convention if they were used in post-processing

Numerous things flipped in this commit to guarantee the same visual results are:
- Terrain UV and blend maps
- Water UV, normal map and simple water ripple alignment

- NiTriShapeData and BSTriShape UV (unflipped), NiUVController vertical offset
- NIF particles are NOT flipped, they remain flipped for Morrowind compatibility

- GUI widget texture UV and convention
- Cursor
- Character preview inventory doll and race menu head UV and display
- Loading screen scene image UV
- Local and global map UVs (fog of war, unexplored and explored maps)
- Saved game screenshot UV
- Video widget UV

- Rain particle alignment
- Sun and moon UV

- Tangent space handedness (bitangent direction)
- Parallax vertical offset

Things where this is a breaking change
- Collada geometry UV (Example Suite and anything else affected must adopt the changes)
- Compressed non-S3TC images that should but can't be flipped (this is KTX which we don't technically support yet)
- Any forward pass shader replacements that currently still use the original tangent space handedness and parallax convention
2026-02-05 21:05:35 +03:00
elsid 07621574d0 Report number of StringRefIds 2025-12-25 13:26:23 +01:00
elsid 878f9f8433 Add extension path type 2025-12-08 20:38:23 +01:00
AnyOldName3 06cb00bb0b Resolve merge conflicts from !4924 and !4928
luamanagerimp still needs float frameDuration, and reordering a bunch of fields in the scene manager conflicted with changing the type of maxanisotropy.
2025-10-04 23:08:20 +01:00
Evil Eye 000c5d2a08 Ensure error marker assignment is thread safe 2025-09-25 20:47:10 +02:00
Evil Eye 1caac90e93 Add btVector3 -> osg::Vec3f helper 2025-09-21 12:14:50 +02:00
Evil Eye cb82d37992 Address remaining conversion warnings in components 2025-09-20 11:39:31 +02:00
Evil Eye f7292680d6 Fix most conversion warnings in components 2025-09-18 22:00:55 +02:00
AnyOldName3 98291f1377 First batch of warning fixes 2025-09-18 00:38:08 +01:00
elsid 0f36b7fc97 Fix and enforce parameter naming 2025-08-27 12:45:09 +02:00
Alexei Kotov 944925663d Merge branch 'dontreplacedepth' into 'master'
Don't run osg::Depth replacement visitor for NIF templates

See merge request OpenMW/openmw!4876
2025-08-25 09:15:20 +03:00
Cody Glassman d72451da62 remove unecassary visitor for soft particles 2025-08-23 09:09:18 -07:00
Alexei Kotov 47130e2155 Don't run osg::Depth replacement visitor for NIF templates 2025-08-23 09:19:42 +03:00
Alexei Kotov f7238cd043 Merge branch 'document_object_cache' into 'master'
Add documentation for update function of Generic Object Cache

See merge request OpenMW/openmw!4164
2025-07-18 21:51:16 +03:00
Dave CorleyandAlexei Kotov 9dd028b260 FEAT(CS): Replace selection markers with a real one (#8139) 2025-07-14 23:18:45 +03:00
Alexei Kotov 6d74a4607c Restore some omitted object cache remarks that seemed useful 2025-07-10 17:25:27 +03:00
Florian HebererandAlexei Kotov a00e5ec828 Add documentation for update function of Generic Object Cache 2025-07-10 17:18:18 +03:00
Cody Glassman 30a852bb88 disable blending in second color attachment on water node 2025-07-05 08:32:21 -07:00
Alexei Kotov 23a46a1bf9 Merge branch 'vfs_normalized_path_22' into 'master'
Use normalized path for KeyframeManager::get (#8138)

See merge request OpenMW/openmw!4463
2024-12-01 21:45:01 +00:00
Alexei Kotov 5433ecf861 Change default depth test mode to <= (#7040) 2024-11-23 08:32:25 +03:00
elsid a550a8af36 Use normalized path for KeyframeManager::get 2024-11-20 21:29:36 +01:00
Andrei Kortunov 2522fe9517 Remove dead code 2024-11-14 22:16:05 +04:00
elsid 63e984ba24 Use normalized path in BulletShapeManager 2024-09-27 23:33:58 +02:00
elsid 5f2582fe68 Use normalized path in SceneManager::checkLoaded 2024-09-19 00:51:17 +02:00
elsid 1fd6ac6438 Use normalized path in ImageManager 2024-09-17 00:49:57 +02:00
jvoisin f2be4072d9 Merge branch 'fix_build' into 'master'
Fix build with msvc

See merge request OpenMW/openmw!4372
2024-09-14 22:43:05 +00:00
elsid ec6af1ef32 Fix build with msvc
components\resource\cachestats.hpp(23): error C2039: 'string': is not a member of 'std'
2024-09-14 14:05:24 +02:00
elsid d8189a5aa1 Use normalized path in SceneManager 2024-09-13 14:21:49 +02:00
elsid 7e1ecfc0ee Pass normalized path to RetrieveAnimationsVisitor 2024-07-22 22:01:05 +02:00
elsid 616b033c36 Move parseTextKey and parseTimeSignature to unnamed namespace 2024-07-22 22:01:05 +02:00
elsid 6e97deb3f7 Use normalized path for text key files 2024-07-22 22:01:04 +02:00
Sam Hellawell 4040bd9231 FIx GCC debug build error 2024-07-19 00:04:16 +01:00
Sam Hellawell 00a7d0281f Cleanup, refactor, rename AnimBlendControllerBase -> AnimBlendController 2024-07-19 00:04:16 +01:00
Sam Hellawell 13e1df3bf0 Grammar cleanup, code cleanup, reduce logging, revert mRotation change 2024-07-19 00:04:16 +01:00
Sam Hellawell 28c8e6b1fe Cleanup loadRules method, smooth animation transitions game.rst docuemntation 2024-07-19 00:04:16 +01:00
Sam Hellawell 1282be9d29 Fix stats reporting 2024-07-19 00:04:15 +01:00
Max YariandSam Hellawell 55ffb6d7d2 Animation blending implementation for NIF and osgAnimation through YAML files
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
2024-07-19 00:04:15 +01:00
Sam Hellawell db30d9a37a Code cleanup, fix missing const 2024-07-14 20:38:24 +01:00
Sam Hellawell 56a40577ed Revert move of default anim rename 2024-07-14 02:38:57 +01:00
Sam Hellawell 03413a895f Fix osgAnimation for multiple creatures (#8045) 2024-07-14 02:34:09 +01:00
elsid 71369be796 Log caught exceptions 2024-05-26 02:52:11 +02:00
elsid 9e2f3fd0b4 Report stats for TileCachedRecastMeshManager 2024-05-19 20:03:34 +02:00
elsid a920ca9070 Report loading screens to osg stats 2024-05-04 13:22:32 +02:00
Alexei Kotov 78eda530ac Simplify material file pointer acrobatics 2024-04-23 00:34:38 +03:00
psi29a 023c0f7a46 Merge branch 'vfs_normalized_path_6' into 'master'
Use normalized path for music related functions

See merge request OpenMW/openmw!4038
2024-04-22 07:02:14 +00:00
Alexei Kotov 884668927f BGSM Reader: include cleanup, adjust getFile return result 2024-04-20 23:38:01 +03:00