microsoft / angle

ANGLE: OpenGL ES to DirectX translation
Other
615 stars 166 forks source link

MRC video has shift (Hololens using HoloJS) #164

Open nosy-b opened 5 years ago

nosy-b commented 5 years ago

Hi! I'm trying to record a demo using the Hololens and HoloJS with angle-Holographic branch and I got a parallax effect when I activate the MRC, possibly due to focus point as you can see in the image. I try to draw as far as I can from the Hololens (50cm). It works fine through my eyes but I always have a shift in the video recorded via mrc. (The red contours are Hololens projection) Following the documentation (https://docs.microsoft.com/en-us/windows/mixed-reality/mixed-reality-capture-for-developers#what-to-expect-when-mrc-is-enabled-hololens-specific) I looked to create a focus plane at 50cms but didn't see any change. Or is it just the mid View matrix that is not well computed? How can I force a translation? It seems always shifted from 4 cms down-right What is the view/projection matrix used when activating MRC?

Thank you! shift_mrc 1