ImGuizmo icon indicating copy to clipboard operation
ImGuizmo copied to clipboard

Support for infinite depth?

Open DethRaid opened this issue 9 months ago • 1 comments

Hello, I'm working on integrating ImGuizmo into my engine to let me manipulate scene objects. I've just spent two days pulling my hair out because I'm using an infinite-depth projection matrix, but ImGuizmo doesn't seem to support that - it produces NaN for the camera ray in the function ComputeCameraRay

My request is that could the documentation be updated to specify that ImGuizmo needs a finite projection matrix? Better documentation of this limitation would have saved me a ton of trouble. Just, anything to indicate that an infinite projection matrix isn't supported

DethRaid avatar Jul 20 '25 20:07 DethRaid

Hi @DethRaid , sorry for the time you've spent. Please open a PR with the information relevant to you in the readme. Also, why not doing a change to support infinite plane?

CedricGuillemet avatar Jul 21 '25 09:07 CedricGuillemet