madsbuvi
d1aaa74193
Rewrite of tracking logic.
2021-05-20 22:40:48 +02:00
madsbuvi
3347cdfe30
Fixed recentering adjusting the player's orientation. Cell changes should now retain the proper orientation. Added support for seated play.
2021-02-28 16:01:03 +01:00
madsbuvi
018e790ec0
Unite all viewer traversals.
2021-01-17 12:12:14 +01:00
Mads Buvik Sandvei
1c94d5af27
BruteForce fixes (still incomplete)
2020-12-20 20:32:32 +01:00
Mads Buvik Sandvei
e56d74518d
VR tab in the settings menu.
2020-11-29 13:14:00 +01:00
Christoph Haag
b54e77a667
fix openmw non-vr build
...
../apps/openmw/mwphysics/movementsolver.cpp: In static member function ‘static void MWPhysics::MovementSolver::move(MWPhysics::ActorFrameData&, float, const btCollisionWorld*, MWPhysics::WorldFrameData&)’:
../apps/openmw/mwphysics/movementsolver.cpp:98:52: error: ‘getPlayer’ is not a member of ‘MWMechanics’
98 | const bool isPlayer = (ptr == MWMechanics::getPlayer());
| ^~~~~~~~~
2020-10-30 23:29:24 +00:00
Mads Buvik Sandvei
4c4fc0c69a
Refactoring. Moved changes to MWRender::Camera into a new subclass MWVR::VRCamera. Moved head tracking code to VRCamera.
2020-10-21 21:34:47 +02:00
Mads Buvik Sandvei
ea9303e1c6
Deleted deprecated setting 'use steady clock'. Moved debug related settings to a separate [VR Debug] category.
2020-10-19 18:21:05 +02:00
Mads Buvik Sandvei
6425749b7e
More accurate interpretation of openxr session states
2020-10-18 14:22:03 +02:00
Mads Buvik Sandvei
2a534877da
Head/hand directed movement option
2020-08-08 12:24:24 +02:00
Mads Buvik Sandvei
c136ae682e
SteamVR compatibility (Lack of depth formats). Cleanup of deprecated oculus workarounds in vrsession.cpp.
2020-08-02 12:34:46 +02:00
Mads Buvik Sandvei
a15188d3bc
Wait on a separate thread
2020-07-26 13:12:05 +02:00
Mads Buvik Sandvei
9e16e592e8
steady clock prediction was not quite right
2020-07-25 12:28:52 +02:00
Mads Buvik Sandvei
14977f79e2
Merge fixes
2020-07-22 20:01:56 +02:00
Mads Buvik Sandvei
b5675b7525
Configuration option for oculus prediction time workaround
2020-07-21 14:36:11 +02:00
Mads Buvik Sandvei
5e729a0e82
Improved XR event processing logic. Particularly, handling session stop/start in a more predictable, less crashy manner. Added disabling of rendering when XR session is not running.
2020-07-21 12:28:39 +02:00
Mads Buvik Sandvei
e0b51af395
Sharing shadow maps across eyes.
...
Does not yet expand frustum.
2020-07-20 13:03:48 +00:00
Mads Buvik Sandvei
45656f1d06
Comments etc
2020-06-28 11:33:01 +02:00
Mads Buvik Sandvei
91de6392ca
More refactoring / cleanup. Code policies.
2020-06-26 23:02:48 +02:00
Mads Buvik Sandvei
df45ee1690
More refactoring/cleanup
2020-06-24 21:26:11 +02:00
Mads Buvik Sandvei
1cf97fd7ad
lots of refactoring and some commenting
2020-06-21 23:40:07 +02:00
Mads Buvik Sandvei
9bd676f5be
Some bugfixes, more experimenting with timing of frame sync calls.
2020-06-07 20:02:03 +02:00
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
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
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