Monado OpenXR Runtime
|
The compositor compute based rendering code. More...
Functions | |
static void | calc_projection (const struct xrt_fov *fov, struct xrt_matrix_4x4_f64 *result) |
Create a simplified projection matrix for timewarp. More... | |
void | render_calc_time_warp_matrix (const struct xrt_pose *src_pose, const struct xrt_fov *src_fov, const struct xrt_pose *new_pose, struct xrt_matrix_4x4 *matrix) |
Calculates a timewarp matrix which takes in NDC coords and gives out results in [-1, 1] space that needs a perspective divide. More... | |
void | render_calc_uv_to_tangent_lengths_rect (const struct xrt_fov *fov, struct xrt_normalized_rect *out_rect) |
This function constructs a transformation in the form of a normalized rect that lets you go from a UV coordinate on a projection plane to the a point on the tangent plane. More... | |
The compositor compute based rendering code.
|
static |
Create a simplified projection matrix for timewarp.
Referenced by render_calc_time_warp_matrix().