Re: ? JOGL Rendering Issues - Different for v1.1.1 and v2.0 and with Laptop docked vs not ?
Posted by Z-Knight on Mar 10, 2016; 8:05pm
URL: https://forum.jogamp.org/JOGL-Rendering-Issues-Different-for-v1-1-1-and-v2-0-and-with-Laptop-docked-vs-not-tp4036458p4036465.html
It has taken some time to do the conversion from JOGL v2.0 to v2.3.2 due to imports changing and I lost GLPbuffer, so had to comment that out for now.
Then I had issues with my clip distances - so it might be the cause. I just can't dial them in right now to get things to work. I may have had to big of a ratio of far/near before but no matter what I try now it still is screwy. And now I get the same effect even in docked mode.
EDIT: it just has to be the clip distances that I pass to gluPerspective(). I tested by adjusting them manually and I just need to play with the numbers to get it to work, but it looks like that was the culprit. It seems like the latest JOGL has some good error checking that v1.1.1 didn't have so it has helped me find this problem. Good job.
btw, any suggestion on how to replace the GLPbuffer? It was still available in version 2.0, but now in 2.3.2 the GLDrawableFactory has the 'canCreateGLPbuffer' test - although different inputs now. But there is no factory.createGLPbuffer() method, is that still available somewhere?