opengl window with panels and buttons

I have created openGL  window using GLUT in VC++ console win32 application, but I want to add panel and push buttons to it........ I have read about GLUI ...is there any other way to solve problem...for example QT buttons

jsbsudhaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ikeworkCommented:
>> I want to add panel and push buttons

have a look at the examples shipped with the library .. particulary look at example5.cpp. there is a checkbox added to the panel. the same with a button should be something like the attached code below

>> for example QT buttons

you can use qt, but why did you choose GLUI then, it is excactly for that purpose?


ike

  GLUI_Panel *obj_panel;
  // add panel
  obj_panel = glui->add_rollout( "Properties", false );
 
  // add button to panel
  GLUI_Button *button;
  button = glui->add_button_to_panel( obj_panel, "Wireframe" );

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jsbsudhaAuthor Commented:
I have to rethink about what to use..... whether QT or GLUI.....
which is best to create 3D graphics whether QT or GLUI
mean while now we want to use WPF in C#....
0
ikeworkCommented:
>> which is best to create 3D graphics whether QT or GLUI

well .. you dont create 3D graphics with the GUI-toolkit, you create it with opengl or directx.
so the gui toolkit does not matter .. choose the one you like most ..
Qt has a good OpenGL-integration and it is a multiplatform-library .. so you can run your code on linux, windows, mac .. but i guess GLUI is as well ..
but on the other hand qt became very big .. but that depends on your project. if you have a lot of gui, qt might help you a lot, since it has a gui-designer, where you can make the layout for your windows in a wysiwyg-like application, then it gets exported in xml and you load it very easy at runtime ..

what sort of application are you developing .. a demo .. a commercial application?

0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

jsbsudhaAuthor Commented:
displaying 3D pipes from the database
0
ikeworkCommented:
a lot of defferent windows or just one main-window?
0
ikeworkCommented:
read:

a lot of different GUI-windows or just one GUI-window?
0
jsbsudhaAuthor Commented:
just a openGL window and a panel inside the window contains some buttons ,textboxes ,checkboxes and datagrid...................
0
ikeworkCommented:
well then qt might be too much .. even though it has database-classes which might be interesting for you ..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Game Programming

From novice to tech pro — start learning today.