Feature Requests item #2844090, was opened at 2009-08-25 09:59 Message generated for change (Comment added) made by zmoelnig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=507082&aid=2844090...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: image processing Group: None Status: Open Priority: 5 Private: No Submitted By: IOhannes m zmlnig (zmoelnig) Assigned to: IOhannes m zmlnig (zmoelnig) Summary: get rid of upside down images
Initial Comment: for performance reasons, Gem handles images with the origin in the lower-left corner (standard openGL image orientation) and images originating in the upper-left corner (standard for most(?) video codecs).
this makes code unnecessarily complicated, as textuing has to take care of both types of images.
since most video-decoding and -capturing APIs will naturally (for performance reasons) return images originiating in the upper-left corner, it would be good to make this the default orientation and get rid of standard-openGL-originating images alltogether.
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2010-01-26 16:23
Message: all the pix-acquisition is now done in topleft orientation.
still looking for a way to deal with readback of textures/framebuffers: http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Numb...
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2009-08-25 10:01
Message: the only problem i can see with getting rid of standard-openGL-orientation is when it comes to dealing with generated textures ([pix_snap], [pix_snap2tex], [gemframebuffer])
there must be some way to rotate these on the GPU...
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=507082&aid=2844090...