Commit Graph

24990 Commits (3ad1040271094aecb07e8447a3f107fa8bc0db72)
 

Author SHA1 Message Date
AnyOldName3 3ad1040271 Update changelog 4 years ago
AnyOldName3 162b25c180 Fix sunglare on Mesa
The sunglare works by comparing an occlusion query with depth testing on
against one with depth testing off to determine if there's anything
closer to the camera than the maximum depth buffer value. For the depth-
tested query, the depth range is set from 1 to 1 so it's always drawn at
the maximum distance. Originally, we had the depth function set to LESS,
meaning that the query would always fail as 1 is not less than 1, but
also glPolygonOffset was used to move the query by "the smallest value
that is guaranteed to produce a resolvable offset for a given
implementation" closer to the camera. While other driver and hardware
combinations do that, Mesa seems to be clamping to the depth range, so
still failing.

Instead, it's simpler to just get rid of the polygon offset and change
the depth test to LEQUAL as 1 *is* less than or equal to 1, but not than
any other possible depth buffer value.
4 years ago
Evil Eye d1e8c6b223 Merge branch 'magical_rat' into 'master'
Register copied Spells with SpellList

See merge request OpenMW/openmw!662
4 years ago
psi29a 49ec7c2053 Merge branch 'fix-mygui-log' into 'master'
Fix MyGUI log

Closes #5900

See merge request OpenMW/openmw!660
4 years ago
AnyOldName3 70f48d9b26 Merge branch 'fix-boost-zlib-vcpkg' into 'master'
MSVC: Fix build with vcpkg's boost

See merge request OpenMW/openmw!661
4 years ago
Gleb Mazovetskiy f460ab2152 MSVC: Fix build with vcpkg's boost
boost-zlib is not present (nor needed) in vcpkg version of boost
There, it is part of boost-iostreams instead.

