This is a link to a video showing what I see. With the headset I’m merely turning my head to the left (after first looking up and down and rotating my head too to test all axis). When I hit about 90 degrees from the original orientation, the display appears to warp, and then everything appears to invert. If I continue rotating, around 270 degrees, it corrects itself and the display works when pointing at the original orientation.
I also have a link to a video of a simple working example in the RenderManager (Not in JME3) where I do the same thing, turning the head to the left, and no warping occurs (This demo is just a cube room with different color walls).
I’ve checked the quaternions coming from the HDK2 and how they’re used and I believe they’re fine. The projection matrix also looks fine. What appears to be happening is that the distortion mesh itself looks to be warping and flipping. Notice in the second example that distortion mesh doesn’t move as the head moves. Does anyone have any idea why this would be happening? From looking at the code, it appears that OSVR and OpenVR do the distortion mesh differently, but I haven’t found anywhere yet that could cause the distortion mesh to warp as the head moves. Any clues would be helpful.