mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
fb71c71a8c
Each HMD driver now has to implement compute_distortion() which will be called by the compositor implementation to generate a mesh (usually). u_distortion_mesh contains implementations for the defaults (panotools, OpenHMD, vive). Also adds compute_distortion function for Vive distortion There are differences between OpenHMD and Panotools values, main differences for now: * psvr has 5 pano coefficients, ohmd has 3 * psvr uses viewport size and lens center in pixels for distortion calculation, ohmd in meter * psvr uses different distortion scaling than ohmd |
||
---|---|---|
.. | ||
external | ||
xrt | ||
CMakeLists.txt | ||
meson.build |