-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Hi,
I'm trying to implement VR for my old driving game. I used "directx11 hellovr" (or such) as a base, and "converted" the matrix related code to D3DX (which my game use). But the camera is facing backwards in the HMD for one, so something is not quite right, unfortunately I don't understand much about matrix calculations. And then there seems to be some near/far clipping plane problem, I'm able to change the near/far values realtime, but can't come up any values to properly fix it.
Anyway, here is a video on how it looks, hopefully it will help to understand the problem.
I move my head around in the HMD, but it doesn't even look like the view is really properly turning as it should be. Plus all sorts of other problems. At 0:45 I briefly turn the VR off so you can see how the surroundings should really look like.
I will add some related code in the next post. Let me know if you need something more.
Thanks!