Jump to content

  • Log In with Google      Sign In   
  • Create Account

Menu system using Open GL


Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
6 replies to this topic

#1   Members   

122
Like
Likes
Like

Posted 04 September 2001 - 05:53 PM

Hello everyone, I just had a basic question. What would be the easiest way to make a game menu system for use with Open GL? Something a long the lines of SOF, Unreal, or something like that. If I was using Direct X I would just use Direct Draw. Because OpenGL has no 2d support what would be the easiest way to impliment a basic game menu. Thank you.

#2   Members   

138
Like
Likes
Like

Posted 04 September 2001 - 06:14 PM

Look into glOrtho or something like that, it lets you setup a 2D orthogonal view so you can work in 2d. Its perfect for creating a menu system.



#3   Members   

124
Like
Likes
Like

Posted 04 September 2001 - 06:17 PM

OpenGL DOES have 2D support...
I think researching into the matter a bit more might help you to discover some answers

#4   Members   

142
Like
Likes
Like

Posted 05 September 2001 - 09:18 AM

Use textured quads in ortho mode without depth testing. That''s how most games do it.

#5   Members   

122
Like
Likes
Like

Posted 06 September 2001 - 03:36 AM

Thanks everyone. I''ll look int using the ortho mode in OpenGL.

#6   Members   

122
Like
Likes
Like

Posted 08 September 2001 - 08:17 PM

I''ll suggest you another alternative: add SDL library to you project (http://www.libsdl.org). You can use the SDL_OPENGLBLIT
mode to have both 2d and 3d graphic using opengl. More than that, there are many GUI creation libraries developed using
opengl and SDL (look on the libarries page on the web site).

Hope this helps.

Bye,


__
Fabio "''''- nowDruid" Franchello
---''''--------
-- snowdruid@libero.it --

#7   Members   

124
Like
Likes
Like

Posted 08 September 2001 - 09:14 PM

Umm you can do 2D and 3D together in OpenGL very easily without SDL anyway




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.