Commit 5adee8b1 authored by Pete Black's avatar Pete Black

do a little bit of incremental improvement work on distortion/fov of PSVR

parent 1914a2ee
Pipeline #193962 failed with stages
in 2 minutes and 2 seconds
......@@ -1023,16 +1023,16 @@ psvr_device_create(struct hid_device_info *hmd_handle_info,
struct u_panotools_values vals = {0};
vals.distortion_k[0] = 0.75;
vals.distortion_k[1] = -0.01;
vals.distortion_k[2] = 0.75;
vals.distortion_k[1] = 0.05;
vals.distortion_k[2] = 0.1;
vals.distortion_k[3] = 0.0;
vals.distortion_k[4] = 3.8;
vals.distortion_k[4] = 0.7;
vals.aberration_k[0] = 0.999;
vals.aberration_k[1] = 1.008;
vals.aberration_k[2] = 1.018;
vals.scale = 1.2 * (1980 / 2.0f);
vals.viewport_size.x = (1980 / 2.0f);
vals.viewport_size.y = (1080);
vals.scale = 0.72 * (1920 / 2.0f);
vals.viewport_size.x = (1920 / 2.0f);
vals.viewport_size.y = (1020); // we don't have aspect ratio support for fov?, hack it here
vals.lens_center.x = vals.viewport_size.x / 2.0;
vals.lens_center.y = vals.viewport_size.y / 2.0;
......@@ -1091,8 +1091,8 @@ psvr_device_create(struct hid_device_info *hmd_handle_info,
info.display.h_meters = 0.07f;
info.lens_horizontal_separation_meters = 0.13f / 2.0f;
info.lens_vertical_position_meters = 0.07f / 2.0f;
info.views[0].fov = 85.0f * (M_PI / 180.0f);
info.views[1].fov = 85.0f * (M_PI / 180.0f);
info.views[0].fov = 88.0f * (M_PI / 180.0f);
info.views[1].fov = 88.0f * (M_PI / 180.0f);
if (!u_device_setup_split_side_by_side(&psvr->base, &info)) {
PSVR_ERROR(psvr, "Failed to setup basic device info");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment