Commit Graph

17420 Commits (93c582064e5ea247373305628a75940d2423b6c3)
 

Author SHA1 Message Date
scrawl 93c582064e Remove item shadows for equipped weapon/spell indicators 8 years ago
scrawl 3f3d00ffc9 Add CellPreloader::clear to avoid potential dangling CellStore pointer and to more aggressively clear preload state from a previous game 8 years ago
scrawl 0be86f69bc Write the player object first to increase the chance of preloading the player cells in time 8 years ago
scrawl 1d8a9ff622 Preload player cell as soon as the player is read from the savegame
Giving the worker thread something to do while the rest of the savegame is parsed.
8 years ago
scrawl d141b98f0c Add base animations to preloadCommonAssets 8 years ago
scrawl 066aa2e60e Always run preloadCommonAssets even when the menu is skipped
Move to before the content files are loaded so we can do preloading in parallel with content file loading
8 years ago
scrawl 839928e210 Fix light data being reset for the wrong light 8 years ago
scrawl c68f662c9a Predict player movement when preloading cells to better handle moving at high speed 8 years ago
scrawl a46593fa74 Add PreloadItem::abort() to avoid no longer required cells from blocking the work thread 8 years ago
scrawl d62c4259bd CellPreloader: load the terrain first to match the order in the main thread 8 years ago
scrawl d3e1dbe920 Fix race conditions in terrain loader caused by static variables 8 years ago
scrawl d1e86d22ca Check which local map textures actually need to be updated
On a typical exterior cell transition, we'll save 3 of 9 map renders. When moving back and forth between 2 cells, we can even reuse 6 of 9.
8 years ago
scrawl 4d53ab6c32 nifloader: attempt to remove redundant root node when a Skeleton is added 8 years ago
scrawl 2a42c4781e nifloader: override animflags instead of accumulating them 8 years ago
scrawl 0187f2ce4c nifloader: combine animFlags and particleFlags (Bug #2100) 8 years ago
scrawl bccfd6cef8 nifloader: handle textures with no image that are later assigned in a FlipController
As found in vurt's trees (Bug #2100)
8 years ago
scrawl 792f505b2a Fix potential crash in ShaderVisitor for textures with no image assigned 8 years ago
scrawl 43d9f3d5c7 Update bullet debug drawer even when the game is paused so the collision mesh will show instantly even when the console is up 8 years ago
scrawl 249fe9077b Handle 'tcb' command as an alias for 'tcg' 8 years ago
scrawl 45ae8d5ffa Add support for GL_AMBIENT colorMode to shaders as required by particle systems 8 years ago
scrawl 206e2bf975 Fix camera rotation not being set after save game load (regressed with 1eb3384043) 8 years ago
scrawl c00532d82d Add LightStateCache to avoid redundantly setting the same gl_Light
Normally, osg::State would do this for us (via lastAppliedAttribute), but since we're using a custom StateAttribute to apply all lights at once, we have to track ourselves.

Further reduction of GL calls in a typical scene by ~2%
8 years ago
scrawl 4d4dc1b9c1 Add specialized DisableLight state attribute for more efficient undoing of light state
Seems to reduce # of GL calls by 10-15% in a typical scene.
8 years ago
scrawl cdca9b0488 Accept bullet 283 on appveyor as well 8 years ago
scrawl dfa43af818 Update bullet dependency to 2.86 8 years ago
scrawl 35bb467c7a Fix inverted setting of variable 8 years ago
scrawl 5a939418fc Add missing avcodec_close (Fixes #3741) 8 years ago
scrawl 91939c4687 Switch actors to capsule shapes now that the jumping bug is gone (Fixes #2116, Fixes #2909)
The culprit was - surprise, surprise - d39d4f2619
8 years ago
scrawl 03aa270551 Construct PhysicActor as on ground by default to avoid a jumping animation from playing in the first frame after a savegame load 8 years ago
scrawl bc29a99a53 Fix broken timer 8 years ago
scrawl d39d4f2619 Revert a problematic and performance costly workaround that should never have been applied and is no longer required as of the last commit. 8 years ago
scrawl 541fbb4792 Movement solver: add usage of 'on slope' flag to improve handling of steep slopes
Previously we were handling 'on slope' synonymously with 'in air' which caused some odd effects.

Practical changes:
 - Sliding down a slope no longer applies fall damage.
 - Fixed a climbing exploit that would allow climbing steep slopes with repeated use of the Jump function.
8 years ago
scrawl cce42b6e9d Don't create a CharacterController for objects with no animations 8 years ago
scrawl fe0cf5be05 StatsWindow: don't rebuild all skill widgets when one skill changes 8 years ago
scrawl e7b6ea4e3f Add cycle weapon/spell actions to the list of controller actions (Fixes #3613) 8 years ago
scrawl 3065600a86 Skip expensive visitEffectSources call if no summoned creatures or summon effects are active 8 years ago
scrawl ee4073541c Animation: cache getVelocity() 8 years ago
scrawl a2cede8f34 Add timer for updateEquippedLight 8 years ago
scrawl 1eb3384043 Avoid rotating by zero in CharacterController 8 years ago
scrawl 7201cf5fe2 ItemWidget: skip setImageTexture if the icon has not changed 8 years ago
scrawl 5f2539adb6 Optimize scrollbar/progress skins by using one widget for the track instead of one widget per pixel 8 years ago
scrawl 1447bfa215 Improve scene loading performance by creating collision objects with the correct rotation right away instead of adjusting it later 8 years ago
scrawl 739a76f5fb docs/settings: fix setting range 8 years ago
scrawl 76f6964583 docs/settings: add preload settings 8 years ago
scrawl 884d306bf3 Throw exception when told to use 0 threads 8 years ago
scrawl 209f271f5f docs/settings: remove 'This setting was added in OpenMW version X.Y"
Most of these are ancient by now, plus we have the version selector on readthedocs.io
8 years ago
scrawl 0f9ec3f0c7 docs/settings: don't specify setting type redundantly 8 years ago
scrawl 2db7292bcb Add new setting for the number of preloading worker threads
If you have CPU cores to spare, consider setting 2 or 3. Up to about 3 threads, preloading performance seems to increase in a linear fashion, but with 4 or more threads I/O bottlenecks and synchronization overhead starts to show.
8 years ago
scrawl eaeba4138b Move the deletion of PreloadItem to the worker thread 8 years ago
scrawl a1069dce3c Change UnrefQueue to accept osg::Referenced instead of osg::Object 8 years ago