View Full Version : OpenGL menu plese help!

02-23-2011, 09:18 PM
Hello everyone, im new to openGL, i created a main menu for my test program using glutCreateMenu , im able to rotate, stop rotate and so on using menu, but how can i switch shapes with menu, is it possible to create 4 menu entries and switch shapes back and forth using menu? please help :(

02-23-2011, 10:27 PM
Check this: http://www.lighthouse3d.com/opengl/glut/index.php?10
And these threads.
http://www.opengl.org/discussion_boards/...true#Post290677 (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=290677&Searchpa ge=1&Main=56070&Words=glutCreateMenu&Search=true#P ost290677)
http://www.opengl.org/discussion_boards/...true#Post289905 (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=289905&Searchpa ge=1&Main=55974&Words=glutCreateMenu&Search=true#P ost289905)

02-24-2011, 08:32 PM
Thank you so much bro, your first thread answered my question! :)