Monado OpenXR Runtime
|
These are the values that you need to supply to the distortion code to setup a u_cardboard_distortion properly. More...
#include <util/u_distortion.h>
Data Fields | |
float | distortion_k [5] |
struct { | |
uint32_t w_pixels | |
uint32_t h_pixels | |
float w_meters | |
float h_meters | |
} | screen |
float | inter_lens_distance_meters |
Distances between the lenses in meters. More... | |
float | lens_y_center_on_screen_meters |
Where on the y axis the center of the lens is on the screen. More... | |
float | screen_to_lens_distance_meters |
The distance to the lens from the screen, used to calculate calculate tanangle of various distances on the screen. More... | |
struct xrt_fov | fov |
Fov values that the cardboard configuration has given us. More... | |
These are the values that you need to supply to the distortion code to setup a u_cardboard_distortion properly.
struct xrt_fov u_cardboard_distortion_arguments::fov |
Fov values that the cardboard configuration has given us.
float u_cardboard_distortion_arguments::inter_lens_distance_meters |
Distances between the lenses in meters.
float u_cardboard_distortion_arguments::lens_y_center_on_screen_meters |
Where on the y axis the center of the lens is on the screen.
float u_cardboard_distortion_arguments::screen_to_lens_distance_meters |
The distance to the lens from the screen, used to calculate calculate tanangle of various distances on the screen.