CedricGuillemet / ImGuizmo

Immediate mode 3D gizmo for scene editing and other controls based on Dear Imgui
MIT License
3.14k stars 883 forks source link

it's possible to draw the ImGuizmo grid behind the other stuff? #292

Open asu4net opened 1 year ago

asu4net commented 1 year ago

I would like to draw the grid behind all my geometry....

image

CedricGuillemet commented 1 year ago

yes It should. But I would suggest to use your own grid rendering and not the example one provided with ImGuizmo sample.

asu4net commented 1 year ago

So how do I achieve that? Is there any configuration? I would prefer to use the sample until I write my own

CedricGuillemet commented 1 year ago

no, there is no configuration for that. it's meant to be used as an example, only. hacking rendering of the grid will have an impact on gizmo rendering as well. please write your own grid rendering.