vsgImGui refactor adds ImGui texture support, MSAA and update to ImGui v189.4 #759
vsg-dev
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have just merge a refactor of vsgImGui with master that improves it's capabilities and flexibility, the head line changes are:
The changes made to vsgImgui are: vsg-dev/vsgImGui#47
To test out the new capabilities and to illustrate how to use the new vsg::Command subclass approach the vsgimgui_example has been updated to include:
The changes to vsgExaples are: vsg-dev/vsgExamples#218
When you run:
vsgimgui_example models/openstreetmap.vsgt
You should now see:
Thanks to @timoore for providing the initial ImGui texturing support, this spurred the refactor of vsgImGui to make it more flexible.
I'm now feel that vsgImGui is getting close to a functional enough state to tag it's 1.0.0. I'm not yet happy with the large pre-allocation of descriptors/set pool sizes just "in case" they might be needed so that's something I want to revisit.
The vsgImGui::Texture example in vsgimgui_example is geared around a static vsg::Data, but I think it should also work for dynamic vsg::Data, and should be adaptable to use a user defined vsgImGui::Texture::descriptorSet which I'm hoping should make rendering texture possible - i.e. you render a 3d scene to image that you then define a descriptorSet for so it can be used on the ImGui side. I think these two usage cases would make great dedicated examples to sit alongside the present vsgimgui_example, so if members want a challenge for themselves please jump in :-)
Beta Was this translation helpful? Give feedback.
All reactions