Jump to content
  • Advertisement
michaeldodis

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!