Login  Register

Re: JOGL2 + OpenGL 3.3

Posted by dbzk on May 08, 2013; 9:25pm
URL: https://forum.jogamp.org/JOGL2-OpenGL-3-3-tp4029102p4029114.html

I have found why my program doesn't works

There are 2 errors in my code:
* the reshape method is not implemented
* the expected size of the array which contains the vertex of the triangle is in bytes, not the number of elements of the array

I have added the fixed version of the program.
JOGL2NewtOpenGL33Fixed.java

Thank you swilson007, your example helped me a lot

Thanks to the JOGL team for your really good job!