dabulla / qt3d-vr-example

Qt3d example with OpenVR and OculusVR
GNU Lesser General Public License v3.0
20 stars 2 forks source link

Head Tracking Lag #2

Open mean-ui-thread opened 4 years ago

mean-ui-thread commented 4 years ago

I tried your example with the OculusSDK. Recompiled libOVR.lib with /MD and /MDd, Also had to change Windows 8.1 SDK to Windows 10 SDK because I don't have Windows 8.1 SDK installed, modified your vr-sdks.pri to disable OpenVR (not using it at the moment), made sure the OculusSDK paths are pointing to the correct location. Modified main.cpp to request OculusSDK. It builds, and it runs. So far so good!

However, there is a huge head tracking lag when I pivot my head from left to right. I tried compiling it in release but it doesn't seem to make any difference at all. The lag is quite significant: it feels at least a quarter of a second behind. Any idea?

Thanks!

dabulla commented 4 years ago

Which Qt Version did you try? They optimized latency of Qt3D recently, potentially removing more than one frame lag (I did not yet try Qt5.15). Lag/Latency is really a huge issue. I think it got better over time - or maybe I'm just getting immune to the lag.

It has been some time, that I worked on this but I try to recap what the state of this is:

Recently on twitter I saw Qt Quick 3D supporting VR, maybe this will replace my project here sooner or later.

However, I'll work on this project in the next months. But I'm not sure how far I get with it.

mean-ui-thread commented 4 years ago

I used Qt 5.12 for this project. I will try Qt 5.9 to see if the lag is the same or better.

mean-ui-thread commented 4 years ago

I tried with Qt 5.9 and it is pretty much exactly the same unfortunately.

mean-ui-thread commented 4 years ago

Also, Quick3D is GPL (not LGPL)...