Monado OpenXR Runtime
Loading...
Searching...
No Matches
u_panotools_values Struct Reference

Values to create a distortion mesh from panotools values. More...

#include <util/u_distortion_mesh.h>

Collaboration diagram for u_panotools_values:

Data Fields

float distortion_k [5]
 Panotools universal distortion k (reverse order from OpenHMD).
 
float aberration_k [3]
 Panotools post distortion scale, <r, g, b>.
 
float scale
 Panotools warp scale.
 
struct xrt_vec2 lens_center
 Center of the lens.
 
struct xrt_vec2 viewport_size
 Viewport size.
 

Detailed Description

Values to create a distortion mesh from panotools values.

Field Documentation

◆ aberration_k

float u_panotools_values::aberration_k[3]

Panotools post distortion scale, <r, g, b>.

Referenced by u_compute_distortion_panotools().

◆ distortion_k

float u_panotools_values::distortion_k[5]

Panotools universal distortion k (reverse order from OpenHMD).

Referenced by u_compute_distortion_panotools().

◆ lens_center

struct xrt_vec2 u_panotools_values::lens_center

Center of the lens.

Referenced by u_compute_distortion_panotools().

◆ scale

float u_panotools_values::scale

Panotools warp scale.

Referenced by u_compute_distortion_panotools().

◆ viewport_size

struct xrt_vec2 u_panotools_values::viewport_size

Viewport size.

Referenced by u_compute_distortion_panotools().


The documentation for this struct was generated from the following file: