Re: Flipped texture
Posted by
Michael Bien on
Jul 14, 2010; 4:19pm
URL: https://forum.jogamp.org/Flipped-texture-tp965264p966946.html
Hi Arthur,
are you using the TextureIO utilities?
TextureData and Texture have both isVerticallyFlipped() methods to
indicate if the texture needs to be flipped or not.
(don't ask me why it was introduced, TextureIO probably just reads
the file as is and writes it to the buffer)
@Sven ?
-michael
On 07/14/2010 03:54 AM, Arthur [via jogamp] wrote:
Hello all. I'm porting a piece of code from old JOGL to new JOGL
and all my textures are inverted. I have to change my texture
matrix to make it fit. And the textures applied on quadric sphere
(where texture matrix are autogenerated) cannot be fixed without
altering the texture itself.
What am I doing wrong ???
It look like the coordinate system was wrong or something.
Thanks for the help!