philhzss / OttoMatic-VR

A VR port of Pangea Software’s Otto Matic 🤖
https://pangeasoft.net/otto
Other
2 stars 0 forks source link

VR Device tracking (& camera system) must be redone #30

Open philhzss opened 2 years ago

philhzss commented 2 years ago

We are currently handing the VR HMD pose matrix stuff in Camera.c only, which is giving us several problems. For example, it is only applied in levels (not in menus, cutscenes etc as that code is only used when playing. Also getting some weird stuttering / latency, which seems to not be the case if I multiply with the other HMD matrices in OGL_Support.

philhzss commented 2 years ago

Ref #28, this will fix it

philhzss commented 2 years ago

Subtracting VRroomDistanceToGameDistanceScale/2 from the scaled translation on the Y axis seems to look good in-game (relation HMD to floor), but looks bad in menus (you feel too tall). Subtracting VRroomDistanceToGameDistanceScale is better for the menus?

philhzss commented 2 years ago

Still to do: