move ImGuizmo tutorial into plugin; simplify and isolate#1618
move ImGuizmo tutorial into plugin; simplify and isolate#1618alecjacobson merged 1 commit intomasterfrom
Conversation
|
ImGuizmo doesn't appear support multiple guizmos so the issue above is moot (still think the plugin predraw/postdraw could be an issue, but I'll just leave it crossed out here for reference in case I forget this and find it later). As far as ImGuizmos, if the caller wants to use the guizmo for different things then they need to handle the logic for that. |
Much of the ImGuizmo functionality was in the tutorial code. This moves it into a minimal reusable Viewer plugin. Along the way it fixes some important bugs with how the imguizmo displayed on models that don't fit in the unit cube.
The tutorial is updated to be much more minimal and in the style of the other tutorials.
Check all that apply (change to
[x])