Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Per-eye distortion correction #377
Added the ability to override the per-HMD distortion parameters with per-eye distortion parameters to support a vendor that has custom calibration per eye on their display.
Decided to add a per-eye optional distortion override based on the following analysis:
Verified that this was backwards compatible with existing config and that it works with different distortion per eye on a new config.
…ration file that will override th global distortion correction description if it is present. This enables a different distortion parameter in each eye, which is needed for displays that have a custom calibration per eye.
rpavlik left a comment
Look reasonable enough to me. I'm assuming you've tested that it actually builds and runs :) I do like several of the changes i see (things moved to lambda captures instead of class members, etc), and fixing regressions is always good. Builds on Linux. Thanks!