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

Display all warpy and weird (weird distortion correction) #43

Open
Joemongus6969 opened this issue Oct 16, 2021 · 3 comments
Open

Display all warpy and weird (weird distortion correction) #43

Joemongus6969 opened this issue Oct 16, 2021 · 3 comments

Comments

@Joemongus6969
Copy link

My headset display is a little weird looking, kinda like how the display mirroring of old oculus headsets would look on a video or something, but in the headset.

after playing with the distortion correction settings in rift.c (in src/drv_oculus_rift) around line 1233 it looks a little better, to the point where it's usable, but it's not perfect. I have no idea how to measure this, so I can't really make it perfect (not to mention how I barely understand what is going on there).

if anyone else is having this problem, I'd recommend you try this, it will probably give you better results than you had before. if anyone knows how to measure and better configure this stuff, please type it in the comments.

@thaytan
Copy link
Owner

thaytan commented Oct 17, 2021

The distortion parameters that are in there are ones I measured on my headset fairly recently (#22). I thought my measurements were better for everyone, but it seems not.

Which values have you found work better for you?

@Joemongus6969
Copy link
Author

I'm still playing with it, I can only do it so often because I find it very nauseating. I've been trying to figure out what all the values do, for instance; I've found the first value changes the distance of the virtual screen, but I'm not sure what the other three do.

@thaytan
Copy link
Owner

thaytan commented Oct 17, 2021

There's nothing so straightforward about the parameters. They are coefficients of a polynomial that defines a distortion curve - https://wiki.panotools.org/Lens_correction_model

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

2 participants