site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com On Nov 18, 2008, at 11:22 AM, Stonewall Ballard wrote: On Nov 18, 2008, at 1:02 PM, Darrin Cardani wrote: Darrin -- Darrin Cardani dcardani@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... Bummer. So you're getting a bitmap and then asking Quartz to draw into it, right? One option would be to tell the host you want a texture, and then download the texture yourself. You can either tell OpenGL to give it to you in the correct order, or you can write a short fragment program to swizzle the color channels before downloading it. That's an interesting idea, but won't I lose resolution in the floats that way? You shouldn't if you ask for 32-bit floats (as opposed to 16-bit half- floats). In your call to glReadPixels (or similar methods), I think you want to give a format of GL_FLOAT. Are you concerned that some older cards use 24-bit floats? On those machines, even if you have a software filter, I believe that we're getting the input image data from the card anyway, so it would still be at that resolution regardless of whether you tell the app to give you a texture or a bitmap. This email sent to site_archiver@lists.apple.com