Advertisement Jump to content
michaeldodis

OpenGL Circular "pie" immediate-mode GUI for games & tools

This topic is 412 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've started building a small library, that can render pie menu GUI in legacy opengl, planning to add some traditional elements of course.

It's interface is similar to something you'd see in IMGUI. It's written in C.

Early version of the library

I'd really love to hear anyone's thoughts on this, any suggestions on what features you'd want to see in a library like this? 

Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement
14 minutes ago, michaeldodis said:

I'd really love to hear anyone's thoughts on this, any suggestions on what features you'd want to see in a library like this? 

Tool tips, hierarchical menus, curved text? 

Personally, I'd want to see the rendering (GL code) separated out of the library and into a samples/examples folder. Any GUI lib that doesn't do this is unusable (sorry for the harsh words! :o). See Dear ImGui,, librocket, etc for one's that do. 

Another thing you could do is write a pie gizmo as an add on for Dear ImGui,. That would save you from having to write everything else. A kind of circular add on pack :) here's an example of someone else doing this: https://github.com/CedricGuillemet/ImGuizmo

Share this post


Link to post
Share on other sites
10 hours ago, Hodgman said:

Tool tips, hierarchical menus, curved text? 

Personally, I'd want to see the rendering (GL code) separated out of the library and into a samples/examples folder. Any GUI lib that doesn't do this is unusable (sorry for the harsh words! :o). See Dear ImGui,, librocket, etc for one's that do. 

Another thing you could do is write a pie gizmo as an add on for Dear ImGui,. That would save you from having to write everything else. A kind of circular add on pack  here's an example of someone else doing this: https://github.com/CedricGuillemet/ImGuizmo

Oh, so having the user provide the graphics back-end? I haven't really looked at most of the source code in IMGUI, but I did have a look at This library, which is practically the same, but header-only and in ANSI C. 

I'll try to adjust it so the GUI logic can be written separately from the rendering code.

Thanks for the suggestion man! 

Edited by michaeldodis

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!