Difference between revisions of "Jogl Tutorial"

From JogampWiki
Jump to: navigation, search
(Hello Triangle)
Line 30: Line 30:
 
= Hello Triangle =
 
= Hello Triangle =
 
[https://github.com/elect86/jogl-samples/blob/master/jogl-samples/src/helloTriangle/HelloTriangle.java Simple sample] that features GL4, pure newt, glWindow options, animator, indexed drawing, dinamic attribute and frag data binding, interleaved data, vao, vbo (with normalization on one attribute), ibo (with shorts), uniform, glsl program (with specific suffix) and matrix jogl util, gl error check, key listener and right way to dispose.
 
[https://github.com/elect86/jogl-samples/blob/master/jogl-samples/src/helloTriangle/HelloTriangle.java Simple sample] that features GL4, pure newt, glWindow options, animator, indexed drawing, dinamic attribute and frag data binding, interleaved data, vao, vbo (with normalization on one attribute), ibo (with shorts), uniform, glsl program (with specific suffix) and matrix jogl util, gl error check, key listener and right way to dispose.
 +
 +
= Common Mistakes =
 +
I suggest you to take a read to these two pages for a quick overview over the most common problems, it is a very useful reading, legacy sections are carefully signaled.
 +
 +
[https://www.opengl.org/wiki/Common_Mistakes OpenGL]
 +
[https://www.opengl.org/wiki/GLSL_:_common_mistakes GLSL]
  
 
= Wade's JOGL tutorials =
 
= Wade's JOGL tutorials =

Revision as of 09:09, 7 August 2015

JogAmp's Static

JogAmp's Wiki

Hello Triangle

Simple sample that features GL4, pure newt, glWindow options, animator, indexed drawing, dinamic attribute and frag data binding, interleaved data, vao, vbo (with normalization on one attribute), ibo (with shorts), uniform, glsl program (with specific suffix) and matrix jogl util, gl error check, key listener and right way to dispose.

Common Mistakes

I suggest you to take a read to these two pages for a quick overview over the most common problems, it is a very useful reading, legacy sections are carefully signaled.

OpenGL GLSL

Wade's JOGL tutorials

Rami's JOGL tutorials

Justin's Getting Started with JOGL 2 Tutorials

Elect86's modern OpenGL examples

Nils Hoffmann's Netbeans Platform examples

Courses

LeoLoL.com Tutorials (Currently unreachable)

JOGL 1 tutorials

Ste3e's JOGL tutorials

(The old (not quite up-to-date) JOGL Userguide is currently available here)