LWJGL
May 23, 2013, 09:40:33 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: OpenGL versions - I'm very confused with all them  (Read 816 times)
afonsolage
Newbie
*
Posts: 1


« on: July 17, 2012, 09:53:34 »

Greetings  Grin,

I'm starting with OpenGL developing and after many search I found that LWJGL is the best option for me. I have experience in game programming but using high-end engines, and now I want to do all by my self.

So after reading many tutorials on internet I got a big confusion on my mind. I know that I can use any OpenGL version avaliable with LWJGL, just typing the static class (GL11, GL15, GL20, etc). But can I mix all them with no problem??

I know that I want to use VAO e VBO to build vectors, instead of glVector3f, but this is avaliable only after GL32.

So to resume my question:

I can mix all OpenGL versions in the same program?? How I can know witch version to use or when? When to use VAO or glVector3f?....i'm very confused with this  Huh

At least I can try to build my game only using GL11, but I think this is so deprecated  Undecided

Thx for your attention.

Best regards,

Afonso Lage.

Logged
Klemss
Newbie
*
Posts: 8


« Reply #1 on: July 17, 2012, 15:22:42 »

You can make your game using any static class.
I think (I'm not sure, I'm just a beginner) the different static classes are only here to show the new features of a version. You can still use any versions, as long as your GPU support it. My current GPU doesn't support above 2.1, for instance.

My code mixe a lot of different versions without any problems.
Logged
Evil-Devil
Prolific Timewaster
****
Posts: 298



WWW
« Reply #2 on: July 18, 2012, 06:56:52 »

You can mix them all as long as the user does have support for it.
For example the users graphiccard does support OpenGL 2.1, then you may use everything up to GL21 and if supported specific vendor extensions. But you should check for their support first.

On the other side, when you have a really old card or limited support you may end up with GL11 only Wink
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!