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

Remove incorrect and un-necessary flipping of Y center of projection … #373

Merged
merged 3 commits into from
May 15, 2019

Conversation

russell-taylor
Copy link
Contributor

…for distortion correction when harnessing an OpenGL renderer to a Direct3D DirectMode renderer.

This was scaling by the D factor, which it should not have been. It also did not need to be done at all; apparently the buffer flipping elsewhere in the system takes care of this properly without requiring flipping of the COP here.

Validated this using OpenGL and OpenGL/Direct3D displays, one on the monitor and one on a DK2.

…for distortion correction when harnessing an OpenGL renderer to a Direct3D DirectMode renderer.
@russell-taylor
Copy link
Contributor Author

This fixes #323

… later so is not needed here, and the effects on the Y axis have to take into account when we flip Y. Just doing this single change in this commit.
@russell-taylor russell-taylor merged commit 3dbc10f into sensics:master May 15, 2019
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

Successfully merging this pull request may close these issues.

1 participant