Login  Register

Re: flipping textures with awtTextureIO?

Posted by imakerobots on Nov 23, 2023; 6:44pm
URL: https://forum.jogamp.org/flipping-textures-with-awtTextureIO-tp4043152p4043153.html

OpenGLTestMinimal.java

OpenGLTestMinimal opens a bare-bones OpenGL window.

CompareLoadMethods.java
viewCube.png

CompareLoadMethods adds a button that invokes a comparison of the results TextureIO.newTexture and BufferedImageToTexture method (see previous post in this thread).  It loads viewCube.png

Opening the temp files created by these methods shows the second image is upside down.  I hope this is enough of a minimal test.