Login  Register

Re: Avoid flipping in AWTTextureIO

Posted by gouessej on Dec 17, 2014; 9:11am
URL: https://forum.jogamp.org/Avoid-flipping-in-AWTTextureIO-tp4033770p4033771.html

Hi

I had the same kind of trouble when I ported the alpha version of my game to JOGL 2. mustFlipVertically is an hint used by the Texture class. If you use TextureData without Texture, you have to look at the hint to decide whether flipping the texture coordinates or the data. I flip the data in JogAmp's Ardor3D Continuation, feel free to look at my code.
Julien Gouesse | Personal blog | Website