Login  Register

Re: JOGL2 + OpenGL 3.3

Posted by Sven Gothel on May 07, 2013; 8:05am
URL: https://forum.jogamp.org/JOGL2-OpenGL-3-3-tp4029102p4029108.html

On 05/07/2013 02:39 AM, swilson007 [via jogamp] wrote:

> Don't know if this helps you, but if you want a quick working example of
> GL3/GLSL15, I just ported the example over at:
> http://www.lighthouse3d.com/cg-topics/code-samples/opengl-3-3-glsl-1-5-sample/
>
> It's in the comment section after the c++ example code.  
>
> It works using pure GL3 (no backwards compatibility required)...  Note there's
> a small bug in that if your shader or program has a compile error it won't
> print anything out.
>
> OK I just uploaded it including the vert and frag shaders.
> GL3Sample.zip <http://forum.jogamp.org/file/n4029105/GL3Sample.zip>
Nice, if it's a simple demo, maybe we can add this as a unit test in JOGL
in our GL3 test package:
  com.jogamp.opengl.test.junit.jogl.demos.gl3

Pull requests welcome!

~Sven




signature.asc (911 bytes) Download Attachment