Forum Discussion
lhunker
10 years agoHonored Guest
Oculus DK2 Distortion Algorithm
Hi,
Does anyone know where I could find a description of the distortion algorithm used for the DK2. I am trying to implement the algorithm in hardware (on an fpga) therefore I cannot just use the sdk. So far I have been able to find a discription of the DK1 algorithm, but nothing about the DK2 algorithm.
Thanks
Does anyone know where I could find a description of the distortion algorithm used for the DK2. I am trying to implement the algorithm in hardware (on an fpga) therefore I cannot just use the sdk. So far I have been able to find a discription of the DK1 algorithm, but nothing about the DK2 algorithm.
Thanks
3 Replies
- cyberealityGrand ChampionI don't believe it was ever made public.
- wheatgrinderExplorerIs it possible to work it out from the distortion mesh?
https://developer.oculus.com/doc/0.5.0. ... ml#details - The distortion uses a catmull rom spline with around 10 coefficients. (DK1 used a simple formula with 4 coefficients).
You can find the algorithm in the LensConfig::DistortionFnInverseApprox method in the OVR_Stereo.cpp file in the 0.4 sdk. I believe it was hidden after that (either 0.5 or 0.6 removed the source for it). You'll need to run the 0.4 sdk to find the coefficients for the DK2.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 3 months ago