This was previously reported in:
https://gitlab.com/OpenMW/openmw/-/merge_requests/213#note_348625016
4 years ago
AnyOldName3 ba74fbf30e Fix MyGUI log
Also actually print an error to the regular log when the MyGUI log can't
be opened so we notice if we kill it again in under five years.
4 years ago
AnyOldName3 20852e82b2 Merge branch 'zbuffer' into 'master'
NiZBufferProperty: handle depth test flag (bug #5902)

Closes #5902

See merge request OpenMW/openmw!658
4 years ago
Dobrohotov Alexei 952b31ac5c NiZBufferProperty: handle depth test flag (bug #5902) 4 years ago
AnyOldName3 56ef1ec506 Merge branch 'correct-extension-name' into 'master'
Use correct extension name.

See merge request OpenMW/openmw!653
4 years ago
psi29a 9d5ec7624e Merge branch 'fix_falling' into 'master'
Resolve #5895 by checking that the player is not on the ground

Closes #5895

See merge request OpenMW/openmw!651
4 years ago
Bret Curtis 90baf8ad60
Merge pull request #3053 from akortunov/master
Add move assignment operator for the ESM::Variant
4 years ago
Bret Curtis 40c989d732 allman style 4 years ago
Evil Eye c2580d60e9 Register copied Spells with SpellList 4 years ago
Bret Curtis 9fc0649fb6 a better check to avoid the mCell assertion, so compariing nullptr to current cell will refurn false anyway 4 years ago
Bret Curtis 49545e6d29 add comments as to why we need to check that the player is grounded or not; only run once during initial cell loading 4 years ago
Bret Curtis fff1df9ee4 revert some blank lines 4 years ago
Bret Curtis c067782814 proper fix that traces down the player when a cell is loaded; we also only run once if the current cell being loaded is the one that the player is in. 4 years ago
Bret Curtis 1479f98793 hacky solution with debug; seems that player is added before cell so tracing down will not find anything 4 years ago
Bret Curtis 19ad7d7f0c Resolve #5895 by setting the initial mOnGround state to false; we do this because the movement solver runs one frame behind so when we run through the loop the first time we assume we are on the ground even though we may be 400 units in the air. 4 years ago
psi29a 3736cd45cd Merge branch 'mygui-obsolete' into 'master'
Set `MYGUI_DONT_USE_OBSOLETE=OFF`

Closes #5896

See merge request OpenMW/openmw!656
4 years ago
Gleb Mazovetskiy 918fd174f3 Set `MYGUI_DONT_USE_OBSOLETE=OFF`
Fixes https://gitlab.com/OpenMW/openmw/-/issues/5896
4 years ago
psi29a 89aed67e2b Merge branch 'shhh-macs-stop-yelling' into 'master'
Hide macro usage from Macs where it isn't defined

See merge request OpenMW/openmw!655
4 years ago
AnyOldName3 9466d6a409 Hide macro usage from Macs where it isn't defined 4 years ago
psi29a 514a55ed4c Merge branch 'fix_5846' into 'master'
Fix #5846 (headtracking)

Closes #5846

See merge request OpenMW/openmw!652
4 years ago
psi29a dfae954eb2 Merge branch 'mygui_crashes_on_exit' into 'master'
Resolve crashes on exit with visible MyGUI widgets

Closes #5899

See merge request OpenMW/openmw!654
4 years ago
glassmancody.info 6255b0492b Resolve crashes on exit with visible MyGUI widgets 4 years ago
AnyOldName3 34af58f53f Use correct extension name.
Like 0068c7bb25, but for other shaders, too
4 years ago
Petr Mikheev 447c3b9489 Fix 5846 4 years ago
Andrei Kortunov 4d48c81998 Add move assignment operator and move constructor for the ESM::Variant 4 years ago
Evil Eye 4db2f79a3c Merge branch 'setpos' into 'master'
Use relative movement inside of SetPos

See merge request OpenMW/openmw!649
4 years ago
fredzio cb39f8fb01 Use moveObjectBy in SetPos 4 years ago
fredzio 03b86c232b Apply the position offset even if the simulation is not performed
because we're too fast.
4 years ago
psi29a 311b497491 Merge branch 'bullet-heightfield-floats' into 'master'
Avoid heightfield conversion in newer Bullet

See merge request OpenMW/openmw!647
4 years ago
psi29a cc6f08930b Merge branch 'alpha-meddling' into 'master'
Replace deprecated alpha test in shader visitor

Closes #4899

See merge request OpenMW/openmw!473
4 years ago
AnyOldName3 3103266406 Add correct preprocessor check when enabling extension 4 years ago
AnyOldName3 0431ba4c87 Merge branch 'alpha-meddling-shader-side-mip-meddling' into alpha-meddling 4 years ago
AnyOldName3 f09b0fc1bd Put groundcover alphafunc where shader visitor can see it
I'd already made this change so don't know why it disappeared instead of
being included in b8ee32e3
4 years ago
psi29a f388de861d Merge branch 'update-bullet' into 'master'
Update Bullet to improve performance

See merge request OpenMW/openmw!627
4 years ago
Gleb Mazovetskiy fe6b990f2e Update Bullet to improve performance
Updates Bullet to include https://github.com/bulletphysics/bullet3/pull/3287

This massively improves heightfield collision detection performance in
some areas.

E.g. with single-threaded bullet in the `--skip-menu` starting area
on my test desktop: 30 FPS -> 60 FPS
4 years ago
Gleb Mazovetskiy 351d11449b Avoid heightfield conversion in newer Bullet
Takes advantage of the direct `float` support implemented in
https://github.com/bulletphysics/bullet3/pull/3293
4 years ago
Bret Curtis 36d5d1c25c
Merge pull request #3051 from akortunov/master
Changelog fixes
4 years ago
Chris Djali 32424b4b6a
Merge pull request #3052 from akortunov/crashfix
Fix a crash during new game
4 years ago
Andrei Kortunov 39b7260ab4 Fix a crash during new game 4 years ago
Andrei Kortunov 63958c6d61 Changelog fixes 4 years ago
Andrei Kortunov 79c4140ebb Merge branch 'macos-valueobject' into 'master'
Fix linking on MacOS

See merge request OpenMW/openmw!645
4 years ago
AnyOldName3 64ddb4c1b0 Fix linking on MacOS 4 years ago
AnyOldName3 d52ae28b7a Fix linking on MacOS 4 years ago
psi29a 9f47190411 Merge branch 'now-it-blends' into 'master'
Convert blending factors properly for the character preview

See merge request OpenMW/openmw!644
4 years ago
AnyOldName3 cb2cbb4181 Convert blending factors properly for the character preview 4 years ago