Mads Buvik Sandvei
f25c3af9cb
More refactoring of VRSession. Moved call of BeginFrame and WaitFrame to the start of cull to keep shadow technique within openxr specs. There is still some jitter unless i change to single-threaded, and now i have no idea why.
2020-06-03 19:46:20 +02:00
Mads Buvik Sandvei
31336aba79
Some refactoring of openxrswapchain
2020-06-02 22:16:42 +02:00
Mads Buvik Sandvei
8f38f0536c
Separate GLRC for OpenXR to ensure uncontested access.
...
Safety check on predictions to police that they are made only once per frame.
2020-06-02 21:46:22 +02:00
Mads Buvik Sandvei
9ad910a8e7
Comparison operator for Pose, View, and co.
2020-06-02 21:45:18 +02:00
Mads Buvik Sandvei
4361f4191d
Predictions were off due to count of frames in flight off by 1.
2020-05-31 13:19:26 +02:00
Mads Buvik Sandvei
b65c1f582a
Recenter action
2020-05-31 12:15:31 +02:00
Mads Buvik Sandvei
930ee48da6
Player rotation no longer FPS dependent
2020-05-31 12:10:52 +02:00
Mads Buvik Sandvei
64d586929c
Fixed false staticness of VRGUILayer by editing camera ortography rather than texture coordinates.
2020-05-31 11:57:08 +02:00
Mads Buvik Sandvei
ee25d7be38
Prediction fix
2020-05-24 18:20:57 +02:00
Mads Buvik Sandvei
480ce82217
Fixed performance issues related to xr synchronization as well as osg pipelining. Some code refactoring / cleanup.
2020-05-24 18:00:42 +02:00
Mads Buvik Sandvei
3e3ed7ecee
STATIC data variance and asynchronous xrwaitframe.
2020-05-21 19:52:21 +02:00
Mads Buvik Sandvei
288530510d
Some cleanup. Fixed problems arising from latest merge (refactoring).
2020-05-21 01:01:15 +02:00
Mads Buvik Sandvei
cbbc82f053
Merge branch 'master' of https://gitlab.com/madsbuvi/openmw.git into openxr_vr
...
# Conflicts:
# CMakeLists.txt
# apps/openmw/engine.cpp
# apps/openmw/mwgui/windowmanagerimp.cpp
# apps/openmw/mwinput/inputmanagerimp.cpp
# apps/openmw/mwinput/inputmanagerimp.hpp
# apps/openmw/mwphysics/physicssystem.cpp
# apps/openmw/mwrender/water.cpp
# apps/openmw/mwrender/water.hpp
# apps/openmw/mwworld/worldimp.cpp
2020-05-17 23:47:28 +02:00
Mads Buvik Sandvei
5fba3b17e7
Changed logic for updating GUI tracking
2020-05-17 23:17:30 +02:00
Bret Curtis
6b44b7f245
Merge pull request #2855 from elsid/fix_msvc
...
Fix msvc dir for Qt
2020-05-17 17:35:09 +02:00
Mads Buvik Sandvei
6474d703ae
GUI fixes. Animation fixes, i now understand movement accumulation better and was able to clean up some of the hacks with a better result. Lockpicks and probes now work. Haptics. Ready to be playtested.
2020-05-17 16:25:51 +02:00
elsid
2e09e96f5d
Fix msvc dir for Qt
...
Otherwise it fails with:
Qt 5.15.0... Exists. CI/before_script.msvc.sh: line 781: cd: MSVC2019_64_Ninja/deps/Qt/5.15.0/msvc2015_64: No such file or directory
2020-05-17 15:21:12 +02:00
Bret Curtis
8d01897942
Merge pull request #2854 from OpenMW/cherry-pick-e0b35232
...
Merge branch 'ninja' into 'master'
2020-05-17 02:24:51 +02:00
Bret Curtis
9fd8470741
Merge branch 'master' into cherry-pick-e0b35232
2020-05-17 02:23:18 +02:00
Alexander "Ananace" Olofsson
7b781d8890
Windows CI dependency upgrade ( #2847 )
...
* Windows CI: Use OSG 3.4-experimental for 0.46
* Update compiled Windows CI dependencies
Only built and pushed so far, still need to try making full OpenMW
builds with them as well.
* Update missed Bullet version number
* MyGUI uses RelWithDebInfo for Release builds now
* Update Windows CI dependencies, switch Qt install
* Fix aqt retrieval and setup
* Make aqt install output slightly nicer
* Bump to Qt 5.15 for VS2019 support
* Fix FFmpeg and Qt install parts
* Fix OSG plugin DLL copying
* Add CMake flag for double-precision bullet
* Roll back 2019 to Boost 1.71 for CI
* Move aqt into unpack step, to allow manual install
2020-05-17 01:12:04 +02:00
psi29a
38daa83ff6
Merge branch 'ninja' into 'master'
...
Enable Windows Ninja builds
See merge request OpenMW/openmw!202
(cherry picked from commit e0b352323226ff11e230f6489e826df332fa681a)
c1e673ce Unify path conversion functions
fdf0fdbb Fix NMake with MSVC 2019
bdd4a814 Activate MSVC during CMake setup for NMake
eae41050 Support sourcing
c0d28a0e Warn that MSVC environment will need to be activated
bd16ad62 Ninja
7d57e6e2 Support MSVC 2015
3679d329 Check MSVC activated correctly
ed4b73b8 Fix post-2015 Visual Studio
4ffa116a Print message when it's necessary instead of when it isn't
c6e09461 Add instructions for using VS' non-.sln support
d9bb6e63 Activate MSVC later
9ca26358 Create batch script to activate correct MSVC
61df647d Provide scripts to activate selected MSVC in existing shell without kerfuffle
2020-05-16 22:23:37 +00:00
Alexei Dobrohotov
b168544445
Merge pull request #2852 from elsid/aiwander_cleanup
...
AiWander cleanup
2020-05-17 00:37:22 +03:00
Bret Curtis
59bda361f0
Merge pull request #2848 from akortunov/bullet
...
Fix Bullet flags usage
2020-05-16 23:22:34 +02:00
elsid
d86669843e
Remove unseud pointTolerance argument
2020-05-16 18:44:12 +02:00
elsid
256c9917a4
Make AiWander::isPackageCompleted const
2020-05-16 18:44:12 +02:00
elsid
131f2557b1
Split functions to remove redundant clearPath argument
2020-05-16 18:44:12 +02:00
elsid
b8513e0318
Remove unused arguments
2020-05-16 18:44:12 +02:00
Bret Curtis
a4f29a8e37
Merge pull request #2851 from elsid/fix_aiwander_crash
...
Fix AiWander crash
2020-05-16 18:34:02 +02:00
elsid
489a92de95
Check for hidden path only for actors wandering manually
...
Actors who doesn't wander over pathgrid.
2020-05-16 16:26:42 +02:00
elsid
e616188265
Do not allow wandering actor to have empty path
2020-05-16 16:11:30 +02:00
elsid
71350c6dff
Remove redundant variable
2020-05-16 16:11:30 +02:00
Alexei Dobrohotov
8c4acc69c4
Merge pull request #2849 from Capostrophic/spellsuccess
...
Fix spell school calculation
2020-05-15 22:30:14 +03:00
Capostrophic
8265ebc484
Fix spell school calculation
2020-05-15 22:24:48 +03:00
Bret Curtis
a04a41a429
Merge pull request #2843 from Capostrophic/nigeometry
...
Introduce NiGeometry abstraction
2020-05-15 17:35:39 +02:00
Bret Curtis
7da5558808
Merge pull request #2845 from akortunov/save_cleanup
...
Optimize characters data in savegame
2020-05-15 17:34:34 +02:00
Bret Curtis
f9fca8675b
Merge pull request #2846 from Capostrophic/envmap
...
CopyRigVisitor fixes (bug #5415 )
2020-05-15 17:32:11 +02:00
Andrei Kortunov
add42830d9
Add a flag to use double-precision functions from Bullet
2020-05-15 12:48:47 +04:00
Andrei Kortunov
e827d9c04f
Disable physics profiler, if Bullet was compiled without profiling support
2020-05-15 12:48:41 +04:00
Capostrophic
78b1bbe130
Remove unnecessary null check
2020-05-15 10:34:49 +03:00
Bret Curtis
c69c7d0b3b
Merge pull request #2049 from elsid/bullet_double_precision
...
Support bullet double precision
2020-05-15 07:41:02 +02:00
Mads Buvik Sandvei
cad6468518
Rewrote action system to be more flexible. Makes writing rebindable actions easier, and lets me disambiguate press vs long-press actions on the same key.
2020-05-15 00:53:49 +02:00
Capostrophic
72e5043eda
CopyRigVisitor fixes
...
Make sure it copies all relevant drawable parent nodes (e.g. including the node with the environment map effect)
Make sure it doesn't copy nodes multiple times
2020-05-15 01:12:06 +03:00
Andrei Kortunov
e6ca95174a
Optimize characters data in savegame
2020-05-14 21:07:31 +04:00
Capostrophic
b665fed8f2
Introduce NiGeometry abstraction
2020-05-14 10:52:27 +03:00
Bret Curtis
019c843589
Merge pull request #2842 from Capostrophic/nifroot
...
Handle non-node roots more gracefully (bug #5416 )
2020-05-14 09:31:07 +02:00
Capostrophic
30558c2434
Try to resolve CI concerns
2020-05-14 10:00:33 +03:00
Capostrophic
915ffe2241
Handle non-node roots more gracefully (bug #5416 )
2020-05-14 00:57:00 +03:00
Bret Curtis
74bf8ef807
Merge pull request #2840 from elsid/revert_rm_platforms_install
...
Revert remove of platforms install
2020-05-13 21:07:31 +02:00
Bret Curtis
bb30b44766
Merge pull request #2839 from Capostrophic/nipathcontroller
...
Add basic NiPathController support (movement only)
2020-05-13 21:06:54 +02:00
Bret Curtis
ce3a723503
Merge pull request #2838 from Capostrophic/nifversion
...
Some more minor NIF stuff
2020-05-13 21:06:21 +02:00