Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (789)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (864)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  How to start with OpenGL ?  (Read 6654 times)
0 Members and 1 Guest are viewing this topic.
Offline Andre Lopes
« Posted 2013-03-23 13:30:36 »

Hi Guys!
I want start studying openGL!

Im actually working on my 2D game and learning a lot of it... Also, learning AI.
But now, i finished the 2D part of "KIller game Programming book" and since the java3D is kinda dead and will be replaced by javafx 3D , i wont study it.

Anyway, i want study something else now,  i think openGL is a good thing.But i dont know how to start it.
I was checking the topics with resources but most books are deprecated or bad-spoke in amazon...
How did you guys learned it ?
I want a good Book to learn a lot of it...

For instance, this red book :
Check the comments, ppl are kinda raging...

And now , thios orange book will come..Should i buy it ?

Anyone have another book recomendation that is not that old or deprecated ... Can be something basic, at least for start... I have not a clue how to start with it.

Thanks guys!
Offline Andre Lopes
« Reply #1 - Posted 2013-03-23 15:02:06 »

I kept searching but , i have another thing to ask.

Does it matter if its for java or C++ or anything else? Or OpenGl Methods are almost the same in any Language ?
« Reply #2 - Posted 2013-03-23 15:20:11 »

For your 2nd question, I believe it is mostly the same. Most people who ask about learning opengl in java get told C tutorials or w/e will be fine. I think that JOGL and LWJGL all have mostly the same opengl commands, just a slightly different bit of setup/initialization code, nothing major though.

I will sya however that as a compeltely self taught (internet) programmer with no knowledge of any language but java I found it extremely difficult to learn from anything but java tutorials for opengl
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Andre Lopes
« Reply #3 - Posted 2013-03-23 15:54:42 »

Hi jester :p
I downloaded lwjgl - 2.8.5 , but now i need some guide... Not sure where to find.

Which API you think is more complete and updated frequently ? lwjgl or JOGL ?

Btw, your name reminds me of California games ( Mega Drive)
« Reply #4 - Posted 2013-03-23 16:28:32 »

loool I won't er, recommend either because a certain developer will literally jump me.

I'm not the best person to answer, but first step is
the basics under tutorials. will get you started with at least a shape. goodluck
Offline Andre Lopes
« Reply #5 - Posted 2013-03-23 16:32:14 »

Recommend either because a certain developer will literally jump me.

Does he have another API which is better ?
Im kinda new here , so,,, you gotta update me up LOl Tongue
Offline HeroesGraveDev

JGO Kernel

Medals: 382
Projects: 11
Exp: 4 years

┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻

« Reply #6 - Posted 2013-03-23 18:50:53 »

LWJGL is more popular on this forum.

I too, will make no comment on which is more maintained.

Offline ra4king

JGO Kernel

Medals: 508
Projects: 3
Exp: 5 years

I'm the King!

« Reply #7 - Posted 2013-03-23 19:01:48 »

I recommend LWJGL due to its awesome static API.

To learn OpenGL, here's a really good tutorial I recommend:
The code that goes along with it is in C++ so I ported it to Java+LWJGL:

Offline Sparky83

Senior Devvie

Medals: 6
Projects: 1

« Reply #8 - Posted 2013-03-23 19:29:39 »

Let me join the party of LWJGL users! I am totally happy with it! Smiley
Offline Andre Lopes
« Reply #9 - Posted 2013-03-25 15:46:16 »

Why the helpful comments are gone ?
I was going to check them... Weird.

Anyway, should i use Slick2D or simply start with LWJGL ?
If i use Slick2D, i need to learn LWJGL ?

What you guys recommend for me?
Im a begginner with games. What api should i use to start?
Im very, very noob with game programming. But i will put a lot effort into it, prommisse!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Andre Lopes
« Reply #10 - Posted 2013-03-25 16:02:41 »

Ok, i found the topic.
It seems , that because of the flame war, part of the topic was moved heheh.

Ok, i found this :

So , whats the road should i take?

Learn first LWJGL and then go for libgdx ?
Or go directly to libgdx?

What should i do ?
Offline Sparky83

Senior Devvie

Medals: 6
Projects: 1

« Reply #11 - Posted 2013-03-25 16:28:40 »

I will tell you what I would do if I were in your position and knew what I know now:
If I just wanted to start with game programming right away, I would definitly use LibGDX, because once set up (which is fairly easy thanks to the setup tool) you can read some tutorial and start right away. And there is a nice and often copied tutorial featuring a bucket and a raindrop. This might be perfect for you to start with:

This is just a hint. You don't need to do it this way. Of course, learning OpenGL (doesn't matter if JogAmp/JOGL or LWJGL) would help you, to better understand everything, but it is some hard work and might not help you that much depending on what you want to achieve.
Offline davedes
« Reply #12 - Posted 2013-03-25 16:45:19 »

If your main goal is to learn game programming, then LibGDX is the best choice.

If your main goal is to learn graphics programming and OpenGL, then LibGDX is still a good choice. At its core, it's essentially just another OpenGL wrapper, like LWJGL, but with added utilities (shader compilation, image decoding, vector math, etc). It lets you jump into the important concepts, like writing GLSL or working with vertex data, without having to write hundreds of lines of boilerplate.

The most important "modern OpenGL" concepts to learn first, in my opinion, are Textures and shaders. Once you understand these, the rest of the pipeline will begin to make more sense. I'd suggest reading through some of my tutorials, and following along either with LibGDX or the lwjgl-basics API:

OpenGL, GLSL and LibGDX Tutorials

This will let you learn the concepts without dealing with boilerplate like VBOs and shader utilities. If at a later point you feel compelled to "reinvent the wheel," you can get down to the wire with LWJGL and write your own VBO/texture/shader/etc utilities.

Offline Andre Lopes
« Reply #13 - Posted 2013-03-25 16:46:47 »

Thanks Guys!
I will print those two Tutorials and make a little Book for me to study.
Does that sound a good Plan ?

Offline PeterNicholson

Senior Devvie

Medals: 3
Projects: 1

« Reply #14 - Posted 2013-03-25 16:51:04 »

Yes, good idea, if You have got enough ink  Roll Eyes Also, try reading up The Coding Universe , he has got some goot tuts.
Pages: [1]
  ignore  |  Print  

hadezbladez (2595 views)
2018-11-16 13:46:03

hadezbladez (928 views)
2018-11-16 13:41:33

hadezbladez (2550 views)
2018-11-16 13:35:35

hadezbladez (499 views)
2018-11-16 13:32:03

EgonOlsen (3675 views)
2018-06-10 19:43:48

EgonOlsen (4028 views)
2018-06-10 19:43:44

EgonOlsen (2439 views)
2018-06-10 19:43:20

DesertCoockie (3246 views)
2018-05-13 18:23:11

nelsongames (3292 views)
2018-04-24 18:15:36

nelsongames (4262 views)
2018-04-24 18:14:32
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!