ImGuizmo icon indicating copy to clipboard operation
ImGuizmo copied to clipboard

Doesn't work properly with orthographic projections

Open aliasbinman opened this issue 7 years ago • 5 comments

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 avatar Jul 24 '17 19:07 aliasbinman

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.

aliasbinman avatar Jul 25 '17 17:07 aliasbinman

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

davidnr avatar Dec 26 '17 11:12 davidnr

Hi do you have detail-description or source about this

FarawayRay avatar Apr 25 '19 04:04 FarawayRay

Any updates?

MohammadMDSA avatar Jan 30 '23 07:01 MohammadMDSA

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.

crud89 avatar Aug 21 '24 12:08 crud89