Re: GLReadBufferUtil.readPixel changed orientation?
Posted by
Sven Gothel on
URL: https://forum.jogamp.org/GLReadBufferUtil-readPixel-changed-orientation-tp4033366p4033381.html
On 10/16/2014 10:46 AM, Martin [via jogamp] wrote:
> Recently = yesterday evening :)
>
> I still don't understand as the caller code did not changed since at least
> september 2013 and was working properly.
And I doubt we changed anything regarding vertical flipping here.
Maybe some sideeffect of the GLDrawable vertical orientation ?
But this is just a wild guess ..
>
> Thanks for mentioning AWTGLReadBufferUtil, it will be very usefull in jzy3d.
You are very welcome.
You may also look at GLJPanel's OffscreenBackend,
which uses quite some nice 'hacks' to utilize
one BufferedImage in native PixelFormat etc etc
~Sven
>
> Martin