Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

ImGuizmo

ImGuizmo: 3D gizmos to move, rotate and scale an object, a cube to orient the view, and small editors (curves, gradients, a sequencer).

The gizmo edits 4x4 matrices: im_guizmo.manipulate(view, projection, operation, mode, object_matrix) changes the object’s matrix when the user drags the gizmo.

Upstream repository · The book’s page

Modules

In imgui_bundle (from imgui_bundle import imguizmo):

Demos using it

The demos of the catalog that use it (the pictures link to their code and to the playground).

ImGuizmo: a 3D gizmo

ImGuizmo: a 3D gizmo

Move, rotate and scale cubes with a gizmo, as in a 3D editor.

More

Pick the operation and the mode (local or world) in the editor panel, drag the gizmo’s handles, and turn the view with the cube at the top right corner. The gizmo is ImGuizmo; the camera matrices are a few lines of plain Python.

Uses: ImGuizmo

Python: ▶︎ Run · Code
C++: ▶︎ Run · Code