Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (577)
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  
  learning modern opengl  (Read 784 times)
0 Members and 1 Guest are viewing this topic.
Offline AppleSauce
« Posted 2014-05-21 11:43:27 »

I learned basic rendering and such with lwjgl. Someone tried explaining  VBO and how it's modern. To learn modern what should i use?
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 816
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #1 - Posted 2014-05-21 12:10:59 »

LibGDX and Google?

Any specific question? What did you attempt yet? What problems did you run into?

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline pjt33
« Reply #2 - Posted 2014-05-21 12:58:15 »

Haven't read it myself, but I saw http://www.opengl-tutorial.org/ recommended recently.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline AppleSauce
« Reply #3 - Posted 2014-05-21 16:11:28 »

LibGDX and Google?

Any specific question? What did you attempt yet? What problems did you run into?

No problems, I'm just asking for suggestions.
Offline AppleSauce
« Reply #4 - Posted 2014-05-24 15:10:37 »

Someone explained how I'm using an older version of OpenGL GL11. I don't have any books yet, but how would I go on basic lighting?

I initialized my enables
1  
2  
3  
glEnable(GL_LIGHTING);
      glEnable(GL_LIGHT0);
      glEnable(GL_COLOR_MATERIAL);


Then I Tried to draw A texture
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
glClearDepth(1);;
     
      glColor3f(0, 1, 3);
         glBegin(GL_QUADS);
            glTexCoord2f(0,0);
            glVertex2f(100, 100);
            glTexCoord2f(1, 0)
            ;glVertex2f(150, 100);
            glTexCoord2f(1, 1);
            glVertex2f(150, 150);
            glTexCoord2f(0, 1);
            glVertex2f(100, 150);
         glEnd();


All It did was color my Texture in green.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 816
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #5 - Posted 2014-05-24 15:19:16 »

Google: OpenGL lighting normals

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline AppleSauce
« Reply #6 - Posted 2014-05-24 20:11:56 »

Is lighting taught in GL11? I don't know where the heck to learn GL3 and 4 besides the superbible.
Offline SHC
« Reply #7 - Posted 2014-05-25 08:31:17 »

I'm writing tutorials for LWJGL using OpenGL 3.3. They are not complete at the moment but enough for starting. They are here at

LWJGL Tutorial Series  Pointing

Offline StumpyStrust
« Reply #8 - Posted 2014-05-25 09:09:30 »

Doing your google search for you I found these two links

http://www.arcsynthesis.org/gltut/

http://www.opengl-tutorial.org/

I have gone through a bit on the first. There are some better ones I think out there but understand that very little code is in java. I think someone on here as ported one of the tutorial series maybe he will drop a link. 

Offline trollwarrior1
« Reply #9 - Posted 2014-05-25 09:43:53 »

Here are the basics of lighting.

http://www.lighthouse3d.com/opengl/glsl/
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline AppleSauce
« Reply #10 - Posted 2014-05-26 03:30:18 »

I'm writing tutorials for LWJGL using OpenGL 3.3. They are not complete at the moment but enough for starting. They are here at

LWJGL Tutorial Series  Pointing

Is the site down? It doesn't connect me to it.
Offline SHC
« Reply #11 - Posted 2014-05-26 04:38:18 »

Is the site down? It doesn't connect me to it.

I was doing some maintenance. It should be working now.

Pages: [1]
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (49 views)
2014-10-17 03:59:02

Norakomi (38 views)
2014-10-16 15:22:06

Norakomi (31 views)
2014-10-16 15:20:20

lcass (34 views)
2014-10-15 16:18:58

TehJavaDev (65 views)
2014-10-14 00:39:48

TehJavaDev (65 views)
2014-10-14 00:35:47

TehJavaDev (54 views)
2014-10-14 00:32:37

BurntPizza (72 views)
2014-10-11 23:24:42

BurntPizza (43 views)
2014-10-11 23:10:45

BurntPizza (84 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org 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‑gaming.org
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!