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

Doesn't work properly with orthographic projections #26

Open
aliasbinman opened this issue Jul 24, 2017 · 5 comments
Open

Doesn't work properly with orthographic projections #26

aliasbinman opened this issue Jul 24, 2017 · 5 comments

Comments

@aliasbinman
Copy link

Currently the drawing is tied directly to the input projection matrix. If you input an orthographic projection then often the widget drawing is tiny.

@aliasbinman
Copy link
Author

I have a fix for this. I factor in the projection[0][0] into the gContext.mScreenFactor computation. I will set up a PR for this.

@davidnr
Copy link

davidnr commented Dec 26, 2017

Hi,
I'm hitting this issue as well. Any news on the PR ?
It would be a great addition.

@FarawayRay
Copy link

Hi
do you have detail-description or source about this

@MohammadMDSA
Copy link

Any updates?

@crud89
Copy link

crud89 commented Aug 21, 2024

This appears to be fixed (at least) in the current development branch, but you have to call ImGuizmo::SetOrthographic(true); before BeginFrame. I can't tell which commit fixed this, though.

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

5 participants