Login  Register

Re: GLJPanel in Lion

Posted by rmnoon on Aug 14, 2011; 6:25pm
URL: https://forum.jogamp.org/GLJPanel-in-Lion-tp3250682p3254060.html

I'll try this when I get back to a computer, but shouldn't gl_FragCoord be in screen coordinates anyway, making the mv matrix irrelevant?

On Aug 14, 2011 2:07 PM, "Wade Walker [via jogamp]" <[hidden email]> wrote:
>
> You might print out the contents of the model view projection matrix that's visible inside the shader, to see if it's different in the GLCanvas and GLJPanel cases (and to see if it differs from the matrix you used for the GL_QUADs). If the matrix shows up different in the shader, it could be a driver bug is scrambling the matrix contents somehow. That might explain how GL_QUADs could look correct, but the shader could be wrong.
>
> Alternately, GLJPanel could somehow be changing the matrix between when you draw your GL_QUADs and when you invoke the shader. You could put breakpoints in GLJPanel.java to see if that's happening (you'd have to build JOGL to do that, though, since the default JOGL build doesn't contain debug information).
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://forum.jogamp.org/GLJPanel-in-Lion-tp3250682p3254015.html
> To unsubscribe from GLJPanel in Lion, click here.