Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IVRDisplayComponent::ComputeInverseDistortion use? #1813

Open
risa2000 opened this issue Jan 22, 2024 · 0 comments
Open

IVRDisplayComponent::ComputeInverseDistortion use? #1813

risa2000 opened this issue Jan 22, 2024 · 0 comments

Comments

@risa2000
Copy link

The latest release introduced a new function IVRDisplayComponent::ComputeInverseDistortion in the driver interface (

openvr/headers/openvr_driver.h

Lines 2900 to 2902 in f51d87e

/** Computes the result of the inverse distortion function for the specified eye, channel, and input UV.
* Operation can fail, returns success/failure, on success result is stored in *pResult */
virtual bool ComputeInverseDistortion( HmdVector2_t *pResult, EVREye eEye, uint32_t unChannel, float fU, float fV ) = 0;
).

My understanding is that this function is called by the runtime opportunistically to improve the inverse warping transformation.

  1. It seems that on my driver this function is not called. Are there some other conditions which must be met in order to have the runtime call it?

  2. What exactly is this function supposed to improve, or when is it advised to implement it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant