lovr/src/modules
bjorn 61ffd5716f Disable LOCAL reference space on SteamVR;
Recent SteamVR versions have bugs with it, especially after triggering a
recenter operation.

In SteamVR, recentering fires referenceSpaceChangePending for the LOCAL
space, then the STAGE space, then the LOCAL space again, all with
different changeTimes.  No poseInPreviousSpace is given.

Recreating the main reference space whenever this event is received
leads to strange, inconsistent issues.  Sometimes the local/stage spaces
end up on top of each other, other times one or both will be way up in
the air (putting the headset at negative y coordinates).

This bug is even present when recentering in the compositor, so it's not
an issue with lovr.  Cautiously disabling the local-floor emulation on
SteamVR runtimes and just always using the STAGE space until things are
sorted out.
2023-07-16 14:43:23 -07:00
..
audio Change vec3 back to 3 floats; Clean up maf/vectors; 2023-07-10 17:51:24 -07:00
data Change vec3 back to 3 floats; Clean up maf/vectors; 2023-07-10 17:51:24 -07:00
event lovr.recenter event; Use local-floor space by default; 2023-06-26 16:41:42 -07:00
filesystem Fix prototypes; 2023-04-25 21:37:14 -07:00
graphics Format support considers both linear/srgb encodings; 2023-07-10 19:21:11 -07:00
headset Disable LOCAL reference space on SteamVR; 2023-07-16 14:43:23 -07:00
math Change vec3 back to 3 floats; Clean up maf/vectors; 2023-07-10 17:51:24 -07:00
physics World:queryBox; World:querySphere; 2023-07-10 23:20:01 -07:00
system Scroll wheel changes simulated hand distance; 2023-07-02 16:08:00 -07:00
thread Fix prototypes; 2023-04-25 21:37:14 -07:00
timer Fix prototypes; 2023-04-25 21:37:14 -07:00